mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-07-10 19:34:27 -04:00
Merge pull request #2939 from alphagov/new-service-button
Make ‘Add a new service’ a button
This commit is contained in:
@@ -36,7 +36,9 @@
|
||||
{% endif %}
|
||||
</ul>
|
||||
{% if can_add_service %}
|
||||
<a href="{{ url_for('.add_service') }}" class="browse-list-link">Add a new service…</a>
|
||||
<div class="js-stick-at-bottom-when-scrolling">
|
||||
<a href="{{ url_for('.add_service') }}" class="button-secondary">Add a new service</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
||||
@@ -102,7 +102,7 @@ def test_choose_account_should_show_choose_accounts_page_if_no_services(
|
||||
assert len(links) == 1
|
||||
add_service_link = links[0]
|
||||
assert normalize_spaces(page.h1.text) == 'Choose service'
|
||||
assert normalize_spaces(add_service_link.text) == 'Add a new service…'
|
||||
assert normalize_spaces(add_service_link.text) == 'Add a new service'
|
||||
assert add_service_link['href'] == url_for('main.add_service')
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user