Changeset 570:61d53ccbdd70 in documentViewer for zpt


Ignore:
Timestamp:
Oct 12, 2012, 2:01:41 PM (12 years ago)
Author:
casties
Branch:
default
Message:

more resilience to server errors.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zpt/viewer_text.zpt

    r559 r570  
    5555          <metal:block metal:use-macro="here/template/common_template/macros/page_ruler" />
    5656        </div>
    57         <div class="content text" tal:condition="textPage">
     57        <div class="content text">
    5858          <div class="pageHeaderTitle" tal:condition="exists:pageinfo/pageHeaderTitle"
    5959            tal:content="structure pageinfo/pageHeaderTitle" />
    6060          <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>
    6262        </div>
    6363      </div>
Note: See TracChangeset for help on using the changeset viewer.