JasonWoof Got questions, comments, patches, etc.? Contact Jason Woofenden
admin_files: add download link (from admin page)
authorJason Woofenden <jason@jasonwoof.com>
Thu, 12 Apr 2012 00:02:04 +0000 (20:02 -0400)
committerJason Woofenden <jason@jasonwoof.com>
Thu, 12 Apr 2012 00:03:18 +0000 (20:03 -0400)
admin_files.html

index 9307b08..d0f09cc 100644 (file)
 
                <!--~listings once_if {~-->
                        <table cellspacing="0" cellpadding="4" border="1" summary="">
-                               <tr><th>Path</th><th>Description</th><th>&nbsp;</th></tr><!--~listings {~-->
+                               <tr><th>&nbsp;</th><th>Path</th><th>Description</th><th>&nbsp;</th></tr><!--~listings {~-->
                                <tr>
-                                       <td class="listing">/~filename html~<!--~filename empty {~--><em>(blank)</em><!--~}~--></td>
+                                       <td class="listing"><!--~filename nonempty {~--><a href="/~filename attr~">download</a><!--~}~--><!--~filename empty {~-->&nbsp;<!--~}~--></td>
+                                       <td class="listing"><!--~filename nonempty {~-->/~filename html~<!--~}~--><!--~filename empty {~--><em>(file missing)</em><!--~}~--></td>
                                        <td class="listing"><a href="admin_files?edit_id=~id~">~description html~<!--~description empty {~--><em>(blank)</em><!--~}~--></a></td>
                                        <td><a href="admin_files?admin_files_delete_id=~id~" onclick="return confirm('Permanently delete?')">[delete this file]</a></td>
                                </tr><!--~}~-->