mirror of
https://github.com/haiwen/seahub.git
synced 2025-09-20 10:58:33 +00:00
add device/version info in repo history page
This commit is contained in:
@@ -25,10 +25,11 @@
|
|||||||
|
|
||||||
<table class="commit-list">
|
<table class="commit-list">
|
||||||
<tr>
|
<tr>
|
||||||
<th width="52%">{% trans "Description"%}</th>
|
<th width="43%">{% trans "Description" %}</th>
|
||||||
<th width="15%">{% trans "Time" %}</th>
|
<th width="15%">{% trans "Time" %}</th>
|
||||||
<th width="15%">{% trans "Modifier"%}</th>
|
<th width="15%">{% trans "Modifier" %}</th>
|
||||||
<th width="18%">{% trans "Operations" %}</th>
|
<th width="15%">{% trans "Device" %} / {% trans "Version" %}</th>
|
||||||
|
<th width="12%">{% trans "Operations" %}</th>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
{% for commit in commits %}
|
{% for commit in commits %}
|
||||||
@@ -52,6 +53,13 @@
|
|||||||
{% trans "Unknown"%}
|
{% trans "Unknown"%}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</td>
|
</td>
|
||||||
|
<td>
|
||||||
|
{% if commit.client_version %}
|
||||||
|
{{ commit.device_name }} / {{ commit.client_version }}
|
||||||
|
{% else %}
|
||||||
|
{% trans "API" %} / --
|
||||||
|
{% endif %}
|
||||||
|
</td>
|
||||||
<td>
|
<td>
|
||||||
{% if user_perm == 'rw' %}
|
{% if user_perm == 'rw' %}
|
||||||
{% if forloop.first and current_page == 1 %}
|
{% if forloop.first and current_page == 1 %}
|
||||||
|
Reference in New Issue
Block a user