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

« back to all changes in this revision

Viewing changes to ivle/webapp/admin/templates/project-deleted.html

  • Committer: David Coles
  • Date: 2010-07-20 00:30:45 UTC
  • Revision ID: coles.david@gmail.com-20100720003045-j239u3w3m5wfribb
Put "__name__" = "__main__" into globals for console.

Fixes issue where __name__ did not work when run in the python console. exec() 
with an empty globals dictionary will result in "__name__" = "__builtin__".

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html xmlns="http://www.w3.org/1999/xhtml"
 
2
      xmlns:py="http://genshi.edgewall.org/">
 
3
  <head>
 
4
    <title>Project deleted ${project.name} from ${project.project_set.offering.subject.name}</title>
 
5
  </head>
 
6
  <body>
 
7
    <h1>Project deleted</h1>
 
8
    <div id="ivle_padding">
 
9
      <p>Project ${project.name} has been deleted.</p>
 
10
      <a class="manageaction" href="${req.publisher.generate(project.project_set.offering, OfferingProjectsView)}">Manage projects</a>
 
11
    </div>
 
12
  </body>
 
13
</html>