Browse Source

Podpis u novinek v2

remotes/origin/vyslbez12 deploy-prod-2015-09-12-15-37-xlfd
Jethro 9 years ago
parent
commit
e4e80d4813
  1. 5
      mamweb/static/css/mamweb.css
  2. 5
      seminar/templates/seminar/novinky.html

5
mamweb/static/css/mamweb.css

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

5
seminar/templates/seminar/novinky.html

@ -20,11 +20,12 @@
{% endif %} {% endif %}
{# autor #} {# autor #}
{% if user.is_staff %} {% 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%} {% if novinka.autor.organizator.prezdivka%}
&bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo; &bdquo;{{novinka.autor.organizator.prezdivka}}&ldquo;
{% endif %} {% endif %}
{{novinka.autor.last_name}}</i> {{novinka.autor.last_name}}
</p>
</div> </div>
{% endif %} {% endif %}
</div> </div>

Loading…
Cancel
Save