From 64ad6580d759d3b655287df0946bf83b17e0192c Mon Sep 17 00:00:00 2001
From: Nicolas Joyard <joyard.nicolas@gmail.com>
Date: Tue, 28 Jun 2016 20:34:15 +0200
Subject: [PATCH] Update fixtures

---
 .../test_mandates_display.html                | 639 +++++++++++++-----
 .../GroupListTest.test_active_parties.content |  74 +-
 .../GroupListTest.test_all_parties.content    |  72 +-
 ...tativeListTest.test_filter_chamber.content |  48 +-
 ...e1_paginateby12_active_displaylist.content |  48 +-
 ...page1_paginateby12_all_displaylist.content |  48 +-
 ...e1_paginateby24_active_displaygrid.content |  92 +--
 ...page1_paginateby24_all_displaygrid.content |  92 +--
 ...est_page2_paginateby12_displaylist.content |  44 +-
 9 files changed, 734 insertions(+), 423 deletions(-)

diff --git a/memopol/tests/RepresentativeDetailTest/test_mandates_display.html b/memopol/tests/RepresentativeDetailTest/test_mandates_display.html
index d464619b..1fae20a1 100644
--- a/memopol/tests/RepresentativeDetailTest/test_mandates_display.html
+++ b/memopol/tests/RepresentativeDetailTest/test_mandates_display.html
@@ -3,17 +3,23 @@
   <table class='table table-condensed mandates'>
 
       <tr class='mandate'>
-        <td>Member</td>
+        <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
-            Committee on Women&#39;s Rights and Gender Equality
-
-              FEMM
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20Palestine/'>
+            Delegation for relations with Palestine
 
           </a>
         </td>
-        <td>01/07/2014</td>
-        <td>present</td>
+        <td>
+
+            14/07/2014
+
+        </td>
+        <td>
+
+            present
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -21,15 +27,43 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
-            Committee on Legal Affairs
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20South%20Africa/'>
+            Delegation for relations with South Africa
 
-              JURI
+          </a>
+        </td>
+        <td>
+
+            14/07/2014
+
+        </td>
+        <td>
+
+            present
+
+        </td>
+        <td>European Parliament</td>
+
+      </tr>
+
+      <tr class='mandate'>
+        <td>Member</td>
+        <td>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20Parliamentary%20Assembly%20of%20the%20Union%20for%20the%20Mediterranean/'>
+            Delegation to the Parliamentary Assembly of the Union for the Mediterranean
 
           </a>
         </td>
-        <td>01/07/2014</td>
-        <td>present</td>
+        <td>
+
+            14/07/2014
+
+        </td>
+        <td>
+
+            present
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -44,22 +78,16 @@
 
           </a>
         </td>
-        <td>08/07/2014</td>
-        <td>present</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            08/07/2014
 
-      <tr class='mandate'>
-        <td>Member</td>
+        </td>
         <td>
-          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20South%20Africa/'>
-            Delegation for relations with South Africa
 
-          </a>
+            present
+
         </td>
-        <td>14/07/2014</td>
-        <td>present</td>
         <td>European Parliament</td>
 
       </tr>
@@ -67,27 +95,23 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20Parliamentary%20Assembly%20of%20the%20Union%20for%20the%20Mediterranean/'>
-            Delegation to the Parliamentary Assembly of the Union for the Mediterranean
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
+            Committee on Legal Affairs
+
+              JURI
 
           </a>
         </td>
-        <td>14/07/2014</td>
-        <td>present</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            01/07/2014
 
-      <tr class='mandate'>
-        <td>Substitute</td>
+        </td>
         <td>
-          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20Palestine/'>
-            Delegation for relations with Palestine
 
-          </a>
+            present
+
         </td>
-        <td>14/07/2014</td>
-        <td>present</td>
         <td>European Parliament</td>
 
       </tr>
@@ -95,15 +119,23 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-            Group of the Progressive Alliance of Socialists and Democrats in the European Parliament
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+            Committee on Women&#39;s Rights and Gender Equality
 
-              SD
+              FEMM
 
           </a>
         </td>
-        <td>01/07/2014</td>
-        <td>present</td>
+        <td>
+
+            01/07/2014
+
+        </td>
+        <td>
+
+            present
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -118,8 +150,16 @@
 
           </a>
         </td>
-        <td>01/07/2014</td>
-        <td>present</td>
+        <td>
+
+            01/07/2014
+
+        </td>
+        <td>
+
+            present
+
+        </td>
         <td>Labour Party</td>
 
       </tr>
@@ -127,15 +167,23 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
-            Committee on Women&#39;s Rights and Gender Equality
+          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+            Group of the Progressive Alliance of Socialists and Democrats in the European Parliament
 
-              FEMM
+              SD
 
           </a>
         </td>
-        <td>19/01/2012</td>
-        <td>30/06/2014</td>
+        <td>
+
+            01/07/2014
+
+        </td>
+        <td>
+
+            present
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -150,8 +198,16 @@
 
           </a>
         </td>
-        <td>19/01/2012</td>
-        <td>30/06/2014</td>
+        <td>
+
+            19/01/2012
+
+        </td>
+        <td>
+
+            30/06/2014
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -166,8 +222,40 @@
 
           </a>
         </td>
