Opened 11 years ago

Last modified 10 years ago

TicketBox ticket titles

Reported by: Owned by: ebrown@… gotoh normal TicketBoxMacro normal

Description

It would be awesome to be able to use TicketBox to show a list of tickets with their titles:

[[TicketBox(200px,tickettitles,'%d Open Tickets',[report:1])]]


would generate

 #1 Exception in Core::Authen...
#19 Usernames containing '%'...
#23 Error during install


You could structure it with <div>s such that the <div> containing the title was <div style="width:300px;white-space:nowrap;overflow:hidden"> to automatically keep it on 1 line.

comment:1 Changed 11 years ago by athomas

• Component changed from TracHacks to TicketBoxMacro
• Owner changed from athomas to gotoh

Changed 11 years ago by Gary Oberbrunner

Patch to support optional ticket descriptions as well as text.

comment:2 Changed 11 years ago by Gary Oberbrunner

I've enclosed a patch against the 0.9 version of Oct. 7, 2005 that supports ticket descriptions. You use it by creating a report that outputs at least two fields: "ticket" which is the ID number, and "text" which is whatever you want the text to say (could come from ticket summary for instance). If the report has no "text" field, it behaves as it used to. If it does have "text", it creates a somewhat different format like this:

#40: do something #41: fix widgets #99: fronobulate the snozzwangler

I didn't do the <div> idea from the original ticket though, but it seems like a good idea.

comment:3 Changed 11 years ago by anonymous

Sorry that last example didn't come out right. Each ticket and its number were supposed to be on a separate line, like this:

#40: do something
#41: fix widgets
#99: fronobulate the snozzwangler

comment:4 Changed 10 years ago by athomas

• milestone 0.9 deleted

Milestone 0.9 deleted

Modify Ticket

Action
as new The owner will remain gotoh.
Author

E-mail address and user name can be saved in the Preferences.

Note: See TracTickets for help on using tickets.