rename choose_service to choose_account

This commit is contained in:
Leo Hemsted
2018-03-08 16:51:53 +00:00
parent 8ecbb37f71
commit 2f37e37278
19 changed files with 64 additions and 46 deletions

View File

@@ -63,7 +63,7 @@
{% set global_header_text = "GOV.UK <span id='product-name'>Notify</span>"|safe %}
{% set homepage_url = url_for('main.show_all_services_or_dashboard') %}
{% set homepage_url = url_for('main.show_accounts_or_dashboard') %}
{% block content %}
{% block fullwidth_content %}{% endblock %}

View File

@@ -10,7 +10,7 @@
<div class="navigation-service-name">
{{ current_org.name }}
</div>
<a href="{{ url_for('main.choose_service') }}" class="navigation-service-switch">Switch service</a>
<a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>
</div>
<div class="grid-row">
<div class="column-one-quarter">

View File

@@ -1,13 +1,13 @@
{% extends "withoutnav_template.html" %}
{% block per_page_title %}
Choose service
Choose account
{% endblock %}
{% block maincolumn_content %}
<h1 class="heading-large">
Choose service
Choose account
</h1>
{% for org in organisations %}

View File

@@ -10,7 +10,7 @@
<div class="navigation-service-name">
{{ current_service.name }}
</div>
<a href="{{ url_for('main.choose_service') }}" class="navigation-service-switch">Switch service</a>
<a href="{{ url_for('main.choose_account') }}" class="navigation-service-switch">Switch service</a>
</div>
<div class="grid-row">
{% if help %}

View File

@@ -4,7 +4,7 @@
<div id="content">
{% if current_service %}
<div class="navigation-service">
<a href="{{ url_for('main.show_all_services_or_dashboard') }}">Back to {{ current_service.name }}</a>
<a href="{{ url_for('main.show_accounts_or_dashboard') }}">Back to {{ current_service.name }}</a>
</div>
{% endif %}
<main role="main">