From 0864de1fcaaa55c59e34403d1f19043c7f5fec82 Mon Sep 17 00:00:00 2001 From: Jethro Date: Sat, 12 Sep 2015 14:44:25 +0200 Subject: [PATCH] Autori novinek vpravo. --- mamweb/static/css/mamweb.css | 4 ++++ seminar/templates/seminar/novinky.html | 4 ++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/mamweb/static/css/mamweb.css b/mamweb/static/css/mamweb.css index c1ee8bad..5c2cb29c 100644 --- a/mamweb/static/css/mamweb.css +++ b/mamweb/static/css/mamweb.css @@ -158,3 +158,7 @@ h2 { #submenu li>a:hover { text-decoration: none; }*/ + +.novinky.name { + float: left +} diff --git a/seminar/templates/seminar/novinky.html b/seminar/templates/seminar/novinky.html index 9fc98570..abb43a60 100644 --- a/seminar/templates/seminar/novinky.html +++ b/seminar/templates/seminar/novinky.html @@ -20,11 +20,11 @@ {% endif %} {# autor #} {% if user.is_staff %} -
{{novinka.autor.first_name}} +
{{novinka.autor.first_name}} {% if novinka.autor.organizator.prezdivka%} „{{novinka.autor.organizator.prezdivka}}“ {% endif %} - {{novinka.autor.last_name}} + {{novinka.autor.last_name}}
{% endif %}