formating
This commit is contained in:
parent
e553567b6c
commit
f6494c6adb
|
@ -39,7 +39,12 @@
|
||||||
</div>
|
</div>
|
||||||
<div class="small-6 columns">
|
<div class="small-6 columns">
|
||||||
<a href="{{ events.get_absolute_url }}/" class="sidebar-title" >{{ events.title }}</a>
|
<a href="{{ events.get_absolute_url }}/" class="sidebar-title" >{{ events.title }}</a>
|
||||||
<h6 class="sidebar-date"> <font color="#ef4e5c"> <b> {{ events.datestart }} </b></font> <br/></h6>
|
<h6 class="sidebar-date">
|
||||||
|
<font color="#ef4e5c">
|
||||||
|
<b> {{ events.datestart }} {% if events.dateend %} - {{events.dateend}} {% endif %} </b>
|
||||||
|
</font>
|
||||||
|
{% if events.place %}<br/>{{events.place}}{% endif%}
|
||||||
|
</h6>
|
||||||
<p> {{ events.formatted_teaser }} </p>
|
<p> {{ events.formatted_teaser }} </p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -5,15 +5,15 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</div>
|
</div>
|
||||||
<div class="small-6 columns">
|
<div class="small-6 columns">
|
||||||
<h6><a href="{{ content.get_absolute_url }}" class="sidebar-title"> {{content.title}} </a> </h6>
|
<a href="{{ content.get_absolute_url }}" class="sidebar-title"> {{content.title}} </a>
|
||||||
|
{% if content.type.name == 'events' %}
|
||||||
<h6 class="sidebar-date">
|
<h6 class="sidebar-date">
|
||||||
{% if content.type.name == 'events' %}
|
|
||||||
<font color="#ef4e5c">
|
<font color="#ef4e5c">
|
||||||
<b> {{ content.datestart }} {% if content.dateend %} - {{content.dateend}} {% endif %} </b>
|
<b> {{ content.datestart }} {% if content.dateend %} - {{content.dateend}} {% endif %} </b>
|
||||||
</font>
|
</font>
|
||||||
{% if content.place %}<br/>{{content.place}}{% endif%}
|
{% if content.place %}<br/>{{content.place}}{% endif%}
|
||||||
{% endif %}
|
</h6>
|
||||||
</h6>
|
{% endif %}
|
||||||
<p> {{ content.formatted_teaser }} </p>
|
<p> {{ content.formatted_teaser }} </p>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user