Skip to content

Commit

Permalink
Fixing the ul
Browse files Browse the repository at this point in the history
  • Loading branch information
jonathanbobel committed Dec 12, 2024
1 parent 00949dc commit ad836d0
Showing 1 changed file with 24 additions and 17 deletions.
41 changes: 24 additions & 17 deletions app/templates/views/templates/template.html
Original file line number Diff line number Diff line change
Expand Up @@ -60,27 +60,34 @@ <h2 class="margin-bottom-1 font-body-lg">More actions</h2>
<ul class="usa-list usa-list--unstyled">
<li>
<a class="usa-link margin-right-3"
href="{{ url_for('.view_template_versions', service_id=current_service.id, template_id=template.id) }}">See previous
versions</a>
href="{{ url_for('.view_template_versions', service_id=current_service.id, template_id=template.id) }}">
See previous versions
</a>
</li>
{% endif %}
{% if current_user.has_permissions('manage_templates') and user_has_template_permission %}
{% if not template._template.archived %}
<li>
<a class="usa-link margin-right-3"
href="{{ url_for('.delete_service_template', service_id=current_service.id, template_id=template.id) }}">Delete this
template</a>
</li>
{% if not template._template.archived %}
<li>
<a class="usa-link margin-right-3"
href="{{ url_for('.delete_service_template', service_id=current_service.id, template_id=template.id) }}">
Delete this template
</a>
</li>
{% endif %}
{% if not template._template.redact_personalisation %}
<li>
<a class="usa-link"
href="{{ url_for('.confirm_redact_template', service_id=current_service.id, template_id=template.id) }}">
Hide all personalized and conditional content after sending
</a> for increased privacy protection
</li>
{% else %}
<li>
<p class="hint">Personalization is hidden after sending</p>
</li>
{% endif %}
{% endif %}
{% if not template._template.redact_personalisation %}
<li>
<a class="usa-link" href="{{ url_for('.confirm_redact_template', service_id=current_service.id, template_id=template.id) }}">Hide all personalized and conditional content after sending</a> for increased privacy protection
</li>
{% else %}
<p class="hint">Personalization is hidden after sending</p>
{% endif %}
</ul>
{% endif %}
</ul>
</div>

<!--<div class="">
Expand Down

0 comments on commit ad836d0

Please sign in to comment.