Always show image title and description under image.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 07:57:53 +0000 (09:57 +0200)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Fri, 23 Sep 2011 07:57:53 +0000 (09:57 +0200)
src/main/resources/templates/imageBrowser.html

index f04e81c..ba8220d 100644 (file)
                                        <div class="image-container">
                                                <a href="imageBrowser.html?image=<%image.id|html>"><% image|image-link max-width=200 max-height=200 mode=enlarge title==image.title></a>
                                        </div>
+                                       <div class="show-data">
+                                               <div class="image-title"><% image.title|html></div>
+                                               <div class="image-description"><% image.description|html></div>
+                                       </div>
                                        <%if album.sone.local>
                                                <form class="edit-image" action="editImage.html" method="post">
                                                        <input type="hidden" name="formPassword" value="<%formPassword|html>" />
                                                        <input type="hidden" name="returnPage" value="<%request.uri|html>" />
                                                        <input type="hidden" name="image" value="<%image.id|html>" />
 
-                                                       <div class="show-data">
-                                                               <div class="image-title"><% image.title|html></div>
-                                                               <div class="image-description"><% image.description|html></div>
-                                                       </div>
                                                        <div class="edit-data hidden">
                                                                <div>
                                                                        <input type="text" name="title" value="<%image.title|html>" />