Event Export List: short formated date.

This commit is contained in:
2018-02-26 16:41:41 +01:00
parent aef9efa49f
commit 31e1adf2b8
9 changed files with 77 additions and 48 deletions

View File

@@ -7,5 +7,5 @@ Link zur Veranstaltung:
{{ base_url }}{{ event.get_absolute_url }}
Voraussichtliche Veröffentlichung: {% if planned_publication_date %}{{ planned_publication_date|date:'l, d. F Y' }}{% else %}In wenigen Tagen{% endif %}
-----
{{ event.render_as_text }}-----
----------
{{ event.render_as_text }}----------

View File

@@ -10,5 +10,5 @@ Der folgende Link führt zur Veranstaltung:
Veröffentlichung: {% if planned_publication_date %}{{ planned_publication_date|date:'l, d. F Y' }}{% else %}sofort{% endif %}
{% if internal_note %}Bearbeitungshinweis:
{{ internal_note }}
{% endif %}-----
{{ event.render_as_text }}-----
{% endif %}----------
{{ event.render_as_text }}----------

View File

@@ -11,12 +11,12 @@ Der folgende Link führt zur Veranstaltung:
Veröffentlichung: {% if planned_publication_date %}{{ planned_publication_date|date:'l, d. F Y' }}{% else %}sofort{% endif %}
{% if internal_note %}Bearbeitungshinweis:
{{ internal_note }}
{% endif %}----- Plain Text -----
{% endif %}---------- Plain Text ----------
{{ event.render_as_text }}
----- HTML Joomla -----
<h6>{{ short_date }}{% if alt_short_date %}<br />
({% trans 'Ersatztermin' %}: {{ alt_short_date }})
---------- HTML Joomla ----------
<h6>{{ normalized_long_date }}{% if alt_normalized_long_date %}<br />
({% trans 'Ersatztermin' %}: {{ alt_normalized_long_date }})
{% endif %}</h6>
<p>{{ description|linebreaksbr }}</p>
{% if mode == 'training' %}

View File

@@ -7,7 +7,7 @@ Link zur Veranstaltung:
{{ base_url }}{{ event.get_absolute_url }}
Voraussichtliche Veröffentlichung: {% if planned_publication_date %}{{ planned_publication_date|date:'l, d. F Y' }}{% else %}In wenigen Tagen{% endif %}
-----
{{ event.render_as_text }}-----
----------
{{ event.render_as_text }}----------
{% if internal_note %}Bearbeitungshinweis:
{{ internal_note }}{% endif %}

View File

@@ -19,10 +19,10 @@
</div>
<ul class="list-group">
<li class="list-group-item">
<strong>{{ short_date }}</strong>
{% if alt_short_date %}
<strong>{{ normalized_date }}</strong>
{% if alt_normalized_date %}
<br />
<strong>({% trans 'Ersatztermin' %}: {{ alt_short_date }})</strong>
<strong>({% trans 'Ersatztermin' %}: {{ alt_normalized_date }})</strong>
{% endif %}
</li>
<li class="list-group-item">

View File

@@ -1,7 +1,7 @@
{% load i18n %}{{ number }} - {{ title }}
{{ short_date }}
{% if alt_short_date %}({% trans 'Ersatztermin' %}: {{ alt_short_date }})
{{ normalized_date }}
{% if alt_normalized_date %}({% trans 'Ersatztermin' %}: {{ alt_normalized_date }})
{% endif %}
{{ description }}
{% if mode == 'training' %}