Mercurial > hg > documentViewer
diff zpt/layer_text_annotator.zpt @ 526:3f375a048402
moved search and dict into separate layers.
removed search_template.
added tocMode=concordance.
fixed bug with paging tocs.
author | casties |
---|---|
date | Tue, 10 Apr 2012 19:41:44 +0200 |
parents | 70c3ae5eac7c |
children | 652cc8d3f1a9 |
line wrap: on
line diff
--- a/zpt/layer_text_annotator.zpt Thu Apr 05 19:29:50 2012 +0200 +++ b/zpt/layer_text_annotator.zpt Tue Apr 10 19:41:44 2012 +0200 @@ -2,7 +2,7 @@ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> -<metal:block metal:define-macro="html_head"> +<metal:block metal:define-macro="html_head" tal:condition="python:'annotator' in viewLayers"> <!-- annotator --> <link rel="stylesheet" type="text/css" tal:attributes="href string:$rootUrl/template/annotator_files/css/annotator.css" /> @@ -87,7 +87,7 @@ </ul> </div> - <metal:block metal:define-macro="options_box"> + <metal:block metal:define-macro="options_box" tal:condition="python:'annotator' in viewLayers"> <!-- BEGIN ANNOTATIONS --> <div class="options"> <h4>Annotations</h4>