This commit is contained in:
Karen 2012-10-02 19:41:08 +05:30
parent 85350f83ae
commit 0d1c104892

View File

@ -23,6 +23,14 @@ float:left;
width:200px; width:200px;
} }
.imgNone {
width:200px;
padding-right:20px;
float:left;
background:#000;
}
</style> </style>
{% endblock %} {% endblock %}
@ -38,7 +46,12 @@ width:200px;
{% thumbnail n.image "200" as im %} {% thumbnail n.image "200" as im %}
<img src="{{ im.url }}" width="200" alt="" class="imgLinks"> <img src="{{ im.url }}" width="200" alt="" class="imgLinks">
{% endthumbnail %} {% endthumbnail %}
{% endif %} {% else %}
<div class="imgNone"></div>
{% endif %}
<p class="orange"><strong>{% if n.url %} <a href="{{ n.url }}" target="_blank"> {% endif %}{{ n.title }} {% if n.url %}</a> {% endif %}</strong></p> <p class="orange"><strong>{% if n.url %} <a href="{{ n.url }}" target="_blank"> {% endif %}{{ n.title }} {% if n.url %}</a> {% endif %}</strong></p>
<br> <br>