We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 641c669 commit b1ef838Copy full SHA for b1ef838
src/VersionControl/GitControlBundle/Resources/views/Default/list.html.twig
@@ -59,7 +59,9 @@
59
<td><span class="label label-success">{{userProject.roles}}</label></td>
60
<td style="width:180px">
61
<a href="{{ path('project', { 'id': userProject.project.id }) }}" class="btn btn-primary btn-flat">Open</a>
62
- <a href="{{ path('project_edit', { 'id': userProject.project.id }) }}" class="btn btn-info btn-flat">Edit</a>
+ {% if (is_granted('MASTER', userProject.project)) %}
63
+ <a href="{{ path('project_edit', { 'id': userProject.project.id }) }}" class="btn btn-info btn-flat">Edit</a>
64
+ {% endif %}
65
</td>
66
</tr>
67
{% endfor %}
0 commit comments