@ -45,7 +45,7 @@ function WorkPackageViewButtonController($scope, $state, $location) {
};
$scope.label = $scope.getActivationActionLabel(!$scope.isShowViewActive())
+ ' ' + I18n.t('js.button_show_view');
+ I18n.t('js.button_show_view');
if ($scope.isShowViewActive()) {
$scope.accessKey = 9;
@ -55,7 +55,7 @@ module.exports = function($scope, $state, $stateParams, QueryService, PathHelper
$scope.getActivationActionLabel = function(activate) {
return (activate) ? I18n.t('js.label_activate') : '';
return (activate) ? I18n.t('js.label_activate') + ' ' : '';
$rootScope.$broadcast('openproject.layout.activateMenuItem');