Commit 8e52e1e0 authored by Pierre Dittgen's avatar Pierre Dittgen
Browse files

Adding tooltips for body errors

parent 041266fe
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
<tr> <tr>
{% for d in source_data.data_rows[err['row-number'] - 2] %} {% for d in source_data.data_rows[err['row-number'] - 2] %}
{% if loop.index == err['column-number'] %} {% if loop.index == err['column-number'] %}
<td class="table-danger">{{ d }}</td> <td class="table-danger" data-toggle="tooltip" title="{{ err.message }}">{{ d }}</td>
{% else %} {% else %}
<td>{{ d }}</td> <td>{{ d }}</td>
{% endif %} {% endif %}
...@@ -100,4 +100,9 @@ ...@@ -100,4 +100,9 @@
{% endif %} {% endif %}
{% endblock %} {% endblock %}
{% block footer %} {% block footer %}
<script>
$(function () {
$('[data-toggle="tooltip"]').tooltip()
})
</script>
{% endblock %} {% endblock %}
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment