mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-24 16:24:08 -04:00
Remove version history from provider ratio page
This doesn't work with 3 providers. You can still see the version history for each provider on their dedicated page.
This commit is contained in:
@@ -44,47 +44,4 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% for day, versions in versions %}
|
||||
<h2 class="heading-small top-gutter">
|
||||
{% if day %}
|
||||
{{ versions[0]['updated_at']|format_date_human|title }}
|
||||
{% else %}
|
||||
Start
|
||||
{% endif %}
|
||||
</h2>
|
||||
<ul class="bottom-gutter">
|
||||
{% for version in versions %}
|
||||
<li class="history-list-item">
|
||||
<div class="govuk-grid-row">
|
||||
<div class="govuk-grid-column-one-third">
|
||||
<div class="history-list-user">
|
||||
{{ version.created_by.name or (' '|safe) }}
|
||||
</div>
|
||||
{% if version.updated_at %}
|
||||
<div class="history-list-time">
|
||||
{{ version.updated_at|format_time }}
|
||||
</div>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="govuk-grid-column-two-thirds">
|
||||
<div class="history-list-percentage">
|
||||
<div class="history-list-percentage-left-label">
|
||||
{{ first_provider }}<br><br>
|
||||
{{ version.priority|format_thousands }}%
|
||||
</div>
|
||||
<div class="history-list-percentage-right-label">
|
||||
{{ second_provider }}<br><br>
|
||||
{{ (100 - version.priority)|format_thousands }}%
|
||||
</div>
|
||||
<div class="history-list-percentage-marker" style="left: {{ (100 -version.priority)|format_thousands }}%"></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
{% endfor %}
|
||||
</ul>
|
||||
{% endfor %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
Reference in New Issue
Block a user