Add comment field to subevents (Z#23148472) (#4099)

* Add comment field to subevents (Z#23148472)

* Review fix
This commit is contained in:
Raphael Michel
2024-04-22 12:56:29 +02:00
committed by GitHub
parent a73c8f580d
commit fb403dad88
10 changed files with 35 additions and 3 deletions

View File

@@ -70,6 +70,7 @@
</div>
{% bootstrap_field form.frontpage_text layout="bulkedit" %}
{% bootstrap_field form.is_public layout="bulkedit" %}
{% bootstrap_field form.comment layout="bulkedit" %}
{% if meta_forms %}
<div class="form-group metadata-group">
<label class="col-md-3 control-label">{% trans "Meta data" %}</label>

View File

@@ -29,6 +29,7 @@
{% bootstrap_field form.date_admission layout="control" %}
{% bootstrap_field form.frontpage_text layout="control" %}
{% bootstrap_field form.is_public layout="control" %}
{% bootstrap_field form.comment layout="control" %}
{% if meta_forms %}
<div class="form-group metadata-group">
<label class="col-md-3 control-label">{% trans "Meta data" %}</label>

View File

@@ -138,6 +138,9 @@
<small class="text-muted">&middot; {{ k }}: {{ v }}</small>
{% endif %}
{% endfor %}
{% if s.comment %}
<br>{{ s.comment|linebreaksbr }}
{% endif %}
</small>
</td>
<td>