I've tried submitting a patch on t.e.o. as an attachment and also in
the ticket body, but both give an "Internal Error" saying "Reject
spam: <a href=".
I've attached the patch I'm trying to add to ticket 3719.
Sid
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac
Development" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/trac-dev
-~----------~----~----~----~------~----~------~--~---
Index: milestone.cs
===================================================================
--- milestone.cs (revision 3815)
+++ milestone.cs (working copy)
@@ -235,6 +235,16 @@
/if ?><?cs
/if ?>
+<?cs
+ if:trac.acl.MILESTONE_CREATE ?>
+ <div class="buttons">
+ <form method="get" action="<?cs var:trac.href.milestone ?>"><div>
+ <input type="hidden" name="action" value="new" />
+ <input type="submit" value="Add new milestone" />
+ </div></form>
+ </div><?cs
+ /if ?>
+
<div id="help">
<strong>Note:</strong> See <a href="<?cs
var:trac.href.wiki ?>/TracRoadmap">TracRoadmap</a> for help on using the
roadmap.