From 8e1e2e1e2e5b346062e87b7b8401baece8f379a4 Mon Sep 17 00:00:00 2001 From: Stas Vilchik Date: Tue, 15 Nov 2016 15:25:53 +0100 Subject: [PATCH] SONAR-8367 The "Apply Template" button should be displayed only to system administrators --- .../permissions/project/components/PageHeader.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) 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')} -- 2.39.5