Merge branch 'Kerl/descriptions_spectacles'

This commit is contained in:
Martin Pépin 2016-09-21 14:02:31 +02:00
commit 8bd928e4c5

View file

@ -3,6 +3,7 @@
<!doctype html>
<html>
<head>
<base target="_parent"/>
<style>
@font-face {
font-family: josefinsans;
@ -31,6 +32,10 @@
font-weight: 700;
color: #5a5a5a;
}
img{
max-width: 100%;
}
</style>
<meta charset="utf8" />
</head>
@ -50,11 +55,16 @@
<tr>
<td><p style="text-align: left;">{{ show.date|date:"l j F Y - H\hi" }}</p></td><td class="column-2"><p style="text-align: right;">{{ show.slots }} place{{ show.slots|pluralize}} {% if show.slots_description != "" %}({{ show.slots_description }}){% endif %} - {{ show.price }} euro{{ show.price|pluralize}}</p></td>
</tr>
<tr>
{% if show.vips %}
<tr>
<td colspan="2"><p style="text-align: justify;">{{ show.vips }}</p></td>
</tr>
{% endif %}
<tr>
<td colspan="2">
<p style="text-align: justify;">{{ show.description }}</p>
{% for quote in show.quote_set.all %}
<p style="text-align:center; font-style: italic;">«{{ quote.text }}»{% if show.quote.author %} - {{ quote.author }}{% endif %}</p>
<p style="text-align:center; font-style: italic;">«{{ quote.text }}»{% if quote.author %} - {{ quote.author }}{% endif %}</p>
{% endfor %}
</td>
</tr>
@ -69,7 +79,7 @@
<script>
// Correction de la taille des images
$(document).ready(function() {
/*$(document).ready(function() {
$(".descTable").each(function() {
$(this).width($("body").width());
});
@ -95,7 +105,7 @@
$(this).height(origHeight);
}
});
});
});*/
</script>