Merged in [9626] from rjsparks@nostrum.com:
Restore the discuss-box hiding feature when a position is not blocking. Fixes bug #1688.
- Legacy-Id: 9656
Note: SVN reference [9626] has been migrated to Git commit 8887466231
This commit is contained in:
commit
f2f4bd868d
|
@ -23,12 +23,14 @@
|
|||
{% csrf_token %}
|
||||
|
||||
{% for field in form %}
|
||||
{% if field.name == "discuss" %}<div id="div_id_discuss">{% endif %}
|
||||
{% bootstrap_field field %}
|
||||
{% if field.name == "discuss" and old_pos and old_pos.discuss_time %}
|
||||
<span class="help-block">Last edited {{ old_pos.discuss_time }}</span>
|
||||
{% elif field.name == "comment" and old_pos and old_pos.comment_time %}
|
||||
<span class="help-block">Last edited {{ old_pos.comment_time }}</span>
|
||||
{% endif %}
|
||||
{% if field.name == "discuss" %}</div>{% endif %}
|
||||
{% endfor %}
|
||||
|
||||
{% buttons %}
|
||||
|
|
Loading…
Reference in a new issue