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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/xhtml.py

  • Committer: William Grant
  • Date: 2009-04-28 06:39:38 UTC
  • Revision ID: grantw@unimelb.edu.au-20090428063938-9m60hweimymu3gdm
Use Request.make_path everywhere.

Show diffs side-by-side

added added

removed removed

Lines of Context:
28
28
from ivle.webapp.base.views import BaseView
29
29
from ivle.webapp.base.plugins import ViewPlugin, OverlayPlugin
30
30
from ivle.webapp.errors import HTTPError, Unauthorized
31
 
import ivle.util
32
31
 
33
32
class XHTMLView(BaseView):
34
33
    """
135
134
                        ctx['favicon'] = icon_url
136
135
                else:
137
136
                    new_app['has_icon'] = False
138
 
                new_app['path'] = ivle.util.make_path(tab[4])
 
137
                new_app['path'] = req.make_path(tab[4])
139
138
                new_app['desc'] = tab[2]
140
139
                new_app['name'] = tab[1]
141
140
                new_app['weight'] = tab[5]