forked from DGNum/gestioCOF
Merge branch 'Kerl/descriptions_spectacles'
This commit is contained in:
commit
8bd928e4c5
1 changed files with 14 additions and 4 deletions
|
@ -3,6 +3,7 @@
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
|
<base target="_parent"/>
|
||||||
<style>
|
<style>
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: josefinsans;
|
font-family: josefinsans;
|
||||||
|
@ -31,6 +32,10 @@
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
color: #5a5a5a;
|
color: #5a5a5a;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
img{
|
||||||
|
max-width: 100%;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
<meta charset="utf8" />
|
<meta charset="utf8" />
|
||||||
</head>
|
</head>
|
||||||
|
@ -50,11 +55,16 @@
|
||||||
<tr>
|
<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>
|
<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>
|
||||||
<tr>
|
{% if show.vips %}
|
||||||
|
<tr>
|
||||||
|
<td colspan="2"><p style="text-align: justify;">{{ show.vips }}</p></td>
|
||||||
|
</tr>
|
||||||
|
{% endif %}
|
||||||
|
<tr>
|
||||||
<td colspan="2">
|
<td colspan="2">
|
||||||
<p style="text-align: justify;">{{ show.description }}</p>
|
<p style="text-align: justify;">{{ show.description }}</p>
|
||||||
{% for quote in show.quote_set.all %}
|
{% 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 %}
|
{% endfor %}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -69,7 +79,7 @@
|
||||||
<script>
|
<script>
|
||||||
// Correction de la taille des images
|
// Correction de la taille des images
|
||||||
|
|
||||||
$(document).ready(function() {
|
/*$(document).ready(function() {
|
||||||
$(".descTable").each(function() {
|
$(".descTable").each(function() {
|
||||||
$(this).width($("body").width());
|
$(this).width($("body").width());
|
||||||
});
|
});
|
||||||
|
@ -95,7 +105,7 @@
|
||||||
$(this).height(origHeight);
|
$(this).height(origHeight);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});*/
|
||||||
|
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
Loading…
Reference in a new issue