* adds intervention comment to detail view
This commit is contained in:
mipel 2021-09-29 15:48:25 +02:00
parent 1965721dea
commit a44c014f4b
2 changed files with 27 additions and 1 deletions

View File

@ -0,0 +1,21 @@
{% load i18n fontawesome_5 %}
{% if intervention.comment %}
<div class="card mt-3">
<div class="card-header rlp-r">
<div class="row">
<div class="col-sm-12 col-md-12 col-lg-12">
<h5 class="card-title">
{% fa5_icon 'info-circle' %}
{% trans 'Comment' %}
</h5>
</div>
</div>
</div>
<div class="card-body">
<div class="card-text font-italic">
{{intervention.comment}}
</div>
</div>
</div>
{% endif %}

View File

@ -123,8 +123,13 @@
</div>
</div>
<div class="col-sm-12 col-md-12 col-lg-6">
<div class="row">
{% include 'map/geom_form.html' %}
</div>
<div class="row">
{% include 'intervention/detail/includes/comment.html' %}
</div>
</div>
</div>
<hr>