Skip to content
GitLab
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
bcba3565
Commit
bcba3565
authored
Aug 07, 2016
by
Robin
Browse files
Fix representatives details templates.
parent
75735a5a
Changes
6
Hide whitespace changes
Inline
Side-by-side
static/css/custom.css
View file @
bcba3565
...
...
@@ -262,6 +262,12 @@ thead th {
MEPs
***************************************************************/
.dl-horizontal
dt
{
width
:
100px
;
}
.dl-horizontal
dd
{
margin-left
:
120px
;
}
iframe
{
border
:
none
;
...
...
@@ -283,6 +289,16 @@ iframe {
border
:
none
;
}
.thumbnail.mandat-fini
{
background
:
#eee
;
}
.thumbnail.mandat-fini
hr
{
border-color
:
#ddd
;
}
/***************************************************************
Dossiers
***************************************************************/
...
...
templates/representatives/_mandates.html
View file @
bcba3565
{% load
representatives
_tags %}
{% load
memopol
_tags %}
<br/>
<div
class=
"row"
>
{% for mandate in mandates %}
...
...
templates/representatives/_representative_block.html
View file @
bcba3565
{% load i18n %}
{% load humanize %}
{% load
representatives
_tags %}
{% load
memopol
_tags %}
{% load representatives_recommendations_tags %}
<div
class=
"col-sm-9"
>
...
...
templates/representatives/_votes.html
View file @
bcba3565
{% load i18n %}
{% load representatives_votes_tags %}
{% load representatives_recommendations_tags %}
<div
class=
"panel-group"
id=
"accordion-Dossiers"
role=
"tablist"
aria-multiselectable=
"true"
>
...
...
templates/representatives/representative_detail.html
View file @
bcba3565
{% extends 'base.html' %}
{% load i18n %}
{% load i18n
memopol_tags
%}
{% block title %}{{ representative.full_name }}{% endblock %}
...
...
templates/representatives/representative_grid.html
View file @
bcba3565
...
...
@@ -54,7 +54,7 @@
{% for representative in object_list %}
<div
class=
"col-xs-12 col-md-4"
>
<div
class=
"thumbnail"
>
<a
href=
"{
{
representative
.get_absolute_url }
}"
class=
"custom-thumbnail custom-invisible"
>
<a
href=
"{
% url "
representative
-detail
"
slug=
representative.slug
%
}"
class=
"custom-thumbnail custom-invisible"
>
<div
class=
"row"
>
<div
class=
"col-xs-5"
>
<img
class=
"img-responsive"
src=
"{{ representative.photo }}"
width=
"158px"
>
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment