Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fixed some more data references in the constituency template.

  • Loading branch information...
commit d34d36c9b73086fc898041a2040b1dc471381539 1 parent e4ff484
@davorg authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 PoliticalWeb/views/constituency.tt
View
4 PoliticalWeb/views/constituency.tt
@@ -1,7 +1,7 @@
<script src="/js/jquery.zrssfeed.min.js" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function () {
- $('#news').rssfeed('https://news.google.com/news/feeds?ned=uk&output=rss&q=[% mp.full_name %]+MP', {
+ $('#news').rssfeed('https://news.google.com/news/feeds?ned=uk&output=rss&q=[% mp.twfy.full_name %]+MP', {
limit: 10,
dateformat: 'timeline',
content: false,
@@ -50,7 +50,7 @@ $(document).ready(function () {
[% FOREACH link IN mp.db.mp_links -%]
<li><a href="[% link.url %]">[% link.description %]</li>
[% END -%]
-[% IF mp.guardian_aristotle_id %]
+[% IF mp.twfy.guardian_aristotle_id %]
<li><a href="http://www.guardian.co.uk/politics/person/[% mp.twfy.guardian_aristotle_id %]">Guardian MP page</a></li>
[% END %]
[% FOREACH link IN constit.db.constituency_links -%]
Please sign in to comment.
Something went wrong with that request. Please try again.