~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-02 07:08:27 UTC
  • mto: (1165.3.1 submissions)
  • mto: This revision was merged to the branch mainline in revision 1174.
  • Revision ID: grantw@unimelb.edu.au-20090402070827-1lxkwhpni15ucmdm
Expose the IVLE SVN base URL to JS.

Show diffs side-by-side

added added

removed removed

Lines of Context:
103
103
        ctx['favicon'] = None
104
104
        ctx['root_dir'] = ivle.conf.root_dir
105
105
        ctx['public_host'] = ivle.conf.public_host
 
106
        ctx['svn_base'] = ivle.conf.svn_addr
106
107
        ctx['write_javascript_settings'] = req.write_javascript_settings
107
108
        if req.user:
108
109
            ctx['login'] = req.user.login