Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
memopol
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
32
Issues
32
List
Boards
Labels
Service Desk
Milestones
Merge Requests
6
Merge Requests
6
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Political Memory
memopol
Commits
5bc7f370
Commit
5bc7f370
authored
Aug 07, 2016
by
Sylvain Boissel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Separate representative details into subpages
parent
7e33ec23
Changes
22
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
1918 additions
and
1115 deletions
+1918
-1115
README.md
README.md
+1
-1
memopol/tests/RepresentativeDetailTest/test_mandates_display.html
...tests/RepresentativeDetailTest/test_mandates_display.html
+0
-921
memopol/tests/RepresentativeDetailTest/test_positions_display.html
...ests/RepresentativeDetailTest/test_positions_display.html
+0
-36
memopol/tests/RepresentativeDetailTest/test_votes_display.html
...ol/tests/RepresentativeDetailTest/test_votes_display.html
+0
-67
memopol/tests/base.py
memopol/tests/base.py
+1
-0
memopol/tests/response_fixtures/RepresentativeDetailTest.test_mandates_display.content
...es/RepresentativeDetailTest.test_mandates_display.content
+1085
-0
memopol/tests/response_fixtures/RepresentativeDetailTest.test_mandates_display.metadata
...s/RepresentativeDetailTest.test_mandates_display.metadata
+3
-0
memopol/tests/response_fixtures/RepresentativeDetailTest.test_positions_display.content
...s/RepresentativeDetailTest.test_positions_display.content
+274
-0
memopol/tests/response_fixtures/RepresentativeDetailTest.test_positions_display.metadata
.../RepresentativeDetailTest.test_positions_display.metadata
+3
-0
memopol/tests/response_fixtures/RepresentativeDetailTest.test_votes_display.content
...tures/RepresentativeDetailTest.test_votes_display.content
+270
-0
memopol/tests/response_fixtures/RepresentativeDetailTest.test_votes_display.metadata
...ures/RepresentativeDetailTest.test_votes_display.metadata
+3
-0
memopol/tests/test_representatives_detail.py
memopol/tests/test_representatives_detail.py
+20
-8
memopol/urls.py
memopol/urls.py
+19
-0
memopol/views/representative_detail.py
memopol/views/representative_detail.py
+0
-19
memopol/views/representative_mandates.py
memopol/views/representative_mandates.py
+29
-0
memopol/views/representative_positions.py
memopol/views/representative_positions.py
+40
-0
memopol/views/representative_votes.py
memopol/views/representative_votes.py
+42
-0
templates/representatives/_representative_menu.haml
templates/representatives/_representative_menu.haml
+15
-0
templates/representatives/representative_detail.haml
templates/representatives/representative_detail.haml
+5
-63
templates/representatives/representative_mandates.haml
templates/representatives/representative_mandates.haml
+35
-0
templates/representatives/representative_positions.haml
templates/representatives/representative_positions.haml
+32
-0
templates/representatives/representative_votes.haml
templates/representatives/representative_votes.haml
+41
-0
No files found.
README.md
View file @
5bc7f370
[

](https://travis-ci.org/political-memory/political_memory)
[

](https://codecov.io/github/political-memory/political_memory?branch=master)
[
Manual
](
http://memopol.readthedocs.io/en/master/index.html
)
[
Manual
](
http://memopol.readthedocs.io/en/master/index.html
)
\ No newline at end of file
memopol/tests/RepresentativeDetailTest/test_mandates_display.html
deleted
100644 → 0
View file @
7e33ec23
<h2>
Mandates
</h2>
<table
class=
'table table-condensed mandates'
>
<tr
class=
'mandate'
>
<td>
Substitute
</td>
<td>
<a
href=
'/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20Palestine/'
>
Delegation for relations with Palestine
</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%20for%20relations%20with%20South%20Africa/'
>
Delegation for relations with South Africa
</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>
14/07/2014
</td>
<td>
present
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Substitute
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'
>
Committee on Culture and Education
CULT
</a>
</td>
<td>
08/07/2014
</td>
<td>
present
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Member
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Legal%20Affairs/'
>
Committee on Legal Affairs
JURI
</a>
</td>
<td>
01/07/2014
</td>
<td>
present
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Member
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Women's%20Rights%20and%20Gender%20Equality/'
>
Committee on Women
'
s Rights and Gender Equality
FEMM
</a>
</td>
<td>
01/07/2014
</td>
<td>
present
</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>
01/07/2014
</td>
<td>
present
</td>
<td>
Labour Party
</td>
</tr>
<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
SD
</a>
</td>
<td>
01/07/2014
</td>
<td>
present
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Member
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'
>
Committee on Culture and Education
CULT
</a>
</td>
<td>
19/01/2012
</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>
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's%20Rights%20and%20Gender%20Equality/'
>
Committee on Women
'
s Rights and Gender Equality
FEMM
</a>
</td>
<td>
19/01/2012
</td>
<td>
30/06/2014
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Substitute
</td>
<td>
<a
href=
'/legislature/representative/delegation/European%20Parliament/Delegation%20for%20relations%20with%20Canada/'
>
Delegation for relations with Canada
</a>
</td>
<td>
16/09/2009
</td>
<td>
30/06/2014
</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>
14/07/2009
</td>
<td>
30/06/2014
</td>
<td>
Labour Party
</td>
</tr>
<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
SD
</a>
</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>
<tr
class=
'mandate'
>
<td>
Member
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'
>
Committee on Culture and Education
CULT
</a>
</td>
<td>
16/07/2009
</td>
<td>
18/01/2012
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Member
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Women's%20Rights%20and%20Gender%20Equality/'
>
Committee on Women
'
s Rights and Gender Equality
FEMM
</a>
</td>
<td>
16/07/2009
</td>
<td>
18/01/2012
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Substitute
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Regional%20Development/'
>
Committee on Regional Development
REGI
</a>
</td>
<td>
16/07/2009
</td>
<td>
19/09/2010
</td>
<td>
European Parliament
</td>
</tr>
<tr
class=
'mandate'
>
<td>
Substitute
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Culture%20and%20Education/'
>
Committee on Culture and Education
CULT
</a>
</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>
<tr
class=
'mandate'
>
<td>
Substitute
</td>
<td>
<a
href=
'/legislature/representative/committee/European%20Parliament/Committee%20on%20Women's%20Rights%20and%20Gender%20Equality/'
>
Committee on Women
'
s Rights and Gender Equality
FEMM
</a>
</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/delegation/European%20Parliament/Delegation%20to%20the%20EU-Former%20Yugoslav%20Republic%20of%20Macedonia%20Joint%20Parliamentary%20Committee/'
>
Delegation to the EU-Former Yugoslav Republic of Macedonia Joint Parliamentary Committee
</a>
</td>
<td>
15/09/2004
</td>
<td>
13/07/2009
</td>
<td>
European Parliament
</td>
</tr>
<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>
</td>
<td>
15/09/2004
</td>
<td>
13/07/2009
</td>
<td>
European Parliament
</td>
</tr>
<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>
</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>
<a
href=
'/legislature/representative/group/European%20Parliament/Socialist%20Group%20in%20the%20European%20Parliament/'
>
Socialist Group in the European Parliament
PSE
</a>
</td>
<td>
20/07/2004
</td>
<td>