-        <td>19/01/2012</td>
-        <td>30/06/2014</td>
+        <td>
+
+            19/01/2012
+
+        </td>
+        <td>
+
+            30/06/2014
+
+        </td>
+        <td>European Parliament</td>
+
+      </tr>
+
+      <tr class='mandate'>
+        <td>Member</td>
+        <td>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+            Committee on Women&#39;s Rights and Gender Equality
+
+              FEMM
+
+          </a>
+        </td>
+        <td>
+
+            19/01/2012
+
+        </td>
+        <td>
+
+            30/06/2014
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -180,24 +268,16 @@
 
           </a>
         </td>
-        <td>16/09/2009</td>
-        <td>30/06/2014</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            16/09/2009
 
-      <tr class='mandate'>
-        <td>Member</td>
+        </td>
         <td>
-          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-            Group of the Progressive Alliance of Socialists and Democrats in the European Parliament
 
-              SD
+            30/06/2014
 
-          </a>
         </td>
-        <td>14/07/2009</td>
-        <td>30/06/2014</td>
         <td>European Parliament</td>
 
       </tr>
@@ -212,8 +292,16 @@
 
           </a>
         </td>
-        <td>14/07/2009</td>
-        <td>30/06/2014</td>
+        <td>
+
+            14/07/2009
+
+        </td>
+        <td>
+
+            30/06/2014
+
+        </td>
         <td>Labour Party</td>
 
       </tr>
@@ -221,15 +309,47 @@
       <tr class='mandate'>
         <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
-            Committee on Women&#39;s Rights and Gender Equality
+          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+            Group of the Progressive Alliance of Socialists and Democrats in the European Parliament
 
-              FEMM
+              SD
 
           </a>
         </td>
-        <td>16/07/2009</td>
-        <td>18/01/2012</td>
+        <td>
+
+            14/07/2009
+
+        </td>
+        <td>
+
+            30/06/2014
+
+        </td>
+        <td>European Parliament</td>
+
+      </tr>
+
+      <tr class='mandate'>
+        <td>Substitute</td>
+        <td>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
+            Committee on Legal Affairs
+
+              JURI
+
+          </a>
+        </td>
+        <td>
+
+            20/09/2010
+
+        </td>
+        <td>
+
+            18/01/2012
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -244,24 +364,40 @@
 
           </a>
         </td>
-        <td>16/07/2009</td>
-        <td>18/01/2012</td>
+        <td>
+
+            16/07/2009
+
+        </td>
+        <td>
+
+            18/01/2012
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
 
       <tr class='mandate'>
-        <td>Substitute</td>
+        <td>Member</td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'>
-            Committee on Legal Affairs
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Women&#39;s%20Rights%20and%20Gender%20Equality/'>
+            Committee on Women&#39;s Rights and Gender Equality
 
-              JURI
+              FEMM
 
           </a>
         </td>
-        <td>20/09/2010</td>
-        <td>18/01/2012</td>
+        <td>
+
+            16/07/2009
+
+        </td>
+        <td>
+
+            18/01/2012
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -276,24 +412,16 @@
 
           </a>
         </td>
-        <td>16/07/2009</td>
-        <td>19/09/2010</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            16/07/2009
 
-      <tr class='mandate'>
-        <td>Member</td>
+        </td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Industry,%20Research%20and%20Energy/'>
-            Committee on Industry, Research and Energy
 
-              ITRE
+            19/09/2010
 
-          </a>
         </td>
-        <td>31/01/2007</td>
-        <td>13/07/2009</td>
         <td>European Parliament</td>
 
       </tr>
@@ -308,8 +436,40 @@
 
           </a>
         </td>
-        <td>31/01/2007</td>
-        <td>13/07/2009</td>
+        <td>
+
+            31/01/2007
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
+        <td>European Parliament</td>
+
+      </tr>
+
+      <tr class='mandate'>
+        <td>Member</td>
+        <td>
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Industry,%20Research%20and%20Energy/'>
+            Committee on Industry, Research and Energy
+
+              ITRE
+
+          </a>
+        </td>
+        <td>
+
+            31/01/2007
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -324,8 +484,16 @@
 
           </a>
         </td>
-        <td>31/01/2007</td>
-        <td>13/07/2009</td>
+        <td>
+
+            31/01/2007
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -338,8 +506,16 @@
 
           </a>
         </td>
-        <td>15/09/2004</td>
-        <td>13/07/2009</td>
+        <td>
+
+            15/09/2004
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -347,13 +523,21 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Turkey%20Joint%20Parliamentary%20Committee/'>
-            Delegation to the EU-Turkey Joint Parliamentary Committee
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20Euro-Mediterranean%20Parliamentary%20Assembly/'>
+            Delegation to the Euro-Mediterranean Parliamentary Assembly
 
           </a>
         </td>
-        <td>15/09/2004</td>
-        <td>13/07/2009</td>
+        <td>
+
+            15/09/2004
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -361,17 +545,49 @@
       <tr class='mandate'>
         <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20Euro-Mediterranean%20Parliamentary%20Assembly/'>
-            Delegation to the Euro-Mediterranean Parliamentary Assembly
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Turkey%20Joint%20Parliamentary%20Committee/'>
+            Delegation to the EU-Turkey Joint Parliamentary Committee
 
           </a>
         </td>
-        <td>15/09/2004</td>
-        <td>13/07/2009</td>
+        <td>
+
+            15/09/2004
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
 
+      <tr class='mandate'>
+        <td></td>
+        <td>
+          <a href='/legislature/representative/country/United%20Kingdom/'>
+            United Kingdom
+
+              GB
+
+          </a>
+        </td>
+        <td>
+
+            20/07/2004
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
+        <td>Labour Party</td>
+
+      </tr>
+
       <tr class='mandate'>
         <td>Member</td>
         <td>
