Commit b9802f2d authored by njoyard's avatar njoyard Committed by GitHub
Browse files

Merge pull request #90 from political-memory/country-flags

Add country flags (and import template tags)
parents bbf10045 d900f7fe
......@@ -190,8 +190,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Austria/'>
Austria
<span class="flag-icon flag-icon-at"></span> Austria
</a>
</td>
......@@ -209,8 +208,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Belgium/'>
Belgium
<span class="flag-icon flag-icon-be"></span> Belgium
</a>
</td>
......@@ -228,8 +226,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Bulgaria/'>
Bulgaria
<span class="flag-icon flag-icon-bg"></span> Bulgaria
</a>
</td>
......@@ -247,8 +244,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Cyprus/'>
Cyprus
<span class="flag-icon flag-icon-cy"></span> Cyprus
</a>
</td>
......@@ -266,8 +262,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Czech%20Republic/'>
Czech Republic
<span class="flag-icon flag-icon-cz"></span> Czech Republic
</a>
</td>
......@@ -285,8 +280,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Denmark/'>
Denmark
<span class="flag-icon flag-icon-dk"></span> Denmark
</a>
</td>
......@@ -304,8 +298,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Estonia/'>
Estonia
<span class="flag-icon flag-icon-ee"></span> Estonia
</a>
</td>
......@@ -323,8 +316,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Finland/'>
Finland
<span class="flag-icon flag-icon-fi"></span> Finland
</a>
</td>
......@@ -342,8 +334,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/France/'>
France
<span class="flag-icon flag-icon-fr"></span> France
</a>
</td>
......@@ -361,8 +352,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Germany/'>
Germany
<span class="flag-icon flag-icon-de"></span> Germany
</a>
</td>
......@@ -380,8 +370,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Greece/'>
Greece
<span class="flag-icon flag-icon-gr"></span> Greece
</a>
</td>
......@@ -399,8 +388,7 @@
<td>
<a href='/legislature/representative/country/European%20Parliament/Hungary/'>
Hungary
<span class="flag-icon flag-icon-hu"></span> Hungary
</a>
</td>
......
- load memopol_tags
- load representatives_tags
- load representatives_recommendations_tags
- load humanize
......
- extends 'base.html'
- load memopol_tags
- load representatives_tags
- block content
......@@ -25,6 +24,8 @@
%a{'href': "{% group_url group %}"}=
- if group.kind == 'chamber'
= group|chamber_icon
- elif group.kind == 'country'
= group|country_flag
- elif group.kind == 'group'
= group|group_long_icon
- else
......
......@@ -2,8 +2,6 @@
- load humanize
- load memopol_tags
- load representatives_tags
- load representatives_votes_tags
- load representatives_recommendations_tags
- block head
......
- extends 'representatives/representative_list.html'
- load memopol_tags
- load representatives_tags
- load representatives_recommendations_tags
- block list
......
......@@ -2,7 +2,6 @@
- load i18n
- load memopol_tags
- load representatives_tags
- load representatives_recommendations_tags
- block content
......
- extends "base.html"
- load i18n
- load representatives_votes_tags
- load memopol_tags
- block content
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment