Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Fixed constituency index links

  • Loading branch information...
commit 332286f5d482c37e66385099208b83ec55fcf960 1 parent d3f159f
@davorg authored
Showing with 12 additions and 12 deletions.
  1. +11 −11 c/index.html
  2. +1 −1  ttlib/constituencies.tt
View
22 c/index.html
@@ -61,21 +61,21 @@
<p>Jump to: <a href="#A">A</a> | <a href="#B">B</a> | <a href="#C">C</a> | <a href="#M">M</a> | <a href="#T">T</a></p>
<table class="table table-striped table-condensed table-bordered">
<tr><th><a name="A">A</a></th></tr>
-<tr><td><a href="/constituency/Aberavon">Aberavon</a></td></tr>
-<tr><td><a href="/constituency/Aberconwy">Aberconwy</a></td></tr>
-<tr><td><a href="/constituency/Aberdeen North">Aberdeen North</a></td></tr>
-<tr><td><a href="/constituency/Aberdeen South">Aberdeen South</a></td></tr>
-<tr><td><a href="/constituency/Airdrie and Shotts">Airdrie and Shotts</a></td></tr>
-<tr><td><a href="/constituency/Aldershot">Aldershot</a></td></tr>
-<tr><td><a href="/constituency/Aldridge-Brownhills">Aldridge-Brownhills</a></td></tr>
+<tr><td><a href="/constituency/aberavon">Aberavon</a></td></tr>
+<tr><td><a href="/constituency/aberconwy">Aberconwy</a></td></tr>
+<tr><td><a href="/constituency/aberdeen-north">Aberdeen North</a></td></tr>
+<tr><td><a href="/constituency/aberdeen-south">Aberdeen South</a></td></tr>
+<tr><td><a href="/constituency/airdrie-and-shotts">Airdrie and Shotts</a></td></tr>
+<tr><td><a href="/constituency/aldershot">Aldershot</a></td></tr>
+<tr><td><a href="/constituency/aldridge-brownhills">Aldridge-Brownhills</a></td></tr>
<tr><th><a name="B">B</a></th></tr>
-<tr><td><a href="/constituency/Battersea">Battersea</a></td></tr>
+<tr><td><a href="/constituency/battersea">Battersea</a></td></tr>
<tr><th><a name="C">C</a></th></tr>
-<tr><td><a href="/constituency/Clacton">Clacton</a></td></tr>
+<tr><td><a href="/constituency/clacton">Clacton</a></td></tr>
<tr><th><a name="M">M</a></th></tr>
-<tr><td><a href="/constituency/Mid Bedfordshire">Mid Bedfordshire</a></td></tr>
+<tr><td><a href="/constituency/mid-bedfordshire">Mid Bedfordshire</a></td></tr>
<tr><th><a name="T">T</a></th></tr>
-<tr><td><a href="/constituency/Tooting">Tooting</a></td></tr>
+<tr><td><a href="/constituency/tooting">Tooting</a></td></tr>
</table>
</div>
<div class="col-md-4">
View
2  ttlib/constituencies.tt
@@ -24,7 +24,7 @@
IF letter != prev_letter -%]
<tr><th><a name="[% letter %]">[% letter %]</a></th></tr>
[% END -%]
-<tr><td><a href="/constituency/[% c.name %]">[% c.name %]</a></td></tr>
+<tr><td><a href="/constituency/[% c.list_name %]">[% c.name %]</a></td></tr>
[% prev_letter = letter;
END -%]
</table>

0 comments on commit 332286f

Please sign in to comment.
Something went wrong with that request. Please try again.