@@ -382,25 +598,41 @@
 
           </a>
         </td>
-        <td>20/07/2004</td>
-        <td>13/07/2009</td>
+        <td>
+
+            20/07/2004
+
+        </td>
+        <td>
+
+            13/07/2009
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
 
       <tr class='mandate'>
-        <td></td>
+        <td>Substitute</td>
         <td>
-          <a href='/legislature/representative/country/United%20Kingdom/'>
-            United Kingdom
+          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
+            Committee on Culture and Education
 
-              GB
+              CULT
 
           </a>
         </td>
-        <td>20/07/2004</td>
-        <td>13/07/2009</td>
-        <td>Labour Party</td>
+        <td>
+
+            15/01/2007
+
+        </td>
+        <td>
+
+            30/01/2007
+
+        </td>
+        <td>European Parliament</td>
 
       </tr>
 
@@ -414,8 +646,16 @@
 
           </a>
         </td>
-        <td>15/01/2007</td>
-        <td>30/01/2007</td>
+        <td>
+
+            15/01/2007
+
+        </td>
+        <td>
+
+            30/01/2007
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -430,8 +670,16 @@
 
           </a>
         </td>
-        <td>15/01/2007</td>
-        <td>30/01/2007</td>
+        <td>
+
+            15/01/2007
+
+        </td>
+        <td>
+
+            30/01/2007
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -446,8 +694,16 @@
 
           </a>
         </td>
-        <td>15/01/2007</td>
-        <td>30/01/2007</td>
+        <td>
+
+            21/07/2004
+
+        </td>
+        <td>
+
+            14/01/2007
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -462,8 +718,16 @@
 
           </a>
         </td>
-        <td>21/07/2004</td>
-        <td>14/01/2007</td>
+        <td>
+
+            21/07/2004
+
+        </td>
+        <td>
+
+            14/01/2007
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -478,24 +742,16 @@
 
           </a>
         </td>
-        <td>21/07/2004</td>
-        <td>14/01/2007</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            21/07/2004
 
-      <tr class='mandate'>
-        <td>Substitute</td>
+        </td>
         <td>
-          <a href='/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'>
-            Committee on Culture and Education
 
-              CULT
+            14/01/2007
 
-          </a>
         </td>
-        <td>21/07/2004</td>
-        <td>14/01/2007</td>
         <td>European Parliament</td>
 
       </tr>
@@ -510,24 +766,16 @@
 
           </a>
         </td>
-        <td>17/01/2002</td>
-        <td>19/07/2004</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            17/01/2002
 
-      <tr class='mandate'>
-        <td>Member</td>
+        </td>
         <td>
-          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Party%20of%20European%20Socialists/'>
-            Group of the Party of European Socialists
 
-              PSE
+            19/07/2004
 
-          </a>
         </td>
-        <td>17/02/2000</td>
-        <td>19/07/2004</td>
         <td>European Parliament</td>
 
       </tr>
@@ -542,12 +790,44 @@
 
           </a>
         </td>
-        <td>17/02/2000</td>
-        <td>19/07/2004</td>
+        <td>
+
+            17/02/2000
+
+        </td>
+        <td>
+
+            19/07/2004
+
+        </td>
         <td>Labour Party</td>
 
       </tr>
 
+      <tr class='mandate'>
+        <td>Member</td>
+        <td>
+          <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Party%20of%20European%20Socialists/'>
+            Group of the Party of European Socialists
+
+              PSE
+
+          </a>
+        </td>
+        <td>
+
+            17/02/2000
+
+        </td>
+        <td>
+
+            19/07/2004
+
+        </td>
+        <td>European Parliament</td>
+
+      </tr>
+
       <tr class='mandate'>
         <td>Member</td>
         <td>
@@ -556,8 +836,16 @@
 
           </a>
         </td>
-        <td>07/02/2002</td>
-        <td>30/04/2004</td>
+        <td>
+
+            07/02/2002
+
+        </td>
+        <td>
+
+            30/04/2004
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -570,8 +858,38 @@
 
           </a>
         </td>
-        <td>07/02/2002</td>
-        <td>30/04/2004</td>
+        <td>
+
+            07/02/2002
+
+        </td>
+        <td>
+
+            30/04/2004
+
+        </td>
+        <td>European Parliament</td>
+
+      </tr>
+
+      <tr class='mandate'>
+        <td>Member</td>
+        <td>
+          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Cyprus%20Joint%20Parliamentary%20Committee/'>
+            Delegation to the EU-Cyprus Joint Parliamentary Committee
+
+          </a>
+        </td>
+        <td>
+
+            11/04/2000
+
+        </td>
+        <td>
+
+            14/01/2002
+
+        </td>
         <td>European Parliament</td>
 
       </tr>
@@ -586,25 +904,18 @@
 
           </a>
         </td>
-        <td>01/03/2000</td>
-        <td>14/01/2002</td>
-        <td>European Parliament</td>
+        <td>
 
-      </tr>
+            01/03/2000
 
-      <tr class='mandate'>
-        <td>Member</td>
+        </td>
         <td>
-          <a href='/legislature/representative/delegation/European%20Parliament/Delegation%20to%20the%20EU-Cyprus%20Joint%20Parliamentary%20Committee/'>
-            Delegation to the EU-Cyprus Joint Parliamentary Committee
 
-          </a>
+            14/01/2002
+
         </td>
-        <td>11/04/2000</td>
-        <td>14/01/2002</td>
         <td>European Parliament</td>
 
       </tr>
 
   </table>
