1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-06-23 13:48:20 +00:00

add traffic usage help link

This commit is contained in:
lins05 2013-03-27 22:02:32 +08:00
parent 771adee343
commit bfd6b51a71
2 changed files with 13 additions and 1 deletions

View File

@ -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;

View File

@ -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 %}
&nbsp;&nbsp;{{ traffic_stat|filesizeformat }}
</p>
{% endif %}
</div>
</div>