Commits

Nikolaj Sjujskij committed d8abe8c

Substitute $USER for current username in wiki link

Comments (0)

Files changed (1)

wikiticketcalendar/macro.py

                 wiki_page_format = str(kwargs['wiki'])
             except KeyError:
                 wiki_page_format = str(args[3])
+            wiki_page_format = wiki_page_format.replace('$USER',
+                                                         self.ref.req.authname)
 
         show_t_open_dates = True
         if len(args) >= 5 or kwargs.has_key('cdate'):