[rt-users] patch to show keyword selection in two columns for new tickets

Stefan Scherer stefan.scherer at sealsystems.de
Thu Sep 5 05:30:33 EDT 2002


For one queue we use five keywords. When creating a new ticket for
this queue you always have to scroll down, because all keywords
are shown in a table with one column.

If've modified the Create.html to fill the keyword selection into
two columns. Now our keyword lists fit into one screen.


*** Create.html 2002/09/05 09:18:43     1.2
--- Create.html 2002/09/05 09:28:44
*************** Describe the issue below:<br>
*** 117,125 ****
--- 117,131 ----
                title => "Keyword Selections", color => "#993300"
    &>
  <TABLE BORDER=0>
+ % my $i;
  % while ( my $KeywordSelect = $KeywordSelects->Next ) {
+ %   $i++;
  %   my $Descendents = $KeywordSelect->KeywordObj->Descendents;
+ %   if ($i % 2) {
       <TR><TD ALIGN=RIGHT>
+ %   } else {
+      <TD ALIGN=RIGHT>
+ %   }
        <% $KeywordSelect->Name %></TD><TD>
          <INPUT TYPE="hidden" NAME="KeywordSelectMagic<% $KeywordSelect->id %>" VALUE="1">
            <SELECT NAME="KeywordSelect-<% $KeywordSelect->id %>"
*************** Describe the issue below:<br>
*** 135,141 ****
--- 141,154 ----
  <OPTION VALUE="" SELECTED>(empty)</OPTION>
  % }
            </SELECT>
+ %   if ($i % 2) {
+       </TD>
+ %   } else {
        </TD></TR>
+ %   }
+ % }
+ % if ($i % 2) {
+       <TD>   </TD></TR>
  % }
    
  </TABLE>


Bye,

Stefan


-- 
Stefan Scherer
SEAL Systems          Tel.  : +49 (0) 9195-926-128
Lohmuehlweg 4         Fax   : +49 (0) 9195-1739
D-91341 Roettenbach   MailTo:stefan.scherer at sealsystems.de
Germany               WWW   : http://www.sealsystems.de



More information about the rt-users mailing list