added manage_templates to enum

This commit is contained in:
Beverly Nguyen
2025-07-16 22:30:48 -07:00
parent 28f09674df
commit 126188cea1
10 changed files with 19 additions and 18 deletions

View File

@@ -16,7 +16,7 @@ Dashboard
<div class="dashboard margin-top-0 margin-bottom-2">
<h1 class="usa-sr-only">Dashboard</h1>
{% if current_user.has_permissions('manage_templates') and not current_service.all_templates %}
{% if current_user.has_permissions(ServicePermission.MANAGE_TEMPLATES) and not current_service.all_templates %}
{% include 'views/dashboard/write-first-messages.html' %}
{% endif %}