]> git.decadent.org.uk Git - memories.git/blobdiff - templates/photo/view
If you've got it, flaunt it.
[memories.git] / templates / photo / view
index b8a06bf6e72a19c8ed271a5eff59abcff40022fd..3950ce6b5a566d2d04a59d0ee988fede5c988234 100644 (file)
@@ -76,6 +76,14 @@ photo.uploader %] </a>
     [% SET request.session.scale = size %]
 </div>
 
+[% IF photo.description OR photo.copyright OR photo.license %]
+<div class="photodesc"> 
+    [% photo.description | html %] 
+    [% IF photo.copyright %] <div class="photorights"> [% photo.copyright | html %] </div> [% END %]
+    [% IF photo.license %] <div class="photolicense"> [% photo.license | html %] </div> [% END %]
+</div>
+[% END %]
+
 [% MACRO do_tab(tabname, label) BLOCK; %]
 <li>
     [% IF tab == tabname %]<a class="active">