show archived label on platform admin page, and sort last

This commit is contained in:
Leo Hemsted
2016-11-04 16:27:27 +00:00
parent 7a48e25dbb
commit defa93809a
2 changed files with 12 additions and 7 deletions

View File

@@ -23,7 +23,11 @@
<a href="{{ url_for('main.service_dashboard', service_id=item['id']) }}" class="browse-list-link">{{ item['name'] }}</a>
</div>
{% endcall %}
{% if item['research_mode'] %}
{% if not item['active'] %}
{% call field(status='default') %}
<span class="heading-medium">archived</span>
{% endcall %}
{% elif item['research_mode'] %}
{% call field() %}
<span class="research-mode">research mode</span>
{% endcall %}