mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-06 20:18:25 -04:00
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:
@@ -44,7 +44,7 @@
|
|||||||
{% else %}
|
{% else %}
|
||||||
|
|
||||||
<div class="grid-row">
|
<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(
|
{{ folder_path(
|
||||||
folders=template_folder_path,
|
folders=template_folder_path,
|
||||||
service_id=current_service.id,
|
service_id=current_service.id,
|
||||||
|
|||||||
Reference in New Issue
Block a user