-
diff --git a/memopol/tests/response_fixtures/GroupListTest.test_active_parties.content b/memopol/tests/response_fixtures/GroupListTest.test_active_parties.content
index 5411c42a..1dae14d9 100644
--- a/memopol/tests/response_fixtures/GroupListTest.test_active_parties.content
+++ b/memopol/tests/response_fixtures/GroupListTest.test_active_parties.content
@@ -238,41 +238,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
-              
-                EFDD
-              
-            </a>
-          </td>
-          <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
-              
-                <span class="group-icon group-icon-efdd"></span> Europe of Freedom and Direct Democracy Group
-              
-            </a>
-          </td>
-        </tr>
-      
-        <tr>
-          
-            <td>
-              <a href='/legislature/representative/chamber/European%20Parliament/'>
-                <span class="chamber-icon chamber-icon-ep"></span> European Parliament
-
-              </a>
-            </td>
-          
-          <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
               
-                ENF
+                ECR
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
               
-                <span class="group-icon group-icon-enf"></span> Europe of Nations and Freedom Group
+                <span class="group-icon group-icon-ecr"></span> European Conservatives and Reformists Group
               
             </a>
           </td>
@@ -313,16 +288,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
               
-                ECR
+                EFDD
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
               
-                <span class="group-icon group-icon-ecr"></span> European Conservatives and Reformists Group
+                <span class="group-icon group-icon-efdd"></span> Europe of Freedom and Direct Democracy Group
               
             </a>
           </td>
@@ -338,16 +313,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20Union%20for%20Europe/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
               
-                UFE
+                ENF
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20Union%20for%20Europe/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
               
-                <span class="group-icon group-icon-ufe"></span> Group Union for Europe
+                <span class="group-icon group-icon-enf"></span> Europe of Nations and Freedom Group
               
             </a>
           </td>
@@ -478,6 +453,31 @@
           </td>
         </tr>
       
+        <tr>
+          
+            <td>
+              <a href='/legislature/representative/chamber/European%20Parliament/'>
+                <span class="chamber-icon chamber-icon-ep"></span> European Parliament
+
+              </a>
+            </td>
+          
+          <td>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Radical%20Alliance/'>
+              
+                ERA
+              
+            </a>
+          </td>
+          <td>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Radical%20Alliance/'>
+              
+                <span class="group-icon group-icon-era"></span> Group of the European Radical Alliance
+              
+            </a>
+          </td>
+        </tr>
+      
     </table>
   
 
diff --git a/memopol/tests/response_fixtures/GroupListTest.test_all_parties.content b/memopol/tests/response_fixtures/GroupListTest.test_all_parties.content
index b2b606aa..da03bae7 100644
--- a/memopol/tests/response_fixtures/GroupListTest.test_all_parties.content
+++ b/memopol/tests/response_fixtures/GroupListTest.test_all_parties.content
@@ -274,16 +274,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
               
-                EFDD
+                ECR
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
               
-                <span class="group-icon group-icon-efdd"></span> Europe of Freedom and Direct Democracy Group
+                <span class="group-icon group-icon-ecr"></span> European Conservatives and Reformists Group
               
             </a>
           </td>
@@ -299,16 +299,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20freedom%20and%20democracy%20Group/'>
               
-                ENF
+                EFD
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20freedom%20and%20democracy%20Group/'>
               
-                <span class="group-icon group-icon-enf"></span> Europe of Nations and Freedom Group
+                <span class="group-icon group-icon-efd"></span> Europe of freedom and democracy Group
               
             </a>
           </td>
@@ -324,16 +324,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20freedom%20and%20democracy%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
               
-                EFD
+                EFDD
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20freedom%20and%20democracy%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Freedom%20and%20Direct%20Democracy%20Group/'>
               
-                <span class="group-icon group-icon-efd"></span> Europe of freedom and democracy Group
+                <span class="group-icon group-icon-efdd"></span> Europe of Freedom and Direct Democracy Group
               
             </a>
           </td>
@@ -349,16 +349,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
               
-                ECR
+                ENF
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/European%20Conservatives%20and%20Reformists%20Group/'>
+            <a href='/legislature/representative/group/European%20Parliament/Europe%20of%20Nations%20and%20Freedom%20Group/'>
               
-                <span class="group-icon group-icon-ecr"></span> European Conservatives and Reformists Group
+                <span class="group-icon group-icon-enf"></span> Europe of Nations and Freedom Group
               
             </a>
           </td>
@@ -374,16 +374,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20Union%20for%20Europe/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20for%20a%20Europe%20of%20Democracies%20and%20Diversities/'>
               
-                UFE
+                EDD
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20Union%20for%20Europe/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20for%20a%20Europe%20of%20Democracies%20and%20Diversities/'>
               
-                <span class="group-icon group-icon-ufe"></span> Group Union for Europe
+                <span class="group-icon group-icon-edd"></span> Group for a Europe of Democracies and Diversities
               
             </a>
           </td>
@@ -399,16 +399,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20for%20a%20Europe%20of%20Democracies%20and%20Diversities/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20Independents%20for%20a%20Europe%20of%20Nations/'>
               
-                EDD
+                ER
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20for%20a%20Europe%20of%20Democracies%20and%20Diversities/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20Independents%20for%20a%20Europe%20of%20Nations/'>
               
-                <span class="group-icon group-icon-edd"></span> Group for a Europe of Democracies and Diversities
+                <span class="group-icon group-icon-er"></span> Group of Independents for a Europe of Nations
               
             </a>
           </td>
