Merge pull request #3930 from alphagov/archived-orgs

Move the '- archived' label for organisations to be next to the org name
This commit is contained in:
Katie Smith
2021-06-14 13:51:16 +01:00
committed by GitHub

View File

@@ -17,13 +17,13 @@
{% for org in organisations %}
<li class="browse-list-item">
<a href="{{ url_for('main.organisation_dashboard', org_id=org.id) }}" class="govuk-link govuk-link--no-visited-state">{{ org.name }}</a>
{% if not org.active %}
<span class="table-field-status-default heading-medium">- archived</span>
{% endif %}
<p class="browse-list-hint">
{{ org.count_of_live_services }}
live service{% if org.count_of_live_services != 1 %}s{% endif %}
</p>
{% if not org.active %}
<span class="table-field-status-default heading-medium">- archived</span>
{% endif %}
</li>
{% endfor %}
</ul>