Commits

rblank  committed 29b0682

0.12.1dev: Added a note about the ordering of priorities being used for coloring in ticket queries and reports.

Patch by Steffen Hoffmann. Closes #9405.

  • Participants
  • Parent commits 92de1ee
  • Branches 0.12-stable

Comments (0)

Files changed (3)

File trac/admin/templates/admin_enums.html

               You can remove all items from this list to completely hide this
               field from the user interface.
             </p>
+            <p class="help" py:if="type=='priority'">
+              <b>Note:</b> The order of priorities determines the coloring of entries
+              in the ticket queries and reports.
+            </p>
           </form>
 
           <p py:otherwise="" class="help">

File trac/admin/templates/admin_milestones.html

               <input type="submit" name="remove" value="${_('Remove selected items')}" py:if="can_remove" />
               <input type="submit" name="apply" value="${_('Apply changes')}" />
             </div>
-            <p class="hint">
+            <p class="help">
               You can remove all items from this list to completely hide this
               field from the user interface.
             </p>

File trac/ticket/admin.py

 
     def _render_admin_panel(self, req, cat, page, path_info):
         label = [gettext(each) for each in self._label]
-        data = {'label_singular': label[0], 'label_plural': label[1]}
+        data = {'label_singular': label[0], 'label_plural': label[1],
+                'type': self._type}
 
         # Detail view?
         if path_info: