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

« back to all changes in this revision

Viewing changes to ivle/webapp/base/ivle-headings.html

Fixed a small backwards-compatibility issue in the main genshi template.

This template should now function accross genshi versions 4 and 5,
making this compatible with ubuntu hardy packages

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
      xmlns:py="http://genshi.edgewall.org/"
3
3
      xmlns:xi="http://www.w3.org/2001/XInclude"
4
4
      py:strip="">
5
 
  <py:match path="head" once="true">
6
 
    <head py:attrs="select('@*')">
 
5
  <py:match path="head[@status!='done']" once="true">
 
6
    <head status='done' py:attrs="select('@*')">
7
7
      <title py:with="title = list(select('title/text()'))">
8
8
        <py:if test="title">${title} - </py:if>IVLE
9
9
      </title>
43
43
      ${select('*[local-name()!="title"]')}
44
44
    </head>
45
45
  </py:match>    
46
 
  <py:match path="body" once="true">
47
 
    <body>
 
46
  <py:match path="body[@status!='done']" once="true">
 
47
    <body status='done'>
48
48
      <div id="ivleheader"></div>
49
49
      <div id="ivleheader_text">
50
50
        <h1>IVLE</h1>