From 82c5dc21c6303ffa5e71a715ab96b935b0bf448c Mon Sep 17 00:00:00 2001 From: lian Date: Mon, 16 Jan 2017 17:28:41 +0800 Subject: [PATCH] add device/version info in repo history page --- seahub/templates/repo_history.html | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/seahub/templates/repo_history.html b/seahub/templates/repo_history.html index 93e3e82653..ce76cd82cd 100644 --- a/seahub/templates/repo_history.html +++ b/seahub/templates/repo_history.html @@ -25,10 +25,11 @@ - + - - + + + {% for commit in commits %} @@ -52,6 +53,13 @@ {% trans "Unknown"%} {% endif %} +
{% trans "Description"%}{% trans "Description" %} {% trans "Time" %}{% trans "Modifier"%}{% trans "Operations" %}{% trans "Modifier" %}{% trans "Device" %} / {% trans "Version" %}{% trans "Operations" %}
+ {% if commit.client_version %} + {{ commit.device_name }} / {{ commit.client_version }} + {% else %} + {% trans "API" %} / -- + {% endif %} + {% if user_perm == 'rw' %} {% if forloop.first and current_page == 1 %}