mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Fixed description = none in embed
This commit is contained in:
@@ -77,15 +77,17 @@
|
||||
{% endif %}
|
||||
|
||||
<p>
|
||||
<strong>{{ event.start_date|date:"D d/m/Y" }}</strong>
|
||||
{% if event.end_date and event.end_date != event.start_date %}
|
||||
<strong>{{ event.end_date|date:"D d/m/Y" }}</strong>
|
||||
<strong>{{ object.start_date|date:"D d/m/Y" }}</strong>
|
||||
{% if object.end_date and object.end_date != object.start_date %}
|
||||
<strong>{{ object.end_date|date:"D d/m/Y" }}</strong>
|
||||
{% endif %}
|
||||
<span class="text-muted">({{ event.get_status_display }})</span>
|
||||
</p>
|
||||
<p>
|
||||
{{ event.description|linebreaksbr }}
|
||||
<span class="text-muted">({{ object.get_status_display }})</span>
|
||||
</p>
|
||||
{% if object.description %}
|
||||
<p>
|
||||
{{ object.description|linebreaksbr }}
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
<div class="col-sm-12 col-md-6" style="margin-top:30px;">
|
||||
{% if not object.cancelled %}
|
||||
|
||||
Reference in New Issue
Block a user