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 %} - <p class="traffic-stat">{% trans "Traffic this month:" %} {{ traffic_stat|filesizeformat }}</p> + <p class="traffic-stat"> + {% if LANGUAGE_CODE == 'zh-cn' %} + <a href="http://www.seafile.com/help/traffic/" target="_blank" title="点击查看帮助">{% trans "Traffic this month:" %}</a> + {% else %} + <a href="http://www.seafile.com/en/help/traffic/" target="_blank" title="Click to see the help">{% trans "Traffic this month:" %}</a> + {% endif %} + {{ traffic_stat|filesizeformat }} + </p> {% endif %} </div> </div>