mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-06-21 21:53:42 -04:00
Merge pull request #1020 from alphagov/optional-content
Add guidance for optional content into template pages
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
<h2 class="heading-medium">
|
||||
Optional content
|
||||
</h2>
|
||||
<p>
|
||||
Use double brackets and ‘??’ to define optional content.
|
||||
</p>
|
||||
<p>
|
||||
For example if you only want to show something to people who are under
|
||||
18:
|
||||
</p>
|
||||
<div class="panel panel-border-wide">
|
||||
<p>
|
||||
((under18??Please get your application signed by a parent or
|
||||
guardian.))
|
||||
</p>
|
||||
</div>
|
||||
<p>
|
||||
For each person you send this message to, specify ‘yes’ or ‘no’ to
|
||||
show or hide this content.
|
||||
</p>
|
||||
@@ -29,6 +29,7 @@
|
||||
<aside class="column-whole">
|
||||
{% include "partials/templates/guidance-formatting.html" %}
|
||||
{% include "partials/templates/guidance-personalisation.html" %}
|
||||
{% include "partials/templates/guidance-optional-content.html" %}
|
||||
{% include "partials/templates/guidance-links.html" %}
|
||||
</aside>
|
||||
</div>
|
||||
|
||||
@@ -27,6 +27,7 @@
|
||||
</div>
|
||||
<aside class="column-whole">
|
||||
{% include "partials/templates/guidance-personalisation.html" %}
|
||||
{% include "partials/templates/guidance-optional-content.html" %}
|
||||
{% include "partials/templates/guidance-links.html" %}
|
||||
{% include "partials/templates/guidance-character-count.html" %}
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user