From 821d656b59ce72e8795021da3db75569140fd14b Mon Sep 17 00:00:00 2001 From: zhengxie Date: Fri, 7 Dec 2018 11:46:18 +0800 Subject: [PATCH] [sysadmin] Fix license info issue --- seahub/templates/js/sysadmin-templates.html | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/seahub/templates/js/sysadmin-templates.html b/seahub/templates/js/sysadmin-templates.html index 0afc49856f..d1fb7dc0c9 100644 --- a/seahub/templates/js/sysadmin-templates.html +++ b/seahub/templates/js/sysadmin-templates.html @@ -143,11 +143,14 @@ <% if (is_pro) { %> {% trans "Professional Edition" %} <% if (with_license) { %> - {% if LANGUAGE_CODE == 'zh-cn' %}永久授权给{% else %}{% trans "licensed to" %}{% endif %} <%- license_to %>, <% if (license_mode == 'life-time') { %> - {% if LANGUAGE_CODE == 'zh-cn' %}技术支持服务至{% else %}{% trans "upgrade service expired in" %}{% endif %} <%- license_expiration %> {% if LANGUAGE_CODE == 'zh-cn' %}到期{% endif %} + {% if LANGUAGE_CODE == 'zh-cn' %} + 永久授权给 <%- license_to %>, 技术支持服务至 <%- license_expiration %> 到期 + {% else %} + {% trans "licensed to" %} <%- license_to %>, {% trans "upgrade service expired in" %} <%- license_expiration %> + {% endif %} <% } else { %> - {% trans "expires on" %} <%- license_expiration %> + {% trans "licensed to" %} <%- license_to %>, {% trans "expires on" %} <%- license_expiration %> <% } %> <% } %>