@@ -424,16 +424,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20Independents%20for%20a%20Europe%20of%20Nations/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
               
-                ER
+                ALDE
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20Independents%20for%20a%20Europe%20of%20Nations/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
               
-                <span class="group-icon group-icon-er"></span> Group of Independents for a Europe of Nations
+                <span class="group-icon group-icon-alde"></span> Group of the Alliance of Liberals and Democrats for Europe
               
             </a>
           </td>
@@ -449,16 +449,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Democratic%20Alliance/'>
               
-                ALDE
+                EDA
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Democratic%20Alliance/'>
               
-                <span class="group-icon group-icon-alde"></span> Group of the Alliance of Liberals and Democrats for Europe
+                <span class="group-icon group-icon-eda"></span> Group of the European Democratic Alliance
               
             </a>
           </td>
@@ -474,16 +474,16 @@
             </td>
           
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Democratic%20Alliance/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Liberal,%20Democrat%20and%20Reform%20Party/'>
               
-                EDA
+                ELDR
               
             </a>
           </td>
           <td>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Democratic%20Alliance/'>
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20Liberal,%20Democrat%20and%20Reform%20Party/'>
               
-                <span class="group-icon group-icon-eda"></span> Group of the European Democratic Alliance
+                <span class="group-icon group-icon-eldr"></span> Group of the European Liberal, Democrat and Reform Party
               
             </a>
           </td>
diff --git a/memopol/tests/response_fixtures/RepresentativeListTest.test_filter_chamber.content b/memopol/tests/response_fixtures/RepresentativeListTest.test_filter_chamber.content
index 48d792e8..d14620b6 100644
--- a/memopol/tests/response_fixtures/RepresentativeListTest.test_filter_chamber.content
+++ b/memopol/tests/response_fixtures/RepresentativeListTest.test_filter_chamber.content
@@ -553,14 +553,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/michel-dantin/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
+          <a href='/legislature/representative/viorica-dancila/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/michel-dantin/'>
-              Michel DANTIN
+            <a href='/legislature/representative/viorica-dancila/'>
+              Viorica DÄ‚NCILÄ‚
             </a>
           </li>
           <li class='chamber'>
@@ -569,17 +569,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/France/'>
-              <span class="flag-icon flag-icon-fr"></span> France
+            <a href='/legislature/representative/country/Romania/'>
+              <span class="flag-icon flag-icon-ro"></span> Romania
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-              <span class="group-icon group-icon-epp"></span> EPP
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+              <span class="group-icon group-icon-sd"></span> SD
             </a>
           </li>
           <li class='score'>
-            <span class="label label-danger">-15</span>
+            <span class="label label-success">15</span>
 
           </li>
         </ul>
@@ -587,14 +587,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/tamas-deutsch/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
+          <a href='/legislature/representative/michel-dantin/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/tamas-deutsch/'>
-              Tamás DEUTSCH
+            <a href='/legislature/representative/michel-dantin/'>
+              Michel DANTIN
             </a>
           </li>
           <li class='chamber'>
@@ -603,8 +603,8 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Hungary/'>
-              <span class="flag-icon flag-icon-hu"></span> Hungary
+            <a href='/legislature/representative/country/France/'>
+              <span class="flag-icon flag-icon-fr"></span> France
             </a>
           </li>
           <li class='mandate'>
@@ -621,14 +621,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/viorica-dancila/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
+          <a href='/legislature/representative/tamas-deutsch/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/viorica-dancila/'>
-              Viorica DÄ‚NCILÄ‚
+            <a href='/legislature/representative/tamas-deutsch/'>
+              Tamás DEUTSCH
             </a>
           </li>
           <li class='chamber'>
@@ -637,17 +637,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Romania/'>
-              <span class="flag-icon flag-icon-ro"></span> Romania
+            <a href='/legislature/representative/country/Hungary/'>
+              <span class="flag-icon flag-icon-hu"></span> Hungary
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-              <span class="group-icon group-icon-sd"></span> SD
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+              <span class="group-icon group-icon-epp"></span> EPP
             </a>
           </li>
           <li class='score'>
-            <span class="label label-success">15</span>
+            <span class="label label-danger">-15</span>
 
           </li>
         </ul>
diff --git a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_active_displaylist.content b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_active_displaylist.content
index 0250a093..0dd2bb83 100644
--- a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_active_displaylist.content
+++ b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_active_displaylist.content
@@ -590,14 +590,14 @@
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/michel-dantin/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
+              <a href='/legislature/representative/viorica-dancila/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/michel-dantin/'>
-                Michel DANTIN
+              <a href='/legislature/representative/viorica-dancila/'>
+                Viorica DÄ‚NCILÄ‚
 
               </a>
             </td>
@@ -608,32 +608,32 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/France/'>
-                France [FR]
+              <a href='/legislature/representative/country/Romania/'>
+                Romania [RO]
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-                <span class="group-icon group-icon-epp"></span> EPP
+              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+                <span class="group-icon group-icon-sd"></span> SD
               </a>
             </td>
             <td>
-              <span class="label label-danger">-15</span>
+              <span class="label label-success">15</span>
 
             </td>
           </tr>
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/tamas-deutsch/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
+              <a href='/legislature/representative/michel-dantin/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/tamas-deutsch/'>
-                Tamás DEUTSCH
+              <a href='/legislature/representative/michel-dantin/'>
+                Michel DANTIN
 
               </a>
             </td>
