mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-15 07:18:58 -04:00
Replace browse-list links
This commit is contained in:
@@ -16,22 +16,16 @@
|
|||||||
margin-bottom: $gutter-half;
|
margin-bottom: $gutter-half;
|
||||||
}
|
}
|
||||||
|
|
||||||
&-link {
|
&-link-destructive {
|
||||||
@include bold-24;
|
color: $error-colour;
|
||||||
|
|
||||||
&-destructive {
|
&:visited,
|
||||||
@include bold-24;
|
&:link {
|
||||||
color: $error-colour;
|
color: $error-colour;
|
||||||
|
}
|
||||||
|
|
||||||
&:visited,
|
&:hover {
|
||||||
&:link {
|
color: $mellow-red;
|
||||||
@include bold-24;
|
|
||||||
color: $error-colour;
|
|
||||||
}
|
|
||||||
|
|
||||||
&:hover {
|
|
||||||
color: $mellow-red;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
{% for item in items %}
|
{% for item in items %}
|
||||||
{% if item.title and item.link %}
|
{% if item.title and item.link %}
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
<a href="{{ item.link }}" class="govuk-link govuk-link--no-visited-state browse-list-link{% if item.destructive %}-destructive{% endif %}">{{ item.title }}</a>
|
<a href="{{ item.link }}" class="govuk-link govuk-link--no-visited-state{% if item.destructive %} browse-list-link-destructive{% endif %}">{{ item.title }}</a>
|
||||||
{% if item.hint %}
|
{% if item.hint %}
|
||||||
<div class="browse-list-hint">
|
<div class="browse-list-hint">
|
||||||
{{ item.hint }}
|
{{ item.hint }}
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
{% for org in organisations %}
|
{% for org in organisations %}
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
<a href="{{ url_for('.organisation_dashboard', org_id=org.id) }}" class="govuk-link govuk-link--no-visited-state browse-list-link">{{ org.name }}</a>
|
<a href="{{ url_for('.organisation_dashboard', org_id=org.id) }}" class="govuk-link govuk-link--no-visited-state">{{ org.name }}</a>
|
||||||
<p class="browse-list-hint">
|
<p class="browse-list-hint">
|
||||||
{{ org.count_of_live_services }}
|
{{ org.count_of_live_services }}
|
||||||
live service{% if org.count_of_live_services != 1 %}s{% endif %}
|
live service{% if org.count_of_live_services != 1 %}s{% endif %}
|
||||||
@@ -30,7 +30,7 @@
|
|||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% for service in services %}
|
{% for service in services %}
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
<a href="{{ url_for('.service_dashboard', service_id=service.id) }}" class="govuk-link govuk-link--no-visited-state browse-list-link">{{ service.name }}</a>
|
<a href="{{ url_for('.service_dashboard', service_id=service.id) }}" class="govuk-link govuk-link--no-visited-state">{{ service.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% if show_heading %}
|
{% if show_heading %}
|
||||||
@@ -64,7 +64,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<ul class="column-three-quarters">
|
<ul class="column-three-quarters">
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
<a href="{{ url_for('.organisations') }}" class="govuk-link govuk-link--no-visited-state browse-list-link">All organisations</a>
|
<a href="{{ url_for('.organisations') }}" class="govuk-link govuk-link--no-visited-state">All organisations</a>
|
||||||
<p class="browse-list-hint">
|
<p class="browse-list-hint">
|
||||||
{{ org_count|format_thousands }} organisations, {{ live_service_count|format_thousands }} live services
|
{{ org_count|format_thousands }} organisations, {{ live_service_count|format_thousands }} live services
|
||||||
</p>
|
</p>
|
||||||
|
|||||||
@@ -43,7 +43,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for service in services_found %}
|
{% for service in services_found %}
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
<a href="{{url_for('.service_dashboard', service_id=service.id)}}" class="govuk-link govuk-link--no-visited-state browse-list-link">{{ service.name }}</a>
|
<a href="{{url_for('.service_dashboard', service_id=service.id)}}" class="govuk-link govuk-link--no-visited-state">{{ service.name }}</a>
|
||||||
</li>
|
</li>
|
||||||
<hr>
|
<hr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|||||||
@@ -58,11 +58,11 @@ Inbound Numbers
|
|||||||
{% endif %}
|
{% endif %}
|
||||||
</th>
|
</th>
|
||||||
<th style="font-weight:normal;">
|
<th style="font-weight:normal;">
|
||||||
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state browse-list-link">{{ value.service.name }}</a>
|
<a href="{{ url_for('main.service_dashboard', service_id=value.service.id) }}" class="govuk-link govuk-link--no-visited-state">{{ value.service.name }}</a>
|
||||||
</th>
|
</th>
|
||||||
</tr>
|
</tr>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|||||||
@@ -31,7 +31,7 @@
|
|||||||
<ul>
|
<ul>
|
||||||
{% for org in organisations %}
|
{% for org in organisations %}
|
||||||
<li class="browse-list-item">
|
<li class="browse-list-item">
|
||||||
<a href="{{ url_for('main.organisation_dashboard', org_id=org.id) }}" class="govuk-link govuk-link--no-visited-state browse-list-link">{{ org.name }}</a>
|
<a href="{{ url_for('main.organisation_dashboard', org_id=org.id) }}" class="govuk-link govuk-link--no-visited-state">{{ org.name }}</a>
|
||||||
<p class="browse-list-hint">
|
<p class="browse-list-hint">
|
||||||
{{ org.count_of_live_services }}
|
{{ org.count_of_live_services }}
|
||||||
live service{% if org.count_of_live_services != 1 %}s{% endif %}
|
live service{% if org.count_of_live_services != 1 %}s{% endif %}
|
||||||
|
|||||||
Reference in New Issue
Block a user