Commits

Anonymous committed 8679e02

Re-add 'priority'.

Comments (0)

Files changed (2)

html/issue.item.html

   <span tal:replace="structure context/nosy/field" />
  </td>
 </tr>
-
+<tr>
+ <th i18n:translate="">
+   <span tal:replace="structure python:db.priority.classhelp('id,name,description',label='Priority')" />:
+ </th>
+ <td tal:content="structure context/priority/menu">priority</td>
+ <td></td><td></td>
+</tr>
 <tr tal:condition="context/is_edit_ok">
  <th><tal:block i18n:translate="">Change Note</tal:block>:</th>
  <td colspan="3">

html/issue.search.html

   <td metal:use-macro="group_input"></td>
 </tr>
 
+<tr tal:define="name string:priority;
+                db_klass string:priority;
+                db_content string:name;">
+  <th i18n:translate="">Priority:</th>
+  <td metal:use-macro="search_select_translated">
+    <option metal:fill-slot="extra_options" value="-1" i18n:translate=""
+            tal:attributes="selected python:value == '-1'">not selected</option>
+  </td>
+  <td metal:use-macro="column_input"></td>
+  <td metal:use-macro="sort_input"></td>
+  <td metal:use-macro="group_input"></td>
+</tr>
+
 <tr tal:define="name string:status;
                 db_klass string:status;
                 db_content string:name;">
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.