1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-20 02:48:51 +00:00

add device/version info in repo history page

This commit is contained in:
lian
2017-01-16 17:28:41 +08:00
parent 86e9eb5fbc
commit 82c5dc21c6

View File

@@ -25,10 +25,11 @@
<table class="commit-list">
<tr>
<th width="52%">{% trans "Description"%}</th>
<th width="43%">{% trans "Description" %}</th>
<th width="15%">{% trans "Time" %}</th>
<th width="15%">{% trans "Modifier"%}</th>
<th width="18%">{% trans "Operations" %}</th>
<th width="15%">{% trans "Modifier" %}</th>
<th width="15%">{% trans "Device" %} / {% trans "Version" %}</th>
<th width="12%">{% trans "Operations" %}</th>
</tr>
{% for commit in commits %}
@@ -52,6 +53,13 @@
{% trans "Unknown"%}
{% endif %}
</td>
<td>
{% if commit.client_version %}
{{ commit.device_name }} / {{ commit.client_version }}
{% else %}
{% trans "API" %} / --
{% endif %}
</td>
<td>
{% if user_perm == 'rw' %}
{% if forloop.first and current_page == 1 %}