Commit 20999807 authored by James Pic's avatar James Pic

Merge pull request #50 from political-memory/bugfix_link

Use Country.get_absolute_url in templates
parents 9c884e2a 95639bc9
<!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">
......@@ -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/'>
......@@ -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/'>
......@@ -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&#39;s%20Party%20(Christian%20Democrats)/'>
......@@ -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&#39;s%20Party%20(Christian%20Democrats)/'>
......@@ -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&#39;s%20Party%20(Christian%20Democrats)/'>
......@@ -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/'>
......@@ -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/'>
......@@ -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/'>
......@@ -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&#39;s%20Party%20(Christian%20Democrats)/'>
......@@ -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&#39;s%20Party%20(Christian%20Democrats)/'>
......@@ -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/'>
......@@ -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/'>
......@@ -582,3 +679,29 @@
</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>
<!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">
......@@ -109,8 +182,10 @@
</a>
</td>
<td>
<a href='/legislature/representative/country/France/'>
France [FR]
</a>
</td>
<td>
<a href='/legislature/representative/group/Group%20of%20the%20Greens/European%20Free%20Alliance/'>
......@@ -186,3 +261,27 @@
</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>
<!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">
......@@ -124,7 +197,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/LT/'>
<a href='/legislature/representative/country/Lithuania/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania
</a>
</li>
......@@ -153,7 +226,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/LT/'>
<a href='/legislature/representative/country/Lithuania/'>
<span class="flag-icon flag-icon-lt"></span> Lithuania
</a>
</li>
......@@ -182,7 +255,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/DE/'>
<a href='/legislature/representative/country/Germany/'>
<span class="flag-icon flag-icon-de"></span> Germany
</a>
</li>
......@@ -211,7 +284,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/RO/'>
<a href='/legislature/representative/country/Romania/'>
<span class="flag-icon flag-icon-ro"></span> Romania
</a>
</li>
......@@ -240,7 +313,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/MT/'>
<a href='/legislature/representative/country/Malta/'>
<span class="flag-icon flag-icon-mt"></span> Malta
</a>
</li>
......@@ -269,7 +342,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/FR/'>
<a href='/legislature/representative/country/France/'>
<span class="flag-icon flag-icon-fr"></span> France
</a>
</li>
......@@ -298,7 +371,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/GR/'>
<a href='/legislature/representative/country/Greece/'>
<span class="flag-icon flag-icon-gr"></span> Greece
</a>
</li>
......@@ -327,7 +400,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/DE/'>
<a href='/legislature/representative/country/Germany/'>
<span class="flag-icon flag-icon-de"></span> Germany
</a>
</li>
......@@ -356,7 +429,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/FR/'>
<a href='/legislature/representative/country/France/'>
<span class="flag-icon flag-icon-fr"></span> France
</a>
</li>
......@@ -385,7 +458,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/HU/'>
<a href='/legislature/representative/country/Hungary/'>
<span class="flag-icon flag-icon-hu"></span> Hungary
</a>
</li>
......@@ -414,7 +487,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/RO/'>
<a href='/legislature/representative/country/Romania/'>
<span class="flag-icon flag-icon-ro"></span> Romania
</a>
</li>
......@@ -443,7 +516,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/NL/'>
<a href='/legislature/representative/country/Netherlands/'>
<span class="flag-icon flag-icon-nl"></span> Netherlands
</a>
</li>
......@@ -472,7 +545,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/DE/'>
<a href='/legislature/representative/country/Germany/'>
<span class="flag-icon flag-icon-de"></span> Germany
</a>
</li>
......@@ -501,7 +574,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/PT/'>
<a href='/legislature/representative/country/Portugal/'>
<span class="flag-icon flag-icon-pt"></span> Portugal
</a>
</li>
......@@ -530,7 +603,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/SK/'>
<a href='/legislature/representative/country/Slovakia/'>
<span class="flag-icon flag-icon-sk"></span> Slovakia
</a>
</li>
......@@ -559,7 +632,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/GB/'>
<a href='/legislature/representative/country/United%20Kingdom/'>
<span class="flag-icon flag-icon-gb"></span> United Kingdom
</a>
</li>
......@@ -588,7 +661,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/ES/'>
<a href='/legislature/representative/country/Spain/'>
<span class="flag-icon flag-icon-es"></span> Spain
</a>
</li>
......@@ -617,7 +690,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/HU/'>
<a href='/legislature/representative/country/Hungary/'>
<span class="flag-icon flag-icon-hu"></span> Hungary
</a>
</li>
......@@ -646,7 +719,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/HU/'>
<a href='/legislature/representative/country/Hungary/'>
<span class="flag-icon flag-icon-hu"></span> Hungary
</a>
</li>
......@@ -675,7 +748,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/IE/'>
<a href='/legislature/representative/country/Ireland/'>
<span class="flag-icon flag-icon-ie"></span> Ireland
</a>
</li>
......@@ -704,7 +777,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/GB/'>
<a href='/legislature/representative/country/United%20Kingdom/'>
<span class="flag-icon flag-icon-gb"></span> United Kingdom
</a>
</li>
......@@ -733,7 +806,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/BG/'>
<a href='/legislature/representative/country/Bulgaria/'>
<span class="flag-icon flag-icon-bg"></span> Bulgaria
</a>
</li>
......@@ -762,7 +835,7 @@
</a>
</li>
<li class='country'>
<a href='/legislature/representative/country/FI/'>
<a href='/legislature/representative/country/Finland/'>
<span class="flag-icon flag-icon-fi"></span> Finland
</a>
</li>
......@@ -791,7 +864,7 @@
</a>