@@ -644,8 +644,8 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/Hungary/'>
-                Hungary [HU]
+              <a href='/legislature/representative/country/France/'>
+                France [FR]
 
               </a>
             </td>
@@ -662,14 +662,14 @@
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/viorica-dancila/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
+              <a href='/legislature/representative/tamas-deutsch/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/viorica-dancila/'>
-                Viorica DÄ‚NCILÄ‚
+              <a href='/legislature/representative/tamas-deutsch/'>
+                Tamás DEUTSCH
 
               </a>
             </td>
@@ -680,18 +680,18 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/Romania/'>
-                Romania [RO]
+              <a href='/legislature/representative/country/Hungary/'>
+                Hungary [HU]
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-                <span class="group-icon group-icon-sd"></span> SD
+              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+                <span class="group-icon group-icon-epp"></span> EPP
               </a>
             </td>
             <td>
-              <span class="label label-success">15</span>
+              <span class="label label-danger">-15</span>
 
             </td>
           </tr>
diff --git a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_all_displaylist.content b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_all_displaylist.content
index 84db20ac..ffc0e5d1 100644
--- a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_all_displaylist.content
+++ b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby12_all_displaylist.content
@@ -590,14 +590,14 @@
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/michel-dantin/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
+              <a href='/legislature/representative/viorica-dancila/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/michel-dantin/'>
-                Michel DANTIN
+              <a href='/legislature/representative/viorica-dancila/'>
+                Viorica DÄ‚NCILÄ‚
 
               </a>
             </td>
@@ -608,32 +608,32 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/France/'>
-                France [FR]
+              <a href='/legislature/representative/country/Romania/'>
+                Romania [RO]
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-                <span class="group-icon group-icon-epp"></span> EPP
+              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+                <span class="group-icon group-icon-sd"></span> SD
               </a>
             </td>
             <td>
-              <span class="label label-danger">-15</span>
+              <span class="label label-success">15</span>
 
             </td>
           </tr>
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/tamas-deutsch/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
+              <a href='/legislature/representative/michel-dantin/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/tamas-deutsch/'>
-                Tamás DEUTSCH
+              <a href='/legislature/representative/michel-dantin/'>
+                Michel DANTIN
 
               </a>
             </td>
@@ -644,8 +644,8 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/Hungary/'>
-                Hungary [HU]
+              <a href='/legislature/representative/country/France/'>
+                France [FR]
 
               </a>
             </td>
@@ -662,14 +662,14 @@
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/viorica-dancila/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
+              <a href='/legislature/representative/tamas-deutsch/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/viorica-dancila/'>
-                Viorica DÄ‚NCILÄ‚
+              <a href='/legislature/representative/tamas-deutsch/'>
+                Tamás DEUTSCH
 
               </a>
             </td>
@@ -680,18 +680,18 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/Romania/'>
-                Romania [RO]
+              <a href='/legislature/representative/country/Hungary/'>
+                Hungary [HU]
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-                <span class="group-icon group-icon-sd"></span> SD
+              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+                <span class="group-icon group-icon-epp"></span> EPP
               </a>
             </td>
             <td>
-              <span class="label label-success">15</span>
+              <span class="label label-danger">-15</span>
 
             </td>
           </tr>
diff --git a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_active_displaygrid.content b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_active_displaygrid.content
index 3cb5bef4..8b029378 100644
--- a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_active_displaygrid.content
+++ b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_active_displaygrid.content
@@ -542,14 +542,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/michel-dantin/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
+          <a href='/legislature/representative/viorica-dancila/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/michel-dantin/'>
-              Michel DANTIN
+            <a href='/legislature/representative/viorica-dancila/'>
+              Viorica DÄ‚NCILÄ‚
             </a>
           </li>
           <li class='chamber'>
@@ -558,17 +558,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/France/'>
-              <span class="flag-icon flag-icon-fr"></span> France
+            <a href='/legislature/representative/country/Romania/'>
+              <span class="flag-icon flag-icon-ro"></span> Romania
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-              <span class="group-icon group-icon-epp"></span> EPP
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+              <span class="group-icon group-icon-sd"></span> SD
             </a>
           </li>
           <li class='score'>
-            <span class="label label-danger">-15</span>
+            <span class="label label-success">15</span>
 
           </li>
         </ul>
@@ -576,14 +576,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/tamas-deutsch/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
+          <a href='/legislature/representative/michel-dantin/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/tamas-deutsch/'>
-              Tamás DEUTSCH
+            <a href='/legislature/representative/michel-dantin/'>
+              Michel DANTIN
             </a>
           </li>
           <li class='chamber'>
@@ -592,8 +592,8 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Hungary/'>
-              <span class="flag-icon flag-icon-hu"></span> Hungary
+            <a href='/legislature/representative/country/France/'>
+              <span class="flag-icon flag-icon-fr"></span> France
             </a>
           </li>
           <li class='mandate'>
@@ -610,14 +610,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/viorica-dancila/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
+          <a href='/legislature/representative/tamas-deutsch/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/viorica-dancila/'>
-              Viorica DÄ‚NCILÄ‚
+            <a href='/legislature/representative/tamas-deutsch/'>
+              Tamás DEUTSCH
             </a>
           </li>
           <li class='chamber'>
@@ -626,17 +626,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Romania/'>
-              <span class="flag-icon flag-icon-ro"></span> Romania
+            <a href='/legislature/representative/country/Hungary/'>
+              <span class="flag-icon flag-icon-hu"></span> Hungary
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-              <span class="group-icon group-icon-sd"></span> SD
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+              <span class="group-icon group-icon-epp"></span> EPP
             </a>
           </li>
           <li class='score'>
