From bfd6b51a71742f33495454f29e63e0c6e0c31b51 Mon Sep 17 00:00:00 2001 From: lins05 Date: Wed, 27 Mar 2013 22:02:32 +0800 Subject: [PATCH] add traffic usage help link --- media/css/seahub.css | 5 +++++ templates/myhome.html | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/media/css/seahub.css b/media/css/seahub.css index c6bf5c68d2..ba92386d73 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -868,6 +868,11 @@ textarea:-moz-placeholder {/* for FF */ margin-top: 5px; } +.info-item .traffic-stat a { + color: #333; + font-weight: normal; +} + .mygroup { display:inline-block; /*to handle different height of items*/ vertical-align:top; diff --git a/templates/myhome.html b/templates/myhome.html index 392231b2e1..50c71b47cd 100644 --- a/templates/myhome.html +++ b/templates/myhome.html @@ -72,7 +72,14 @@ {% endif %} {% endif %} {% if TRAFFIC_STATS_ENABLED %} -

{% trans "Traffic this month:" %} {{ traffic_stat|filesizeformat }}

+

+ {% if LANGUAGE_CODE == 'zh-cn' %} + {% trans "Traffic this month:" %} + {% else %} + {% trans "Traffic this month:" %} + {% endif %} +   {{ traffic_stat|filesizeformat }} +

{% endif %}