Adjusting tests

This commit is contained in:
Jonathan Bobel
2024-12-02 10:53:06 -05:00
parent 9a387923bf
commit 6218d3eadd
2 changed files with 4 additions and 8 deletions

View File

@@ -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)

View File

@@ -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,