Podpis u novinek v2

This commit is contained in:
Jethro 2015-09-12 15:36:28 +02:00
parent a966d7c6de
commit e4e80d4813
2 changed files with 6 additions and 4 deletions

View file

@ -159,6 +159,7 @@ h2 {
text-decoration: none;
}*/
.novinky.name {
float: left
div.novinky_name {
text-align: right;
font-style: italic;
}

View file

@ -20,11 +20,12 @@
{% endif %}
{# autor #}
{% if user.is_staff %}
<div class=novinky.name><i>{{novinka.autor.first_name}}
<div class=novinky_name><p>{{novinka.autor.first_name}}
{% if novinka.autor.organizator.prezdivka%}
&bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo;
{% endif %}
{{novinka.autor.last_name}}</i>
{{novinka.autor.last_name}}
</p>
</div>
{% endif %}
</div>