Move link to providers page to the header

This link looked odd floating above the left column, and although we may want
to have admin navigation on the left we aren't sure what that would include
yet, so move this link to the header alongside the Platform admin link.
This commit is contained in:
Jenny Duckett
2016-12-05 17:06:34 +00:00
parent 3a637c8fa9
commit df265f188d
2 changed files with 3 additions and 8 deletions

View File

@@ -47,6 +47,9 @@
<li> <li>
<a href="{{ url_for('main.platform_admin') }}">Platform admin</a> <a href="{{ url_for('main.platform_admin') }}">Platform admin</a>
</li> </li>
<li>
<a href="{{ url_for('main.view_providers') }}">Providers</a>
</li>
{% endif %} {% endif %}
<li> <li>
<a href="{{ url_for('main.sign_out')}}">Sign out</a> <a href="{{ url_for('main.sign_out')}}">Sign out</a>

View File

@@ -1,7 +1,6 @@
{% extends "withoutnav_template.html" %} {% extends "withoutnav_template.html" %}
{% from "components/big-number.html" import big_number, big_number_with_status %} {% from "components/big-number.html" import big_number, big_number_with_status %}
{% from "components/message-count-label.html" import message_count_label %} {% from "components/message-count-label.html" import message_count_label %}
{% from "components/browse-list.html" import browse_list %}
{% from "components/table.html" import mapping_table, field, stats_fields, row_group, row, right_aligned_field_heading, hidden_field_heading, text_field %} {% from "components/table.html" import mapping_table, field, stats_fields, row_group, row, right_aligned_field_heading, hidden_field_heading, text_field %}
{% macro stats_fields(channel, data) -%} {% macro stats_fields(channel, data) -%}
@@ -88,13 +87,6 @@
Platform admin Platform admin
</h1> </h1>
{{ browse_list([
{
'title': 'View providers',
'link': url_for('.view_providers')
},
]) }}
<div class="grid-row"> <div class="grid-row">
<div class="column-one-third"> <div class="column-one-third">
<nav class="navigation"> <nav class="navigation">