-            <span class="label label-success">15</span>
+            <span class="label label-danger">-15</span>
 
           </li>
         </ul>
@@ -814,14 +814,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/eider-gardiazabal-rubial/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/96991.jpg' width='80' />
+          <a href='/legislature/representative/kinga-gal/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/28150.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/eider-gardiazabal-rubial/'>
-              Eider GARDIAZABAL RUBIAL
+            <a href='/legislature/representative/kinga-gal/'>
+              Kinga GÁL
             </a>
           </li>
           <li class='chamber'>
@@ -830,17 +830,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Spain/'>
-              <span class="flag-icon flag-icon-es"></span> Spain
+            <a href='/legislature/representative/country/Hungary/'>
+              <span class="flag-icon flag-icon-hu"></span> Hungary
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-              <span class="group-icon group-icon-sd"></span> SD
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+              <span class="group-icon group-icon-epp"></span> EPP
             </a>
           </li>
           <li class='score'>
-            <span class="label label-success">15</span>
+            <span class="label label-danger">-15</span>
 
           </li>
         </ul>
@@ -848,14 +848,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/kinga-gal/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/28150.jpg' width='80' />
+          <a href='/legislature/representative/ildiko-gall-pelcz/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/102886.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/kinga-gal/'>
-              Kinga GÁL
+            <a href='/legislature/representative/ildiko-gall-pelcz/'>
+              Ildikó GÁLL-PELCZ
             </a>
           </li>
           <li class='chamber'>
@@ -882,14 +882,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/ildiko-gall-pelcz/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/102886.jpg' width='80' />
+          <a href='/legislature/representative/eider-gardiazabal-rubial/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/96991.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/ildiko-gall-pelcz/'>
-              Ildikó GÁLL-PELCZ
+            <a href='/legislature/representative/eider-gardiazabal-rubial/'>
+              Eider GARDIAZABAL RUBIAL
             </a>
           </li>
           <li class='chamber'>
@@ -898,17 +898,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Hungary/'>
-              <span class="flag-icon flag-icon-hu"></span> Hungary
+            <a href='/legislature/representative/country/Spain/'>
+              <span class="flag-icon flag-icon-es"></span> Spain
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-              <span class="group-icon group-icon-epp"></span> EPP
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+              <span class="group-icon group-icon-sd"></span> SD
             </a>
           </li>
           <li class='score'>
-            <span class="label label-danger">-15</span>
+            <span class="label label-success">15</span>
 
           </li>
         </ul>
diff --git a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_all_displaygrid.content b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_all_displaygrid.content
index a2c53d55..55242639 100644
--- a/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_all_displaygrid.content
+++ b/memopol/tests/response_fixtures/RepresentativeListTest.test_page1_paginateby24_all_displaygrid.content
@@ -542,14 +542,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/michel-dantin/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
+          <a href='/legislature/representative/viorica-dancila/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/michel-dantin/'>
-              Michel DANTIN
+            <a href='/legislature/representative/viorica-dancila/'>
+              Viorica DÄ‚NCILÄ‚
             </a>
           </li>
           <li class='chamber'>
@@ -558,17 +558,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/France/'>
-              <span class="flag-icon flag-icon-fr"></span> France
+            <a href='/legislature/representative/country/Romania/'>
+              <span class="flag-icon flag-icon-ro"></span> Romania
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-              <span class="group-icon group-icon-epp"></span> EPP
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+              <span class="group-icon group-icon-sd"></span> SD
             </a>
           </li>
           <li class='score'>
-            <span class="label label-danger">-15</span>
+            <span class="label label-success">15</span>
 
           </li>
         </ul>
@@ -576,14 +576,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/tamas-deutsch/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
+          <a href='/legislature/representative/michel-dantin/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/97296.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/tamas-deutsch/'>
-              Tamás DEUTSCH
+            <a href='/legislature/representative/michel-dantin/'>
+              Michel DANTIN
             </a>
           </li>
           <li class='chamber'>
@@ -592,8 +592,8 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Hungary/'>
-              <span class="flag-icon flag-icon-hu"></span> Hungary
+            <a href='/legislature/representative/country/France/'>
+              <span class="flag-icon flag-icon-fr"></span> France
             </a>
           </li>
           <li class='mandate'>
@@ -610,14 +610,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/viorica-dancila/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/95281.jpg' width='80' />
+          <a href='/legislature/representative/tamas-deutsch/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/96826.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/viorica-dancila/'>
-              Viorica DÄ‚NCILÄ‚
+            <a href='/legislature/representative/tamas-deutsch/'>
+              Tamás DEUTSCH
             </a>
           </li>
           <li class='chamber'>
@@ -626,17 +626,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Romania/'>
-              <span class="flag-icon flag-icon-ro"></span> Romania
+            <a href='/legislature/representative/country/Hungary/'>
+              <span class="flag-icon flag-icon-hu"></span> Hungary
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-              <span class="group-icon group-icon-sd"></span> SD
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+              <span class="group-icon group-icon-epp"></span> EPP
             </a>
           </li>
           <li class='score'>
-            <span class="label label-success">15</span>
+            <span class="label label-danger">-15</span>
 
           </li>
         </ul>
@@ -814,14 +814,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/eider-gardiazabal-rubial/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/96991.jpg' width='80' />
+          <a href='/legislature/representative/kinga-gal/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/28150.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/eider-gardiazabal-rubial/'>
-              Eider GARDIAZABAL RUBIAL
+            <a href='/legislature/representative/kinga-gal/'>
+              Kinga GÁL
             </a>
           </li>
           <li class='chamber'>
