parent
141084306a
commit
af0df2141e
18 changed files with 88 additions and 88 deletions
@ -0,0 +1,10 @@ |
||||
{% load static %} |
||||
{% load thumbnail %} |
||||
|
||||
{% if obj.logo %} |
||||
{% thumbnail obj.logo "80x80" as im %} |
||||
<img src="{{ im.url }}" width="{{ im.width }}" height="{{ im.height }}" class="pic" alt=""> |
||||
{% endthumbnail %} |
||||
{% else %} |
||||
<img src="{% static 'client/img/no-logo.png' %}" class="pic" alt="" /> |
||||
{% endif %} |
||||
@ -0,0 +1,9 @@ |
||||
{% load i18n %} |
||||
|
||||
<header>{% trans 'конференции' %}</header> |
||||
<ul> |
||||
{% for theme in themes %} |
||||
<li><a href="/conference/theme/{{ theme.url }}/"><span>{{ theme.name }}</span> <i>({{ theme.conferences_number }})</i></a></li> |
||||
{% endfor %} |
||||
</ul> |
||||
<footer><a class="more" href="/conference/">{% trans 'Все конференции' %}</a></footer> |
||||
@ -0,0 +1,9 @@ |
||||
{% load i18n %} |
||||
|
||||
<header>{% trans 'Выставки' %}</header> |
||||
<ul> |
||||
{% for theme in themes %} |
||||
<li><a href="/expo/theme/{{ theme.url }}/"><span>{{ theme.name }}</span> <i>({{ theme.expositions_number }})</i></a></li> |
||||
{% endfor %} |
||||
</ul> |
||||
<footer><a class="more" href="/expo/">{% trans 'Все выставки' %}</a></footer> |
||||
@ -0,0 +1,21 @@ |
||||
{% load i18n %} |
||||
|
||||
<header> |
||||
<a href="/news/">{% trans 'Новости событий' %}</a> |
||||
</header> |
||||
<ul> |
||||
{% for news in news_list %} |
||||
<li> |
||||
<a href="{{ news.get_permanent_url }}"> |
||||
<span class="nl-pict"> |
||||
{% include 'client/includes/article/news_on_main_logo.html' with obj=news %} |
||||
</span> |
||||
<span class="nl-body"> |
||||
<span class="nl-text">{{ news.main_title }}</span> |
||||
<span class="nl-date">{{ news.created|date:"d E Y" }}</span> |
||||
</span> |
||||
</a> |
||||
</li> |
||||
{% endfor %} |
||||
</ul> |
||||
<footer><a class="more" href="/news/">{% trans 'Все новости' %}</a></footer> |
||||
Loading…
Reference in new issue