Verified Commit 8b341a69 authored by Marco Marinello's avatar Marco Marinello
Browse files

etc ui

parent 632fde40
......@@ -205,6 +205,38 @@
{% endfor %}
</tbody>
</table>
<h3 style="font-weight:bold;">
{% trans "Latest /etc modifications" %}
</h3>
{% if not etc %}{% trans "No etc data available." %}
{% else %}
<table class="table table-striped table-bordered">
<thead>
<tr>
<th>{% trans "Commit" %}</th>
<th>{% trans "Modifications" %}</th>
</tr>
</thead>
<tbody>
{% for commit in etc %}
<tr>
<td><b>{{commit.message}}</b><br>{{commit.datetime}}</td>
<td>
{% for file in commit.additions %}
<i class="fa fa-plus" style="color:green;"></i>
{{file}}<br>
{% endfor %}
{% for file in commit.deletions %}
<i class="fa fa-minus-circle" style="color:red;"></i>
{{file}}<br>
{% endfor %}
</td>
<td>{{iface.2}}</td>
</tr>
{% endfor %}
</tbody>
</table>
{% endif %}
</div>
</div>
<br>
......
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