[rt-users] Display Queue Link in first paragraph

Christian Kurz Christian.Kurz at planNET.de
Wed Dec 20 05:00:33 EST 2000


On 00-12-19 Brandon S. Allbery KF8NH wrote:
> On Tuesday, December 19, 2000 05:00:51 PM +0100, Christian Kurz 
> <Christian.Kurz at plannet.de> wrote:
> +-----
> | On 00-12-19 Brandon S. Allbery KF8NH wrote:
> | > On Tuesday, December 19, 2000 03:43:36 PM +0100, Christian Kurz
> | > <Christian.Kurz at planNET.de> wrote:
> | > +-----
> | > | Hi,
> | > |
> | > | if I open a ticket I get the following selection in the first
> | paragraph > | "Comment | Reply | Take | Resolve". Which part of the code
> | of webrt do I > | need to change to also have a "Display Queue" link in
> | this line? Thanks. > +--->8
> |
> | > sub do_bar in lib/rt/ui/web/manipulate.pm
> |
> | And what Code? I just tried to do solve this with " "<A
> | HREF=\"$ScriptURL\">Display Queue</A>". " | " ." but then the line is
> | not center anymore. :( So what would be the correct code for this?
> +--->8

> Where did you insert your code?  It should go between the statement 
> printing "<DIV ALIGN=\"CENTER\">" and the one printing "</DIV>".

I had the following code in do_bar"

|sub do_bar {
|  my $serial_num = shift;
|  my $temp;

|      print "
|     <DIV ALIGN=\"CENTER\"> ".
|&fdro_murl("display=SetComment","history","Comment",0). " | " .
|&fdro_murl("display=SetReply","history","Reply",0);

And now I changed it to the following:

|sub do_bar {
|  my $serial_num = shift;
|  my $temp;

|      print "
|     <DIV ALIGN=\"CENTER\"> ".
|      print "
|     <A HREF=\"$ScriptURL\">Display Queue</A> ". " | " .
|&fdro_murl("display=SetComment","history","Comment",0). " | " .
|&fdro_murl("display=SetReply","history","Reply",0);

And now the whole bar containing "Display Queue | Comment | Reply " is
moved to the left instead of being centered and in the center I have the
following strings "1 | Take | Resolve". So, what is wrong my
modification?

Ciao
     Christian
-- 
Christian Kurz                                   http://www.planNET.de
planNET Systems GmbH                            mailto:info at planNET.de
Schoenfeldstr. 8                              Telefon: +49 721 66 36 0
D-76131 Karlsruhe                           Telefax: +49 721 66 36 199 




More information about the rt-users mailing list