Remove empty space of activation label

pull/3941/head
Alex Dik 9 years ago
parent de9c4c1e03
commit 4fb6d3a158
  1. 2
      frontend/app/components/wp-buttons/view-button/view-button.directive.js
  2. 2
      frontend/app/work_packages/controllers/work-packages-controller.js

@ -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');
};

Loading…
Cancel
Save