remove show_more component

This commit is contained in:
stvnrlly
2023-12-18 21:56:40 -05:00
parent 09d11c0308
commit 17d9de0f2d
4 changed files with 8 additions and 18 deletions

View File

@@ -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') %}
<h3 class='margin-bottom-0' id="current-year"></h3>
{{ ajax_block(partials, updates_url, 'usage') }}
{{ show_more(
url_for(".usage", service_id=current_service['id']),
'See all usage'
) }}
<a
href="{{ url_for('.usage', service_id=current_service['id']) }}"
class="usa-link show-more"
><span>See all usage</span></a>
{% endif %}
</div>