[rt-users] more ergonomic queues admin page

Geoff Richards qef at rosies-dumplings.co.uk
Fri Nov 22 12:00:31 EST 2002


Hi,

I've made a tweaked version of the page which lists queues for you to
admin - Admin/Queues/index.html

My changes remove the form for showing disabled queues, and replace it
with a link.  So it's now just a single click to toggle hidding diabled
queues, and you can see from the cover text whether they are currently
displayed or not.

I also moved the 'Create new queue' link to the left-hand column of the
table to save vertical space, so more queue links are visible.

The patch is attached, against version 2.0.15-pre1-1 (although the latest
version in Aegis seems to be almost the same apart from i18n).


-- 
Geoff Richards - GBdirect - http://consulting.gbdirect.co.uk/
-------------- next part --------------
--- /usr/share/request-tracker/WebRT/html/Admin/Queues/index.html	Fri Jan 11 06:11:32 2002
+++ Admin/Queues/index.html	Fri Nov 22 16:33:44 2002
@@ -8,20 +8,20 @@
 <TR>
 <TD VALIGN=TOP>
 
-<FORM METHOD=POST ACTION="<% $RT::WebPath %>/Admin/Queues/">
-
-<input type="checkbox" name="FindDisabledQueues"> Include disabled queues in listing.
-<BR>
-<div align=right><input type=submit value="Go!"></div> 
-</FORM>
-</TD>
-<TD VALIGN=TOP>
 <UL>
 % if ($session{'CurrentUser'}->HasSystemRight('AdminQueue')) {
-<LI><A HREF="<%$RT::WebPath%>/Admin/Queues/Modify.html?Create=1">Create a new queue</A><BR><BR></LI>
-</UL>
+<LI><A HREF="<%$RT::WebPath%>/Admin/Queues/Modify.html?Create=1">Create a new queue</A></LI>
 % }
 
+% if ($FindDisabledQueues) {
+<LI><A href="<% $RT::WebPath %>/Admin/Queues/?FindDisabledQueues=0">Exclude disabled queues from listing</A></LI>
+% } else {
+<LI><A href="<% $RT::WebPath %>/Admin/Queues/?FindDisabledQueues=1">Include disabled queues in listing</A></LI>
+% }
+</UL>
+
+</TD>
+<TD VALIGN=TOP>
 <%$caption%><BR>
 <UL>
 %if ($queues->Count == 0) {


More information about the rt-users mailing list