degal/templates/image.html
branchuse-distutils
changeset 41 3b1579a7bffb
parent 33 4943047bfcb5
child 62 53e798708413
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/degal/templates/image.html	Wed Jun 03 19:03:28 2009 +0300
@@ -0,0 +1,36 @@
+<%! use_javascript = False %>
+<%inherit file="master.html" /> <!-- %> -->
+
+    <div id="image">
+        <h1>${title}</h1>
+        <p>
+% if prev :        
+            ${h.tag_for_img(prev.html_name, prev.thumb_name)}
+% endif
+            
+            ${h.tag_for_img(img.name, img.preview_name)}
+            
+% if next :            
+            ${h.tag_for_img(next.html_name, next.thumb_name)}
+% endif
+        </p>
+        <p>
+            ${description}
+        </p>
+    </div>
+    <div id="info">
+% if img_size and file_size and timestamp :    
+      <p>File name: ${filename}</p>
+      <p>Dimensions: ${h.format_imgsize(img_size)}</p>
+      <p>File size: ${h.format_filesize(file_size)}</p>
+      <p>Last modified: ${h.format_timestamp(timestamp)}</p>
+% for key, value in exif_data :
+      <p>${key}: ${value}</p>
+% endfor
+
+% endif    
+      <p>ShortURL: <a href="${shorturl}" rel="nofollow">${shorturl_code}</a></p>
+% if series_url :      
+      <p><a href="${series_url}" rel="nofollow">${series_verb}</a> series</p>
+% endif      
+    </div>