Opened 19 years ago
Closed 8 years ago
#40 closed defect (wontfix)
TicketBox ticket titles
Reported by: | Owned by: | Shun-ichi Goto | |
---|---|---|---|
Priority: | normal | Component: | TicketBoxMacro |
Severity: | normal | Keywords: | |
Cc: | Trac Release: |
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.
Attachments (1)
Change History (6)
comment:1 Changed 19 years ago by
Component: | TracHacks → TicketBoxMacro |
---|---|
Owner: | changed from Alec Thomas to Shun-ichi Goto |
Changed 19 years ago by
Attachment: | TicketBox-withtext.diff added |
---|
comment:2 Changed 19 years ago by
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 19 years ago by
comment:5 Changed 8 years ago by
Resolution: | → wontfix |
---|---|
Status: | new → closed |
It appears this request can be satisfied with the TicketQueryMacro.
Patch to support optional ticket descriptions as well as text.