Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Political Memory
memopol
Commits
20999807
Commit
20999807
authored
Jan 27, 2016
by
James Pic
Browse files
Merge pull request #50 from political-memory/bugfix_link
Use Country.get_absolute_url in templates
parents
9c884e2a
95639bc9
Changes
10
Hide whitespace changes
Inline
Side-by-side
memopol/tests/RepresentativeListTest
/
test_page1_paginateby12_displaylist
.html
→
memopol/tests/
response_fixtures/
RepresentativeListTest
.
test_page1_paginateby12_displaylist
/content
View file @
20999807
<div
class=
"container-fluid main-container"
>
<!DOCTYPE html>
<html
class=
"no-js"
lang=
"en"
>
<!--<![endif]-->
<head>
<meta
charset=
"utf-8"
/>
<link
rel=
"icon"
type=
"image/png"
href=
"/static/collected/img/favicon.ico"
/>
<!-- Set the viewport width to device width for mobile -->
<meta
name=
"viewport"
content=
"width=device-width"
/>
<title>
Home
- The Political Memory of
</title>
<link
rel=
"stylesheet"
href=
"/static/collected/libs/bootstrap/dist/css/bootstrap.min.css"
type=
"text/css"
/><link
rel=
"stylesheet"
href=
"/static/collected/libs/fontawesome/css/font-awesome.min.css"
type=
"text/css"
/><link
rel=
"stylesheet"
href=
"/static/collected/libs/flag-icon-css/css/flag-icon.min.css"
type=
"text/css"
/><link
rel=
"stylesheet"
href=
"/static/collected/CACHE/css/base.53baf9815401.css"
type=
"text/css"
/>
<script
type=
"text/javascript"
src=
"/static/collected/libs/jquery/dist/jquery.js"
></script>
<script
type=
"text/javascript"
src=
"/static/collected/libs/bootstrap/dist/js/bootstrap.js"
></script>
</head>
<body
>
<!-- -load memopol_tags cache -->
<div
id=
'header'
class=
'container-fluid'
>
<a
id=
'logo'
href=
'/'
>
<img
src=
'/static/collected/images/logo.png'
/>
</a>
<h1>
<a
id=
'header_banner'
href=
'/'
>
Political Memory
</a>
</h1>
<p
class=
'organization'
>
</p>
</div>
<div
id=
'nav'
class=
'container-fluid'
>
<ul
class=
'nav'
>
<li>
<a
href=
'/legislature/representative/'
>
Representatives
</a>
</li>
<li>
<a
href=
'/legislature/groups/country/'
>
Countries
</a>
</li>
<li>
<a
href=
'/legislature/groups/group/'
>
Parties
</a>
</li>
<li>
<a
href=
'/legislature/groups/delegation/'
>
Delegations
</a>
</li>
<li>
<a
href=
'/legislature/groups/committee/'
>
Committees
</a>
</li>
<li>
<a
href=
'/votes/dossier/'
>
Votes
</a>
</li>
</ul>
</div>
<div
class=
"container-fluid main-container"
>
<form
action=
''
method=
'get'
>
<label
for=
'search'
>
...
...
@@ -11,47 +84,47 @@
<input
type=
'submit'
value=
'Go'
/>
</form>
<div
class=
'pagination-block'
>
<nav>
<ul
class=
'pagination pagination-sm'
>
<li
class=
'active'
>
<a
href=
''
>
1
</a>
</li>
<li>
<a
href=
'?&page=2'
>
2
</a>
</li>
<li>
<a
href=
'?&page=3'
>
3
</a>
</li>
<li>
<a
aria-label=
'Next'
href=
'?&page=2'
>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-right"
></i>
...
...
@@ -64,7 +137,7 @@
</a>
</li>
</ul>
</nav>
<div
class=
'count'
>
...
...
@@ -73,35 +146,35 @@
Number of displayed results :
12
(
<a
href=
'?paginate_by=12'
>
12
</a>
/
<a
href=
'?paginate_by=24'
>
24
</a>
/
<a
href=
'?paginate_by=48'
>
48
</a>
/
<a
href=
'?paginate_by=96'
>
96
</a>
)
<span
class=
'grid-list-selector'
>
<a
href=
'?display=grid'
>
<i
class=
"fa fa-th"
></i>
...
...
@@ -113,12 +186,12 @@
</span>
</div>
</div>
<table
class=
'table'
>
<tr>
...
...
@@ -139,7 +212,7 @@
</th>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/zigmantas-balcytis/'
>
...
...
@@ -154,8 +227,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Lithuania/'
>
Lithuania [LT]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'
>
...
...
@@ -167,7 +242,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/vilija-blinkeviciute/'
>
...
...
@@ -182,8 +257,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Lithuania/'
>
Lithuania [LT]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'
>
...
...
@@ -195,7 +272,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/elmar-brok/'
>
...
...
@@ -210,8 +287,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Germany/'
>
Germany [DE]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
...
...
@@ -223,7 +302,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/cristian-silviu-busoi/'
>
...
...
@@ -238,8 +317,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Romania/'
>
Romania [RO]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
...
...
@@ -251,7 +332,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/david-casa/'
>
...
...
@@ -266,8 +347,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Malta/'
>
Malta [MT]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
...
...
@@ -279,7 +362,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/jean-marie-cavada/'
>
...
...
@@ -294,8 +377,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/France/'
>
France [FR]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Alliance%20of%20Liberals%20and%20Democrats%20for%20Europe/'
>
...
...
@@ -307,7 +392,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/nikolaos-chountis/'
>
...
...
@@ -322,8 +407,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Greece/'
>
Greece [GR]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Confederal%20Group%20of%20the%20European%20United%20Left%20-%20Nordic%20Green%20Left/'
>
...
...
@@ -335,7 +422,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/michael-cramer/'
>
...
...
@@ -350,8 +437,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Germany/'
>
Germany [DE]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Greens/European%20Free%20Alliance/'
>
...
...
@@ -363,7 +452,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/michel-dantin/'
>
...
...
@@ -378,8 +467,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/France/'
>
France [FR]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
...
...
@@ -391,7 +482,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/tamas-deutsch/'
>
...
...
@@ -406,8 +497,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Hungary/'
>
Hungary [HU]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20European%20People's%20Party%20(Christian%20Democrats)/'
>
...
...
@@ -419,7 +512,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/viorica-dancila/'
>
...
...
@@ -434,8 +527,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Romania/'
>
Romania [RO]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Progressive%20Alliance%20of%20Socialists%20and%20Democrats%20in%20the%20European%20Parliament/'
>
...
...
@@ -447,7 +542,7 @@
</td>
</tr>
<tr>
<td>
<a
href=
'/legislature/representative/bas-eickhout/'
>
...
...
@@ -462,8 +557,10 @@
</a>
</td>
<td>
<a
href=
'/legislature/representative/country/Netherlands/'
>
Netherlands [NL]
</a>
</td>
<td>
<a
href=
'/legislature/representative/group/Group%20of%20the%20Greens/European%20Free%20Alliance/'
>
...
...
@@ -475,49 +572,49 @@
</td>
</tr>
</table>
<div
class=
'pagination-block'
>
<nav>
<ul
class=
'pagination pagination-sm'
>
<li
class=
'active'
>
<a
href=
''
>
1
</a>
</li>
<li>
<a
href=
'?&page=2'
>
2
</a>
</li>
<li>
<a
href=
'?&page=3'
>
3
</a>
</li>
<li>
<a
aria-label=
'Next'
href=
'?&page=2'
>
<i
aria-hidden=
"true"
class=
"fa fa-chevron-right"
></i>
...
...
@@ -530,7 +627,7 @@
</a>
</li>
</ul>
</nav>
<div
class=
'count'
>
...
...
@@ -539,35 +636,35 @@
Number of displayed results :
12
(
<a
href=
'?paginate_by=12'
>
12
</a>
/
<a
href=
'?paginate_by=24'
>
24
</a>
/
<a
href=
'?paginate_by=48'
>
48
</a>
/
<a
href=
'?paginate_by=96'
>
96
</a>
)
<span
class=
'grid-list-selector'
>
<a
href=
'?display=grid'
>
<i
class=
"fa fa-th"
></i>
...
...
@@ -579,6 +676,32 @@
</span>
</div>
</div>
</div>
<div
id=
'footer'
class=
'container-fluid'
>
Memopol is free software
<a
href=
"https://gitorious.org/memopol2-0"
>
released
</a>
under the terms of the
<a
href=
"http://www.gnu.org/licenses/agpl.html"
>
GNU aGPLV3+
</a>
<a
href=
'https://projets.lqdn.fr/projects/mempol'
>
Bug tracking system
</a>
<a
href=
'https://projets.lqdn.fr/projects/mempol/issues/new'
>
Report a bug
</a>
<br
/>
Provided by
<a
href=
"http://www.laquadrature.net/"
>
La Quadrature du Net
</a>
</div>
</body>
</html>
memopol/tests/RepresentativeListTest
/
test_page1_paginateby12_displaylist_searchjoly
.html
→
memopol/tests/
response_fixtures/
RepresentativeListTest
.
test_page1_paginateby12_displaylist_searchjoly
/content
View file @
20999807
<div
class=
"container-fluid main-container"
>
<!DOCTYPE html>
<html
class=
"no-js"
lang=
"en"
>
<!--<![endif]-->