Code

more installation doc cleanups
[roundup.git] / roundup / templates / classic / html / keyword.item
index cc73e88d35bb915206f8a5e8c681b42edd999bcf..4572370865abc26e78c4e705625818573d07ae53 100644 (file)
@@ -1,13 +1,27 @@
 <!-- dollarId: keyword.item,v 1.3 2002/05/22 00:32:34 richard Exp dollar-->
+<tal:block metal:use-macro="templates/page/macros/icing">
+<title metal:fill-slot="head_title">Keyword editing</title>
+<td class="page-header-top" metal:fill-slot="body_title">
+ <h2>Keyword editing</h2>
+</td>
+<td class="content" metal:fill-slot="content">
 
-<table class="otherinfo">
+<table class="otherinfo" tal:define="keywords db/keyword/list"
+       tal:condition="keywords">
  <tr><th colspan="4" class="header">Existing Keywords</th></tr>
- <tr tal:define="keywords db/keyword/list"
-     tal:repeat="start python:range(0, len(keywords), 4)">
-  <td tal:define="batch python:utils.Batch(keywords, 4, start)"
-      tal:repeat="keyword batch" tal:content="keyword/name">keyword here</td>
+ <tr tal:repeat="start python:range(0, len(keywords), 4)">
+  <td width="25%" tal:define="batch python:utils.Batch(keywords, 4, start)"
+      tal:repeat="keyword batch">
+    <a tal:attributes="href string:keyword${keyword/id}"
+       tal:content="keyword/name">keyword here</a>
+  </td>
+ </tr>
+ <tr>
+  <td colspan="4" style="border-top: 1px solid gray">
+   To edit an existing keyword (for spelling or typing errors),
+   click on its entry above.
+  </td>
  </tr>
- <tr><td colspan="4" style="border-top: 1px solid gray">&nbsp;</td></tr>
 </table>
 
 <p class="help" tal:condition="not:context/id">
@@ -18,6 +32,7 @@
       enctype="multipart/form-data">
 
  <input type="hidden" name=":required" value="name">
+ <input type="hidden" name=":template" value="item">
 
  <table class="form">
   <tr>
@@ -33,3 +48,6 @@
   </tr>
  </table>
 </form>
+</td>
+
+</tal:block>