~loggerhead-team/loggerhead/trunk-rich

« back to all changes in this revision

Viewing changes to loggerhead/templates/error.pt

  • Committer: Steve 'Ashcrow' Milner
  • Date: 2008-10-24 02:26:05 UTC
  • mto: This revision was merged to the branch mainline in revision 231.
  • Revision ID: stevem@gnulinux.net-20081024022605-bukahu7dovm7ii6u
Updated to follow pep8.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
 
2
<tal:block define="onload string:load()">
 
3
  <html xmlns="http://www.w3.org/1999/xhtml" metal:use-macro="macros/main">
 
4
    <head>
 
5
      <title metal:fill-slot="title"
 
6
             tal:content="string:${branch/friendly_name} : error"></title>
 
7
    </head>
 
8
    <body>
 
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>
 
28
    </body>
 
29
  </html>
 
30
</tal:block>