Mercurial > hg > documentViewer
comparison zpt/viewer_text.zpt @ 570:61d53ccbdd70
more resilience to server errors.
author | casties |
---|---|
date | Fri, 12 Oct 2012 16:01:41 +0200 |
parents | eabfbad6aeb4 |
children | f1906951be2a |
comparison
equal
deleted
inserted
replaced
569:be21250420be | 570:61d53ccbdd70 |
---|---|
52 <!-- text page --> | 52 <!-- text page --> |
53 <div class="col main"> | 53 <div class="col main"> |
54 <div class="ruler top"> | 54 <div class="ruler top"> |
55 <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" /> | 55 <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" /> |
56 </div> | 56 </div> |
57 <div class="content text" tal:condition="textPage"> | 57 <div class="content text"> |
58 <div class="pageHeaderTitle" tal:condition="exists:pageinfo/pageHeaderTitle" | 58 <div class="pageHeaderTitle" tal:condition="exists:pageinfo/pageHeaderTitle" |
59 tal:content="structure pageinfo/pageHeaderTitle" /> | 59 tal:content="structure pageinfo/pageHeaderTitle" /> |
60 <tal:block tal:condition="textPage" tal:replace="structure textPage"/> | 60 <tal:block tal:condition="textPage" tal:replace="structure textPage"/> |
61 <div class="emptyPage" tal:condition="not:textPage">[Empty page]</div> | 61 <div class="emptyPage" tal:condition="not:textPage">[Error: no page]</div> |
62 </div> | 62 </div> |
63 </div> | 63 </div> |
64 <!-- end of col-main --> | 64 <!-- end of col-main --> |
65 | 65 |
66 <!-- layer columns (rendered always) --> | 66 <!-- layer columns (rendered always) --> |