~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/error.pt

  • Committer: Marius Kruger
  • Date: 2008-10-01 16:39:00 UTC
  • mto: This revision was merged to the branch mainline in revision 228.
  • Revision ID: amanic@gmail.com-20081001163900-mpj2oj16oic7loh6
nest try to be python2.4 compatible again

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
2
<tal:block define="onload string:load()">
3
 
  <html xmlns="http://www.w3.org/1999/xhtml">
 
3
  <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="macros/main">
4
4
    <head>
5
 
      <title tal:content="error_title">
6
 
      </title>
 
5
      <title metal:fill-slot="title"
 
6
             tal:content="string:${branch/friendly_name} : error"></title>
7
7
    </head>
8
8
    <body>
9
 
        <p tal:content="error_description"/>
10
 
        <p tal:content="error_properties"/>
 
9
        <tal:block metal:fill-slot="heading">
 
10
        <h1>
 
11
           <tal:has-link condition="branch/branch_link">
 
12
            <a tal:attributes="href branch/branch_link"
 
13
               tal:content="branch/friendly_name">
 
14
               nice/branch/name
 
15
            </a>
 
16
           </tal:has-link>
 
17
            <tal:no-link condition="not: branch/branch_link">
 
18
                <span metal:use-macro="breadcrumbs/directory"></span>
 
19
            </tal:no-link>
 
20
           : error
 
21
        </h1>
 
22
        <pre>
 
23
            <p tal:content="error_title"/>
 
24
            <p tal:content="error_description"/>
 
25
        </pre>
 
26
        <br/><br/>
 
27
        </tal:block>
11
28
    </body>
12
29
  </html>
13
30
</tal:block>