~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to ivle/webapp/filesystem/svnlog/__init__.py

Port ivle.webapp.filesystem.{diff,svnlog}'s media to the new framework.

Show diffs side-by-side

added added

removed removed

Lines of Context:
33
33
    template = 'template.html'
34
34
 
35
35
    def populate(self, req, ctx):
36
 
        req.styles = ["/media/svn/log.css"]
 
36
        self.plugin_styles[Plugin] = ['log.css']
37
37
 
38
38
        svnlogservice_path = os.path.join(ivle.conf.share_path,
39
39
                                          'services/svnlogservice')
75
75
        ('/svnlog', SubversionLogView, {'path': ''}),
76
76
        ('/svnlog/*path', SubversionLogView),
77
77
    ]
 
78
 
 
79
    media = 'media'