@@ -830,17 +830,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Spain/'>
-              <span class="flag-icon flag-icon-es"></span> Spain
+            <a href='/legislature/representative/country/Hungary/'>
+              <span class="flag-icon flag-icon-hu"></span> Hungary
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-              <span class="group-icon group-icon-sd"></span> SD
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+              <span class="group-icon group-icon-epp"></span> EPP
             </a>
           </li>
           <li class='score'>
-            <span class="label label-success">15</span>
+            <span class="label label-danger">-15</span>
 
           </li>
         </ul>
@@ -848,14 +848,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/kinga-gal/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/28150.jpg' width='80' />
+          <a href='/legislature/representative/ildiko-gall-pelcz/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/102886.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/kinga-gal/'>
-              Kinga GÁL
+            <a href='/legislature/representative/ildiko-gall-pelcz/'>
+              Ildikó GÁLL-PELCZ
             </a>
           </li>
           <li class='chamber'>
@@ -882,14 +882,14 @@
     
       <div class='representative_item active'>
         <p class='photo'>
-          <a href='/legislature/representative/ildiko-gall-pelcz/'>
-            <img src='http://www.europarl.europa.eu/mepphoto/102886.jpg' width='80' />
+          <a href='/legislature/representative/eider-gardiazabal-rubial/'>
+            <img src='http://www.europarl.europa.eu/mepphoto/96991.jpg' width='80' />
           </a>
         </p>
         <ul>
           <li class='name'>
-            <a href='/legislature/representative/ildiko-gall-pelcz/'>
-              Ildikó GÁLL-PELCZ
+            <a href='/legislature/representative/eider-gardiazabal-rubial/'>
+              Eider GARDIAZABAL RUBIAL
             </a>
           </li>
           <li class='chamber'>
@@ -898,17 +898,17 @@
             </a>
           </li>
           <li class='country'>
-            <a href='/legislature/representative/country/Hungary/'>
-              <span class="flag-icon flag-icon-hu"></span> Hungary
+            <a href='/legislature/representative/country/Spain/'>
+              <span class="flag-icon flag-icon-es"></span> Spain
             </a>
           </li>
           <li class='mandate'>
-            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-              <span class="group-icon group-icon-epp"></span> EPP
+            <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+              <span class="group-icon group-icon-sd"></span> SD
             </a>
           </li>
           <li class='score'>
-            <span class="label label-danger">-15</span>
+            <span class="label label-success">15</span>
 
           </li>
         </ul>
diff --git a/memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby12_displaylist.content b/memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby12_displaylist.content
index 294423ff..cb897b6b 100644
--- a/memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby12_displaylist.content
+++ b/memopol/tests/response_fixtures/RepresentativeListTest.test_page2_paginateby12_displaylist.content
@@ -459,14 +459,14 @@
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/eider-gardiazabal-rubial/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/96991.jpg' width='80' />
+              <a href='/legislature/representative/kinga-gal/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/28150.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/eider-gardiazabal-rubial/'>
-                Eider GARDIAZABAL RUBIAL
+              <a href='/legislature/representative/kinga-gal/'>
+                Kinga GÁL
 
               </a>
             </td>
@@ -477,32 +477,32 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/Spain/'>
-                Spain [ES]
+              <a href='/legislature/representative/country/Hungary/'>
+                Hungary [HU]
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
-                <span class="group-icon group-icon-sd"></span> SD
+              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
+                <span class="group-icon group-icon-epp"></span> EPP
               </a>
             </td>
             <td>
-              <span class="label label-success">15</span>
+              <span class="label label-danger">-15</span>
 
             </td>
           </tr>
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/kinga-gal/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/28150.jpg' width='80' />
+              <a href='/legislature/representative/ildiko-gall-pelcz/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/102886.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/kinga-gal/'>
-                Kinga GÁL
+              <a href='/legislature/representative/ildiko-gall-pelcz/'>
+                Ildikó GÁLL-PELCZ
 
               </a>
             </td>
@@ -531,14 +531,14 @@
         
           <tr class='representative_item active'>
             <td class='photo'>
-              <a href='/legislature/representative/ildiko-gall-pelcz/'>
-                <img src='http://www.europarl.europa.eu/mepphoto/102886.jpg' width='80' />
+              <a href='/legislature/representative/eider-gardiazabal-rubial/'>
+                <img src='http://www.europarl.europa.eu/mepphoto/96991.jpg' width='80' />
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/ildiko-gall-pelcz/'>
-                Ildikó GÁLL-PELCZ
+              <a href='/legislature/representative/eider-gardiazabal-rubial/'>
+                Eider GARDIAZABAL RUBIAL
 
               </a>
             </td>
@@ -549,18 +549,18 @@
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/country/Hungary/'>
-                Hungary [HU]
+              <a href='/legislature/representative/country/Spain/'>
+                Spain [ES]
 
               </a>
             </td>
             <td>
-              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20European%20People&#39;s%20Party%20(Christian%20Democrats)/'>
-                <span class="group-icon group-icon-epp"></span> EPP
+              <a href='/legislature/representative/group/European%20Parliament/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'>
+                <span class="group-icon group-icon-sd"></span> SD
               </a>
             </td>
             <td>
-              <span class="label label-danger">-15</span>
+              <span class="label label-success">15</span>
 
             </td>
           </tr>
-- 
GitLab