Re: hyperlink "scrNNN" as well as "issueNNNN"

"John P. Rouillard" <[email protected]>
Newsgroups gmane.comp.bug-tracking.roundup.user
Message-ID <[email protected]>
In message
<CAEyOLyCZEiZ4nMoc095M4Zsv6KeZYqozJxhJ+NjLS9_41b3fUA@mail.gmail.com> ,
J Arrizza writes:

>Right now the message area will hyperlink "Issue123" to jump to the issue
>123.
>
>We also use the term "scr" (software change request) instead of "issue", so
>my question is simple: is there a way to modify the code to recognize
>"scrNNN" and "issueNNN" and convert both to hyperlinks?

Is scr a class in roundup? If so it should just work. If it doesn't
that's a bug.

If scr is a link to an external url (i.e. not a class in roundup), you
should be able to modify hyper_re/_hyper_repl in cgi/templating.py to
add support for turning scr1234 or scr 1423 into a link.

I am not sure if you can change the url processing from a tracker or
if the only place it can be changed is by editing templating.py.

--
				-- rouilj
John Rouillard
===========================================================================
My employers don't acknowledge my existence much less my opinions.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.