Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Fixed some more data references in the constituency template.

  • Loading branch information...
commit d34d36c9b73086fc898041a2040b1dc471381539 1 parent e4ff484
Dave Cross authored July 24, 2013

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  PoliticalWeb/views/constituency.tt
4  PoliticalWeb/views/constituency.tt
... ...
@@ -1,7 +1,7 @@
1 1
     <script src="/js/jquery.zrssfeed.min.js" type="text/javascript"></script>
2 2
         <script type="text/javascript">
3 3
 $(document).ready(function () {
4  
-  $('#news').rssfeed('https://news.google.com/news/feeds?ned=uk&output=rss&q=[% mp.full_name %]+MP', {
  4
+  $('#news').rssfeed('https://news.google.com/news/feeds?ned=uk&output=rss&q=[% mp.twfy.full_name %]+MP', {
5 5
     limit: 10,
6 6
     dateformat: 'timeline',
7 7
     content: false,
@@ -50,7 +50,7 @@ $(document).ready(function () {
50 50
 [% FOREACH link IN mp.db.mp_links -%]
51 51
             <li><a href="[% link.url %]">[% link.description %]</li>
52 52
 [% END -%]
53  
-[% IF mp.guardian_aristotle_id %]
  53
+[% IF mp.twfy.guardian_aristotle_id %]
54 54
             <li><a href="http://www.guardian.co.uk/politics/person/[% mp.twfy.guardian_aristotle_id %]">Guardian MP page</a></li>
55 55
 [% END %]
56 56
 [% FOREACH link IN constit.db.constituency_links -%]

0 notes on commit d34d36c

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