mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-04-06 18:41:25 -04:00
Adjusting tests
This commit is contained in:
@@ -456,7 +456,7 @@ class Service(JSONModel, SortByNameMixin):
|
||||
if folder_id is None:
|
||||
return {
|
||||
"id": None,
|
||||
"name": "Templates",
|
||||
"name": "Select or create a template",
|
||||
"parent_id": None,
|
||||
}
|
||||
return self._get_by_id(self.all_template_folders, folder_id)
|
||||
|
||||
@@ -36,13 +36,9 @@
|
||||
<div class="grid-row flex-column">
|
||||
<h1 class="font-body-2xl line-height-sans-2 margin-bottom-1 margin-top-0">Select or create a template</h1>
|
||||
<div class="{% if current_user.has_permissions('manage_templates') %} grid-col-10 {% else %} grid-col-12 {% endif %}">
|
||||
<div class="usa-alert usa-alert--slim usa-alert--info margin-bottom-6">
|
||||
<div class="usa-alert__body">
|
||||
<p class="usa-alert__text">
|
||||
Every message starts with a template. To send, choose or create a template.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<p class="margin-top-0 margin-bottom-4">
|
||||
Every message starts with a template. To send, choose or create a template.
|
||||
</p>
|
||||
{{ folder_path(
|
||||
folders=template_folder_path,
|
||||
service_id=current_service.id,
|
||||
|
||||
Reference in New Issue
Block a user