Move question hint-icons into their own columns

This commit is contained in:
Martin Gross
2019-08-27 15:43:02 +02:00
parent 2aed894bd4
commit b4f69fb13f

View File

@@ -31,6 +31,9 @@
<tr>
<th>{% trans "Question" %}</th>
<th>{% trans "Type" %}</th>
<th class="iconcol"></th>
<th class="iconcol"></th>
<th class="iconcol"></th>
<th>{% trans "Products" %}</th>
<th class="action-col-2"></th>
<th class="action-col-2"></th>
@@ -44,20 +47,21 @@
</td>
<td>
{{ q.get_type_display }}
</td>
<td>
{% if q.required %}
<span class="fa fa-exclamation-circle text-muted"
data-toggle="tooltip" title="{% trans "Required question" %}">
</span>
<span class="fa fa-exclamation-circle text-muted" data-toggle="tooltip" title="{% trans "Required question" %}"></span>
{% endif %}
</td>
<td>
{% if q.ask_during_checkin %}
<span class="fa fa-check-square text-muted"
data-toggle="tooltip" title="{% trans "Ask during check-in" %}">
</span>
<span class="fa fa-check-square text-muted" data-toggle="tooltip" title="{% trans "Ask during check-in" %}"></span>
{% endif %}
</td>
<td>
{% if q.hidden %}
<span class="fa fa-eye-slash text-muted"
data-toggle="tooltip" title="{% trans "Hidden question" %}">
</span>
<span class="fa fa-eye-slash text-muted" data-toggle="tooltip" title="{% trans "Hidden question" %}"></span>
{% endif %}
</td>
<td>