]> gitweb.factorcode.org Git - factor.git/commitdiff
webapps.pastebin: tweak template
authorSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 28 Sep 2009 22:55:42 +0000 (17:55 -0500)
committerSlava Pestov <slava@slava-pestovs-macbook-pro.local>
Mon, 28 Sep 2009 22:55:42 +0000 (17:55 -0500)
extra/webapps/pastebin/paste.xml

index bec646a4caa42b63ef04cd064cb91ac799a9200e..6e1cb53664df5227c8a01b6ea070ad7354f07396 100644 (file)
                <tr><th class="field-label">Date: </th><td><t:label t:name="date" /></td></tr>
        </table>
 
-       <pre class="description"><t:code t:name="contents" t:mode="mode" /></pre>
-
        <t:a t:href="$pastebin/paste.txt" t:query="id">Plain Text</t:a> |
        <t:button t:action="$pastebin/delete-paste" t:for="id" class="link-button link">Delete Paste</t:button>
 
+       <pre class="description"><t:code t:name="contents" t:mode="mode" /></pre>
+
        <t:bind-each t:name="annotations">
 
                <h2><a name="@id">Annotation: <t:label t:name="summary" /></a></h2>
                        <tr><th class="field-label">Date: </th><td><t:label t:name="date" /></td></tr>
                </table>
 
-               <pre class="description"><t:code t:name="contents" t:mode="mode"/></pre>
-
                <t:a t:href="$pastebin/annotation.txt" t:query="id">Plain Text</t:a> |
                <t:button t:action="$pastebin/delete-annotation" t:for="id" class="link-button link">Delete Annotation</t:button>
 
+               <pre class="description"><t:code t:name="contents" t:mode="mode"/></pre>
+
        </t:bind-each>
 
        <t:bind t:name="new-annotation">