diff options
author | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-16 20:20:23 +0200 |
---|---|---|
committer | Bernhard Posselt <nukeawhale@gmail.com> | 2013-09-16 20:20:23 +0200 |
commit | d9f1aca951fb83d870d8abbcc30244441dd2a442 (patch) | |
tree | 2e502a1e7de92141394563aea9842c4fdc47e146 /js/app/controllers/feedcontroller.coffee | |
parent | 2937a633de8f54d0f5f20f8ced6e8914da40d312 (diff) |
version bump1.603
Diffstat (limited to 'js/app/controllers/feedcontroller.coffee')
-rw-r--r-- | js/app/controllers/feedcontroller.coffee | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/js/app/controllers/feedcontroller.coffee b/js/app/controllers/feedcontroller.coffee index 07fb22238..6ccc494fa 100644 --- a/js/app/controllers/feedcontroller.coffee +++ b/js/app/controllers/feedcontroller.coffee @@ -54,11 +54,16 @@ ActiveFeed, FeedType, $window) -> # dont do this for other dom elements # the title is some kind of exception since its always there # and it has nothing to do with the body structure + if @_$scope.translations and @_$scope.translations.appName + appName = @_$scope.translations.appName + else + appName = '' + if count > 0 titleCount = @_unreadCountFormatter(count) - title = @_$scope.translations.appName + ' (' + titleCount + ') | ownCloud' + title = appName + ' (' + titleCount + ') | ownCloud' else - title = @_$scope.translations.appName + ' | ownCloud' + title = appName + ' | ownCloud' # only update title when it changed to prevent highlighting the # tab |