mirror of
https://github.com/nottinghamtec/PyRIGS.git
synced 2026-01-17 05:22:16 +00:00
Markdownify event description in tables
TODO: Restrict max size of headers so they can't go larger than other elements in the table.
This commit is contained in:
@@ -1,4 +1,5 @@
|
|||||||
{% load namewithnotes from filters %}
|
{% load namewithnotes from filters %}
|
||||||
|
{% load markdown_tags %}
|
||||||
<div class="table-responsive">
|
<div class="table-responsive">
|
||||||
<table class="table mb-0" id="event_table">
|
<table class="table mb-0" id="event_table">
|
||||||
<thead>
|
<thead>
|
||||||
@@ -74,7 +75,7 @@
|
|||||||
</h5>
|
</h5>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% if not event.cancelled and event.description %}
|
{% if not event.cancelled and event.description %}
|
||||||
<p>{{ event.description|linebreaksbr }}</p>
|
<p>{{ event.description|markdown }}</p>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% include 'partials/event_status.html' %}
|
{% include 'partials/event_status.html' %}
|
||||||
</td>
|
</td>
|
||||||
|
|||||||
Reference in New Issue
Block a user