mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 00:33:58 -04:00
Call letter subjects ‘main heading’
This is a term that one of our research participants used to describe the big bold text that starts each letter. I think it’s quite a nice plain english term for it. Also changes the formatting guidance to use the word heading instead of title, for consistency.
This commit is contained in:
@@ -290,7 +290,7 @@ class EmailTemplateForm(BaseTemplateForm):
|
|||||||
class LetterTemplateForm(EmailTemplateForm):
|
class LetterTemplateForm(EmailTemplateForm):
|
||||||
|
|
||||||
subject = TextAreaField(
|
subject = TextAreaField(
|
||||||
u'Title',
|
u'Main heading',
|
||||||
validators=[DataRequired(message="Can’t be empty")])
|
validators=[DataRequired(message="Can’t be empty")])
|
||||||
|
|
||||||
template_content = TextAreaField(
|
template_content = TextAreaField(
|
||||||
|
|||||||
@@ -171,9 +171,9 @@ def add_template_by_type(service_id):
|
|||||||
blank_letter = service_api_client.create_service_template(
|
blank_letter = service_api_client.create_service_template(
|
||||||
'Untitled',
|
'Untitled',
|
||||||
'letter',
|
'letter',
|
||||||
'Content',
|
'Body',
|
||||||
service_id,
|
service_id,
|
||||||
'Title',
|
'Main heading',
|
||||||
'normal',
|
'normal',
|
||||||
)
|
)
|
||||||
return redirect(url_for(
|
return redirect(url_for(
|
||||||
|
|||||||
@@ -1,10 +1,10 @@
|
|||||||
<h2 class="heading-medium">Formatting</h2>
|
<h2 class="heading-medium">Formatting</h2>
|
||||||
<p>
|
<p>
|
||||||
To put a title in your template, use a hash:
|
To put a heading in your template, use a hash:
|
||||||
</p>
|
</p>
|
||||||
<div class="panel panel-border-wide">
|
<div class="panel panel-border-wide">
|
||||||
<p>
|
<p>
|
||||||
# This is a title
|
# This is a heading
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<p>
|
<p>
|
||||||
|
|||||||
Reference in New Issue
Block a user