mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-11 09:28:27 -04:00
Beautify the template version links and template link page.
This commit is contained in:
@@ -6,7 +6,13 @@
|
||||
from_name=None,
|
||||
from_address=None,
|
||||
recipient=None,
|
||||
show_placeholder_for_recipient=False
|
||||
id=None,
|
||||
created_at=None,
|
||||
updated_at=None,
|
||||
versions_url=None,
|
||||
version=1,
|
||||
show_placeholder_for_recipient=False,
|
||||
show_id=False
|
||||
) %}
|
||||
{% if name %}
|
||||
<h3 class="email-message-name">
|
||||
@@ -15,9 +21,17 @@
|
||||
{% else %}
|
||||
{{ name }}
|
||||
{% endif %}
|
||||
{% if created_at %}{{ created_at }}{% endif %}
|
||||
</h3>
|
||||
{% endif %}
|
||||
{% if version > 1 %}
|
||||
{% if updated_at %}
|
||||
<p class="email-message-updated-at">Last updated on {{ updated_at|format_date_normal }} <a href="{{ versions_url }}">see earlier versions</a></p>
|
||||
{% endif %}
|
||||
{% else %}
|
||||
{% if created_at %}
|
||||
<p class="email-message-updated-at">Created on {{ created_at|format_date_normal }}</p>
|
||||
{% endif %}
|
||||
{% endif %}
|
||||
<div class="email-message">
|
||||
{% if from_name or subject %}
|
||||
<table class="email-message-meta">
|
||||
|
||||
Reference in New Issue
Block a user