Mercurial > hg > documentViewer
diff zpt/viewer_text.zpt @ 559:eabfbad6aeb4
"extended" layer for index view and some bugfixes.
author | casties |
---|---|
date | Fri, 28 Sep 2012 18:50:59 +0200 |
parents | fc34eff7b52d |
children | 61d53ccbdd70 |
line wrap: on
line diff
--- a/zpt/viewer_text.zpt Fri Sep 28 11:25:25 2012 +0200 +++ b/zpt/viewer_text.zpt Fri Sep 28 18:50:59 2012 +0200 @@ -74,10 +74,10 @@ <!-- right-side options --> <div class="col buttons"> <!--"BEGIN TEXT DISPLAY" --> - <div class="options"> + <div class="options" tal:condition="availableLayers"> <h4>Text layer</h4> <form tal:attributes="action viewerUrl" class="autosubmit"> - <input type="hidden" tal:define="params python:here.getParams(params={'viewLayer':None,'viewMode':None})" + <input type="hidden" tal:define="params python:here.getParams(params={'viewLayer':None})" tal:repeat="param params" tal:attributes="name param; value python:params[param]" /> <ul> <!-- text layer select buttons (rendered always) -->