]> gitweb.factorcode.org Git - factor.git/blobdiff - extra/webapps/wiki/diff.xml
Fixes #2966
[factor.git] / extra / webapps / wiki / diff.xml
index 9feb12dc4394adb274bc579340e1fe45cc2368b3..75cb4a29fb35ced1d081a51b590c43c9002f7abc 100644 (file)
@@ -2,34 +2,23 @@
 
 <t:chloe xmlns:t="http://factorcode.org/chloe/1.0">
 
-       <t:bind t:name="old">
-               <t:title>Diff: <t:label t:name="title" /></t:title>
-       </t:bind>
+       <t:title>Diff: <t:label t:name="title" /></t:title>
 
        <table>
                <tr>
                        <th class="field-label">Old revision:</th>
                        <t:bind t:name="old">
-                               <td>Created on <t:label t:name="date" /> by <t:a t:href="user-edits" t:query="author"><t:label t:name="author" /></t:a>.</td>
+                               <td>Created on <t:label t:name="date" /> by <t:a t:href="user-edits" t:rest="author"><t:label t:name="author" /></t:a>.</td>
                        </t:bind>
                </tr>
                <tr>
                        <th class="field-label">New revision:</th>
-                       <t:bind t:name="old">
-                               <td>Created on <t:label t:name="date" /> by <t:a t:href="user-edits" t:query="author"><t:label t:name="author" /></t:a>.</td>
+                       <t:bind t:name="new">
+                               <td>Created on <t:label t:name="date" /> by <t:a t:href="user-edits" t:rest="author"><t:label t:name="author" /></t:a>.</td>
                        </t:bind>
                </tr>
        </table>
 
        <t:comparison t:name="diff" />
 
-       <t:bind t:name="old">
-               <div class="navbar">
-                       <t:a t:href="$wiki/view" t:query="title">Latest</t:a>
-                       | <t:a t:href="$wiki/revisions" t:query="title">Revisions</t:a>
-                       | <t:a t:href="$wiki/edit" t:query="title">Edit</t:a>
-                       | <t:button t:action="$wiki/delete" t:for="title" class="link-button link">Delete</t:button>
-               </div>
-       </t:bind>
-
 </t:chloe>