Permalink
Browse files

extract common vote footer text out to partial

  • Loading branch information...
struan committed Apr 6, 2017
1 parent c8fd0bd commit bbdfab6d984a0365392f702247f9cf00bd857fbb
@@ -0,0 +1,9 @@
<div class="panel">
<p>Note for journalists and researchers: The data on this page may be used freely,
on condition that TheyWorkForYou.com is cited as the source.</p>
<p>For an explanation of the vote descriptions please see the FAQ entries on
<a href="/help/#vote-descriptions">vote descriptions</a> and
<a href="/help/#votingrecord">how the voting record is decided</a></p>
</div>
@@ -130,18 +130,8 @@
<p>This person has not voted on this policy.</p>
</div>
<?php } ?>
<div class="panel">
<p>Note for journalists and researchers: The data on this page may be used freely,
on condition that TheyWorkForYou.com is cited as the source.</p>
<p>For an explanation of the vote descriptions please see the FAQ entries on
<a href="/help/#vote-descriptions">vote descriptions</a> and
<a href="/help/#votingrecord">how the voting record is decided</a></p>
</div>
<?php }
include('_vote_footer.php'); ?>
</div>
</div>
@@ -55,17 +55,8 @@
<div class="panel">
<p>This person has not voted recently.</p>
</div>
<?php } ?>
<div class="panel">
<p>Note for journalists and researchers: The data on this page may be used freely,
on condition that TheyWorkForYou.com is cited as the source.</p>
<p>For an explanation of the vote descriptions please see the FAQ entries on
<a href="/help/#vote-descriptions">vote descriptions</a> and
<a href="/help/#votingrecord">how the voting record is decided</a></p>
</div>
<?php }
include('_vote_footer.php'); ?>
</div>
<div class="sidebar__unit in-page-nav">
@@ -120,15 +120,7 @@
<?php endif; ?>
<div class="panel">
<p>Note for journalists and researchers: The data on this page may be used freely,
on condition that TheyWorkForYou.com is cited as the source.</p>
<p>For an explanation of the vote descriptions please see the FAQ entries on
<a href="/help/#vote-descriptions">vote descriptions</a> and
<a href="/help/#votingrecord">how the voting record is decided</a></p>
</div>
<?php include('_vote_footer.php'); ?>
</div>
</div>
</div>

0 comments on commit bbdfab6

Please sign in to comment.