Sure, it's simply as follows. I've only tested it in terms of changing field
labels, should we need the field protection aspects I'll test that out then.

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('//d...@class="query"]/h1/sp...@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"]



On 2 August 2010 12:51, Felix Schwarz <[email protected]> wrote:

> Am 01.08.2010 18:34, schrieb Andy Baker:
>
>  Eventually I hacked/customised BlackMagic to work with Agilo. Was dead
>> easy
>> to be honest, I was being a bit lazy '-)
>>
>
> Can you send a patch to the mailing list? I think there are more people
> interested in it :-)
>
> fs
>
> --
> Follow Agilo on Twitter: http://twitter.com/agiloforscrum
> Please support us by reviewing and voting on:
> http://userstories.com/products/8-agilo-for-scrum
> http://ohloh.net/p/agilo-scrum http://freshmeat.net/projects/agiloforscrum
>
> You have received this message because you are subscribed to
> the "Agilo for Scrum" Google Group. This group is focused on
> supporting Agilo for Scrum users and is moderated by
> agile42 GmbH <http://www.agile42.com>.
>
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send an email to
> [email protected] <agilo%[email protected]>
> For more options, visit this group at
> http://groups.google.com/group/agilo
>

-- 
Follow Agilo on Twitter: http://twitter.com/agiloforscrum
Please support us by reviewing and voting on: 
http://userstories.com/products/8-agilo-for-scrum 
http://ohloh.net/p/agilo-scrum 
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Scrum" Google Group. This group is focused on
supporting Agilo for Scrum users and is moderated by
agile42 GmbH <http://www.agile42.com>.

To post to this group, send email to [email protected]
To unsubscribe from this group, send an email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/agilo

Reply via email to