[Backport] Hide burndown graph placeholder if the user is not an admin of the project

stable
David Barragán Merino 2016-02-20 11:32:39 +01:00 committed by Alejandro Alonso
parent dda3f3f060
commit 6d24db1ad8
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ div.wrapper(tg-backlog, ng-controller="BacklogController as ctrl",
div.backlog-summary(tg-toggle-burndown-visibility)
include ../includes/components/summary
div.empty-burndown(ng-if="showGraphPlaceholder")
div.empty-burndown(ng-if="showGraphPlaceholder && project.i_am_owner")
div.graph-icon
include ../../svg/graph.svg
div.empty-text