mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-09-11 10:28:41 -04:00
Hide template nav if service has one of each
There are a bunch of services that just have one text message template and one email template. In this case the template navigation is essentially the same as the list of templates – a user can just differentiate by looking at the two templates. Adding the nav would just be noise in this case.
This commit is contained in:
@@ -54,7 +54,7 @@
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% if templates|length > 7 %}
|
||||
{% if show_search_box %}
|
||||
<div data-module="autofocus">
|
||||
<div class="live-search" data-module="live-search" data-targets="#template-list .column-whole">
|
||||
{{ textbox(
|
||||
|
||||
Reference in New Issue
Block a user