Commit bcba3565 authored by Robin's avatar Robin

Fix representatives details templates.

parent 75735a5a
......@@ -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
***************************************************************/
......
{% load representatives_tags %}
{% load memopol_tags %}
<br/>
<div class="row">
{% for mandate in mandates %}
......
{% load i18n %}
{% load humanize %}
{% load representatives_tags %}
{% load memopol_tags %}
{% load representatives_recommendations_tags %}
<div class="col-sm-9">
......
{% load i18n %}
{% load representatives_votes_tags %}
{% load representatives_recommendations_tags %}
<div class="panel-group" id="accordion-Dossiers" role="tablist" aria-multiselectable="true">
......
{% extends 'base.html' %}
{% load i18n %}
{% load i18n memopol_tags %}
{% block title %}{{ representative.full_name }}{% endblock %}
......
......@@ -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">
......
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