diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2011-07-29 19:34:34 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2011-07-29 19:34:34 +0200 |
commit | 360d0a628a8264fb100b9c52c0e4adf0b6421ad3 (patch) | |
tree | 5e4c84a01da944baab0f4d1922997f625e2faa49 /templates | |
parent | da578506d9317539b35ae5b3e49e79e6ad1c7e83 (diff) |
Display number of files and total size on myfiles and images pages.
Diffstat (limited to 'templates')
-rw-r--r-- | templates/images.tmpl | 2 | ||||
-rw-r--r-- | templates/my.tmpl | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/templates/images.tmpl b/templates/images.tmpl index 34c8e78..4cd3752 100644 --- a/templates/images.tmpl +++ b/templates/images.tmpl @@ -2,7 +2,7 @@ #def header: images #extends templates.base #def content -<p>Your uploaded images:</p> +<p>You have $len($files) uploaded images totaling $total_size.</p> <ul class="image-list"> #for file in $files <li>$file.image_html</li> diff --git a/templates/my.tmpl b/templates/my.tmpl index b1fb2cc..7e6e242 100644 --- a/templates/my.tmpl +++ b/templates/my.tmpl @@ -2,7 +2,7 @@ #def header: myfiles #extends templates.base #def content -<p>Your uploads:</p> +<p>You have $len($files) uploaded files totaling $total_size.</p> <ul> #for file in $files <li>$file.html</li> |