Modify ↓
Opened 15 years ago
Closed 6 years ago
#7454 closed enhancement (wontfix)
Patch to get BlackMagic working with Agilo
| Reported by: | Andy Baker | Owned by: | obs |
|---|---|---|---|
| Priority: | lowest | Component: | BlackMagicTicketTweaksPlugin |
| Severity: | trivial | Keywords: | |
| Cc: | Andy Baker | Trac Release: | 0.11 |
Description
Not sure if this something you'd be interested in, but here's a quick'n'dirty patch (against 0.11) so that BlackMagic works with Agilo.
Index: blackmagic/blackmagic.py
===================================================================
--- blackmagic/blackmagic.py (revision 8334)
+++ blackmagic/blackmagic.py (working copy)
@@ -100,7 +100,7 @@
#reset blocked tickets to 0
self.blockedTickets = 0
#ticket page
- if template == "ticket.html":
+ if template == "ticket.html" or template == "agilo_ticket_new.html" or template == "agilo_ticket_edit.html" :
#remove ticket types user doesn't have permission to
fields = data.get("fields")
i = 0
@@ -260,7 +260,7 @@
if filename == "query.html":
stream |= Transformer('//div[@class="query"]/h1/span[@class="numrows"]/text()').replace("")
- if filename == "ticket.html":
+ if filename == "ticket.html" or filename == "agilo_ticket_new.html" or filename == "agilo_ticket_edit.html" :
for field,e in self.enchants.items():
disabled = e["disable"]
hidden = e["hide"]
Attachments (0)
Change History (4)
comment:1 Changed 15 years ago by
comment:3 Changed 8 years ago by
Here is the BlackMagicTicketTweaksPlugin with Agilo for Trac Support:
comment:4 Changed 6 years ago by
| Resolution: | → wontfix |
|---|---|
| Status: | new → closed |
This plugin is deprecated in Trac 1.4 and later. See migration tips on BlackMagicTicketTweaksPlugin page.
Note: See
TracTickets for help on using
tickets.



Thank you very much ... it helped us a lot!!!!