diff --git a/app/templates/components/show-more.html b/app/templates/components/show-more.html deleted file mode 100644 index 710d2c647..000000000 --- a/app/templates/components/show-more.html +++ /dev/null @@ -1,6 +0,0 @@ -{% macro show_more(url, label, with_border=True) %} - {{ label }} -{% endmacro %} diff --git a/app/templates/views/dashboard/_upcoming.html b/app/templates/views/dashboard/_upcoming.html index 8466ffdc6..43ddf71a0 100644 --- a/app/templates/views/dashboard/_upcoming.html +++ b/app/templates/views/dashboard/_upcoming.html @@ -1,5 +1,4 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading %} -{% from "components/show-more.html" import show_more %}
{% if current_service.scheduled_job_stats.count %} diff --git a/app/templates/views/dashboard/dashboard.html b/app/templates/views/dashboard/dashboard.html index 828c83101..52a7694ac 100644 --- a/app/templates/views/dashboard/dashboard.html +++ b/app/templates/views/dashboard/dashboard.html @@ -1,6 +1,5 @@ {% extends "withnav_template.html" %} -{% from "components/show-more.html" import show_more %} {% from "components/table.html" import list_table, field, right_aligned_field_heading, hidden_field_heading %} {% from "components/ajax-block.html" import ajax_block %} @@ -56,10 +55,10 @@ {% if current_user.has_permissions('manage_service') %}

{{ ajax_block(partials, updates_url, 'usage') }} - {{ show_more( - url_for(".usage", service_id=current_service['id']), - 'See all usage' - ) }} + See all usage {% endif %}
diff --git a/app/templates/views/dashboard/template-statistics.html b/app/templates/views/dashboard/template-statistics.html index 5437dd3a5..86192d421 100644 --- a/app/templates/views/dashboard/template-statistics.html +++ b/app/templates/views/dashboard/template-statistics.html @@ -1,5 +1,4 @@ {% from "components/table.html" import list_table, field, right_aligned_field_heading, row_heading, spark_bar_field %} -{% from "components/show-more.html" import show_more %}
{% if template_statistics|length > 1 %} @@ -25,11 +24,10 @@ {{ spark_bar_field(item.count, most_used_template_count, id=item.template_id) }} {% endcall %} - {{ show_more( - url_for('.template_usage', service_id=current_service.id), - 'See templates used by month', - with_border=False - ) }} + See templates used by month
{% endif %}