Commit 62fc5e08 authored by Nicolas Joyard's avatar Nicolas Joyard

Ensure no dupes in rep list, fixes #93

parent 5514782b
...@@ -195,17 +195,6 @@ ...@@ -195,17 +195,6 @@
<li>
<a href='?country=&amp;search=&amp;group=&amp;chamber=1&page=4'>
4
</a>
</li>
<li> <li>
<a aria-label='Next' href='?country=&amp;search=&amp;group=&amp;chamber=1&page=2'> <a aria-label='Next' href='?country=&amp;search=&amp;group=&amp;chamber=1&page=2'>
...@@ -214,7 +203,7 @@ ...@@ -214,7 +203,7 @@
</a> </a>
</li> </li>
<li> <li>
<a aria-label='Last' href='?country=&amp;search=&amp;group=&amp;chamber=1&page=21'> <a aria-label='Last' href='?country=&amp;search=&amp;group=&amp;chamber=1&page=3'>
<i aria-hidden="true" class="fa fa-chevron-circle-right"></i> <i aria-hidden="true" class="fa fa-chevron-circle-right"></i>
</a> </a>
...@@ -223,7 +212,7 @@ ...@@ -223,7 +212,7 @@
</ul> </ul>
</nav> </nav>
<div class='count'> <div class='count'>
Number of results : 252 Number of results : 36
<br /> <br />
...@@ -326,14 +315,14 @@ ...@@ -326,14 +315,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/vilija-blinkeviciute/'>
<img src='http://www.europarl.europa.eu/mepphoto/96680.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/96681.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/vilija-blinkeviciute/'>
Zigmantas BALČYTIS Vilija BLINKEVIČIŪTĖ
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -360,14 +349,14 @@ ...@@ -360,14 +349,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/elmar-brok/'>
<img src='http://www.europarl.europa.eu/mepphoto/96680.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/1263.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/elmar-brok/'>
Zigmantas BALČYTIS Elmar BROK
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -376,17 +365,17 @@ ...@@ -376,17 +365,17 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Germany/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-de"></span> Germany
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-epp"></span> EPP
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
<span class="label label-success">15</span> <span class="label label-danger">-10</span>
</li> </li>
</ul> </ul>
...@@ -394,14 +383,14 @@ ...@@ -394,14 +383,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/cristian-silviu-busoi/'>
<img src='http://www.europarl.europa.eu/mepphoto/96680.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/38420.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/cristian-silviu-busoi/'>
Zigmantas BALČYTIS Cristian-Silviu BUŞOI
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -410,13 +399,13 @@ ...@@ -410,13 +399,13 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Romania/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-ro"></span> Romania
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-epp"></span> EPP
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
...@@ -428,14 +417,14 @@ ...@@ -428,14 +417,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/david-casa/'>
<img src='http://www.europarl.europa.eu/mepphoto/96680.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/28122.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/david-casa/'>
Zigmantas BALČYTIS David CASA
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -444,17 +433,17 @@ ...@@ -444,17 +433,17 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Malta/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-mt"></span> Malta
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-epp"></span> EPP
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
<span class="label label-success">15</span> <span class="label label-danger">-15</span>
</li> </li>
</ul> </ul>
...@@ -462,14 +451,14 @@ ...@@ -462,14 +451,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/jean-marie-cavada/'>
<img src='http://www.europarl.europa.eu/mepphoto/96680.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/28206.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/jean-marie-cavada/'>
Zigmantas BALČYTIS Jean-Marie CAVADA
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -478,17 +467,17 @@ ...@@ -478,17 +467,17 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/France/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-fr"></span> France
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-alde"></span> ALDE
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
<span class="label label-success">15</span> <span class="label label-danger">-15</span>
</li> </li>
</ul> </ul>
...@@ -496,14 +485,14 @@ ...@@ -496,14 +485,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/nikolaos-chountis/'>
<img src='http://www.europarl.europa.eu/mepphoto/96680.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/26851.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/zigmantas-balcytis/'> <a href='/legislature/representative/nikolaos-chountis/'>
Zigmantas BALČYTIS Nikolaos CHOUNTIS
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -512,13 +501,13 @@ ...@@ -512,13 +501,13 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Greece/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-gr"></span> Greece
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Confederal%20Group%20of%20the%20European%20United%20Left%20-%20Nordic%20Green%20Left/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-guengl"></span> GUE/NGL
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
...@@ -530,14 +519,14 @@ ...@@ -530,14 +519,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/michael-cramer/'>
<img src='http://www.europarl.europa.eu/mepphoto/96681.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/28238.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/michael-cramer/'>
Vilija BLINKEVIČIŪTĖ Michael CRAMER
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -546,13 +535,13 @@ ...@@ -546,13 +535,13 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Germany/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-de"></span> Germany
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Greens/European%20Free%20Alliance/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-greensefa"></span> Greens/EFA
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
...@@ -564,14 +553,14 @@ ...@@ -564,14 +553,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/michel-dantin/'>
<img src='http://www.europarl.europa.eu/mepphoto/96681.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/michel-dantin/'>
Vilija BLINKEVIČIŪTĖ Michel DANTIN
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -580,17 +569,17 @@ ...@@ -580,17 +569,17 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/France/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-fr"></span> France
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-epp"></span> EPP
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
<span class="label label-success">15</span> <span class="label label-danger">-15</span>
</li> </li>
</ul> </ul>
...@@ -598,14 +587,14 @@ ...@@ -598,14 +587,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/tamas-deutsch/'>
<img src='http://www.europarl.europa.eu/mepphoto/96681.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/tamas-deutsch/'>
Vilija BLINKEVIČIŪTĖ Tamás DEUTSCH
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -614,17 +603,17 @@ ...@@ -614,17 +603,17 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Hungary/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-hu"></span> Hungary
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
<a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'> <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
<span class="group-icon group-icon-sd"></span> SD <span class="group-icon group-icon-epp"></span> EPP
</a> </a>
</li> </li>
<li class='score'> <li class='score'>
<span class="label label-success">15</span> <span class="label label-danger">-15</span>
</li> </li>
</ul> </ul>
...@@ -632,14 +621,14 @@ ...@@ -632,14 +621,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/viorica-dancila/'>
<img src='http://www.europarl.europa.eu/mepphoto/96681.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/viorica-dancila/'>
Vilija BLINKEVIČIŪTĖ Viorica DĂNCILĂ
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -648,8 +637,8 @@ ...@@ -648,8 +637,8 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Romania/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class="flag-icon flag-icon-ro"></span> Romania
</a> </a>
</li> </li>
<li class='mandate'> <li class='mandate'>
...@@ -666,14 +655,14 @@ ...@@ -666,14 +655,14 @@
<div class='representative_item active'> <div class='representative_item active'>
<p class='photo'> <p class='photo'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/bas-eickhout/'>
<img src='http://www.europarl.europa.eu/mepphoto/96681.jpg' width='80' /> <img src='http://www.europarl.europa.eu/mepphoto/96725.jpg' width='80' />
</a> </a>
</p> </p>
<ul> <ul>
<li class='name'> <li class='name'>
<a href='/legislature/representative/vilija-blinkeviciute/'> <a href='/legislature/representative/bas-eickhout/'>
Vilija BLINKEVIČIŪTĖ Bas EICKHOUT
</a> </a>
</li> </li>
<li class='chamber'> <li class='chamber'>
...@@ -682,13 +671,13 @@ ...@@ -682,13 +671,13 @@
</a> </a>
</li> </li>
<li class='country'> <li class='country'>
<a href='/legislature/representative/country/Lithuania/'> <a href='/legislature/representative/country/Netherlands/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania <span class=