Permalink
Browse files

Make front page numbers links (fixes #189).

  • Loading branch information...
1 parent dd94ea1 commit 34bfee4d859ce3487cc085d4a6d62c3b936dced1 @dracos dracos committed Jan 21, 2014
Showing with 3 additions and 5 deletions.
  1. +3 −2 speeches/templates/speeches/instance_detail.html
  2. +0 −3 web/sass/app.scss
@@ -1,4 +1,5 @@
{% extends 'base.html' %}
+{% load url from future %}
{% load i18n %}
{% load humanize %}
{% load speech_utils %}
@@ -29,8 +30,8 @@ <h2>{% block instance_search_title %}{% blocktrans with instance=request.instanc
<div class="full-page__row">
<div class="full-page__unit">
<strong>{{ count_speeches|intcomma }}</strong> speeches{% if count_speakers %}, by
- <strong>{{ count_speakers|intcomma }}</strong> speakers{% endif %}{% if count_sections %}, in
- <strong>{{ count_sections|intcomma }}</strong> sections{% endif %}
+ <a href="{% url "speeches:speaker-list" %}"><strong>{{ count_speakers|intcomma }}</strong></a> speakers{% endif %}{% if count_sections %}, in
+ <a href="{% url "speeches:section-list" %}"><strong>{{ count_sections|intcomma }}</strong></a> sections{% endif %}
{% block instance_blocks %}
{% endblock %}
View
@@ -592,9 +592,6 @@ form {
font-size: emCalc(24);
font-weight: $weight_light;
line-height: 1.4em;
- strong {
- color: $colour_primary;
- }
}
.search-wrapper {

0 comments on commit 34bfee4

Please sign in to comment.