From: Stas Vilchik Date: Tue, 15 Nov 2016 14:25:53 +0000 (+0100) Subject: SONAR-8367 The "Apply Template" button should be displayed only to system administrators X-Git-Tag: 6.2-RC1~85 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=8e1e2e1e2e5b346062e87b7b8401baece8f379a4;p=sonarqube.git SONAR-8367 The "Apply Template" button should be displayed only to system administrators --- diff --git a/server/sonar-web/src/main/js/apps/permissions/project/components/PageHeader.js b/server/sonar-web/src/main/js/apps/permissions/project/components/PageHeader.js index 39fcaa5e925..db60031625d 100644 --- a/server/sonar-web/src/main/js/apps/permissions/project/components/PageHeader.js +++ b/server/sonar-web/src/main/js/apps/permissions/project/components/PageHeader.js @@ -59,13 +59,13 @@ class PageHeader extends React.Component { )} -
- -
+ {!!window.SS.isUserAdmin && ( +
+ +
+ )}
{translate('roles.page.description2')}