diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/images.tmpl | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/templates/images.tmpl b/templates/images.tmpl index 1dcfc46..c284a1c 100644 --- a/templates/images.tmpl +++ b/templates/images.tmpl @@ -12,12 +12,13 @@ #end def #def content <p>You have $len($files) uploaded images totaling $total_size.</p> -<ul class="image-list"> +#if len($files) +<div class="image-list"> #for file in $files - <li>$file.image_html</li> + <div class="image">$file.image_html</div> #end for -#if not len($files) - <li><em>(No image uploads yet.)</em></li> +</div> +#else +<div><em>(No image uploads yet.)</em></div> #end if -</ul> #end def |