From f9cc2f9caeec70d5f0b2bf38acba60276f7128c5 Mon Sep 17 00:00:00 2001 From: lins05 Date: Tue, 26 Mar 2013 10:59:13 +0800 Subject: [PATCH] improve traffic-stat --- media/css/seahub.css | 5 +++++ templates/myhome.html | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/media/css/seahub.css b/media/css/seahub.css index b229ee7bd0..9f36072e11 100644 --- a/media/css/seahub.css +++ b/media/css/seahub.css @@ -863,6 +863,11 @@ textarea:-moz-placeholder {/* for FF */ font-size:12px; color:#888; } + +.info-item .traffic-stat { + margin-top: 5px; +} + .mygroup { display:inline-block; /*to handle different height of items*/ vertical-align:top; diff --git a/templates/myhome.html b/templates/myhome.html index 46ca7ffec0..e7fba53381 100644 --- a/templates/myhome.html +++ b/templates/myhome.html @@ -52,7 +52,7 @@ {% endif %}
-

{% trans "Space used" %}

+

{% trans "Space/Traffic" %}

{% if CALC_SHARE_USAGE %}

{% trans "Total" %}: {{ quota_usage|filesizeformat }} {% if quota > 0 %}/ {{ quota|filesizeformat }} {% endif %}

@@ -72,7 +72,7 @@ {% endif %} {% endif %} {% if TRAFFIC_STATS_ENABLED %} -

{% trans "Traffic used:" %} {{ traffic_stat|filesizeformat }}

+

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

{% endif %}