Use full width for folder heading if no manage link

If you don’t have permission to manage a folder we don’t show the link.
But we should also claw back the space that the link would have taken.
This commit is contained in:
Chris Hill-Scott
2019-06-21 15:37:49 +01:00
parent b4dde3842e
commit 40fdf711e1

View File

@@ -44,7 +44,7 @@
{% else %}
<div class="grid-row">
<div class="{% if current_user.has_permissions('manage_templates') %} column-five-sixths {% else %} column-two-thirds {% endif %}">
<div class="{% if current_user.has_permissions('manage_templates') %} column-five-sixths {% else %} column-whole {% endif %}">
{{ folder_path(
folders=template_folder_path,
service_id=current_service.id,