minor fix
authorRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 31 Oct 2012 09:13:26 +0000 (10:13 +0100)
committerRadek Czajka <radoslaw.czajka@nowoczesnapolska.org.pl>
Wed, 31 Oct 2012 09:13:26 +0000 (10:13 +0100)
migdal/templates/migdal/entry/info/entry_begin.html
prawokultury/static/css/entry.css
prawokultury/static/css/entry.scss

index e9eae95..1d934bc 100755 (executable)
@@ -8,30 +8,14 @@
 {% endif %}
 
 
-{% comment %}
-<div class="entry-data">
-{% if request.LANGUAGE_CODE == 'pl' %}
-    {% if object.published_en %}
-        {% language 'en' %}
-            <a href="{{ object.get_absolute_url }}">English version</a>
-        {% endlanguage %}
-    {% endif %}
-{% elif object.published_pl %}
-    {{ request.LANGUAGE_CODE }}
-    {% language 'pl' %}
-        <a href="{{ object.get_absolute_url }}">polska wersja</a>
-    {% endlanguage %}
-{% endif %}
-</div>
-{% endcomment %}
-
-
 {% if object.image %}
+    <a href="{{ object.image.url }}">
     <img class="entry-picture" src="{% thumbnail object.image "250x300" as thumb %}
                     {{ thumb.url }}
                 {% empty %}
                     {{ object.image.url }}
                 {% endthumbnail %}" />
+    </a>
 {% endif %}
 <div class="lead">
 {{ object.lead }}
index a75d2d6..ef568fc 100644 (file)
@@ -66,7 +66,8 @@
   margin-left: 0; }
   .entry-info .entry-wrapped h1,
   .entry-publications .entry-wrapped h1 {
-    font-size: 2em; }
+    font-size: 2em;
+    margin-bottom: .5em; }
 
 .entry-picture {
   float: left;
index 9058042..c66f59d 100644 (file)
     margin-left: 0;
     h1 {
         font-size: 2em;
+        margin-bottom: .5em;
     }
 }