mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-07 13:18:24 -04:00
Hide ‘created at…’ on the templates page
I don’t think that if there’s only one version of the template that it’s useful to see the created at date. The auditing stuff only becomes relevant once someone a template has been changed.
This commit is contained in:
@@ -9,7 +9,6 @@
|
||||
template.formatted_as_markup,
|
||||
name=template.name if show_title else None,
|
||||
id=template.id,
|
||||
created_at=template.get_raw('created_at', None),
|
||||
updated_at=template.get_raw('updated_at', None),
|
||||
version=template.get_raw('version', 1),
|
||||
versions_url=url_for('.view_template_versions', service_id=current_service.id, template_id=template.id)
|
||||
@@ -19,7 +18,6 @@
|
||||
template.formatted_as_markup,
|
||||
name=template.name if show_title else None,
|
||||
id=template.id,
|
||||
created_at=template.get_raw('created_at', None),
|
||||
updated_at=template.get_raw('updated_at', None),
|
||||
version=template.get_raw('version', 1),
|
||||
versions_url=url_for('.view_template_versions', service_id=current_service.id, template_id=template.id)
|
||||
@@ -38,4 +36,4 @@
|
||||
{% endif %}
|
||||
<a href="{{ url_for(".send_from_api", service_id=current_service.id, template_id=template.id) }}">API info</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user