Concept-detail

This commit is contained in:
alazo 2018-02-16 15:37:11 +01:00
parent 69cf9d3279
commit 8e103fea5f
6 changed files with 8 additions and 46 deletions

View file

@ -1,19 +1,16 @@
{% extends "./base_site.html" %}
{% load i18n static %}
{% block coltype %}colMS{% endblock %}
{% block content %}
<div id="content-main">
<div style="margin:auto;width:50%;">
<h1><b>{{object}}</b></h1>
<p>{{object.texte|safe}}</p>
</div>
<div style="height: 600px;width: 400px;">
<object data="media/media/EDS_Calendrier_2017.pdf" type="text/html" codetype="application/pdf" ></object>
{% if object.published %}
<p>{{object.texte|safe}}</p>
{% else %}
<p>Le document est en travail</p>
{% endif %}
</div>
</div>
{% endblock %}