Changeset 629:e36bf3226fde in documentViewer for zpt
- Timestamp:
- May 26, 2015, 8:58:27 AM (9 years ago)
- Branch:
- default
- Children:
- 630:25295ceb11b1, 631:0c3aab828864
- Location:
- zpt/viewer
- Files:
-
- 2 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
zpt/viewer/common_template.zpt
r609 r629 31 31 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a 32 32 tal:omit-tag="python:viewMode=='text'" tal:attributes="href python:here.getLink('viewMode','text')">Text</a></li> 33 <li tal:condition="docpath" tal:attributes="class python:here.getStyle(viewMode, 'text')"><a 34 tal:omit-tag="python:viewMode=='text_image'" tal:attributes="href python:here.getLink('viewMode','text_image')">Text Image</a></li> 33 35 <li tal:condition="python:docinfo.get('imagePath',None)" tal:attributes="class python:here.getStyle(viewMode, 'image')"><a 34 36 tal:omit-tag="python:viewMode=='image'" tal:attributes="href python:here.getLink('viewMode','image')">Image</a></li> -
zpt/viewer/viewer_text.zpt
r594 r629 109 109 <h4>Text normalization</h4> 110 110 <form tal:attributes="action viewerUrl" class="autosubmit" 111 tal:define="norm python:pageinfo.get('characterNormalization',' regPlusNorm');">111 tal:define="norm python:pageinfo.get('characterNormalization','orig');"> 112 112 <input type="hidden" 113 113 tal:define="params python:here.getParams(params={'characterNormalization':None, 'viewLayer':viewLayer})" … … 116 116 <li><input type="radio" class="autosubmit" name="characterNormalization" value="orig" 117 117 tal:attributes="checked python:norm=='orig'" /> Original</li> 118 < li><input type="radio" class="autosubmit" name="characterNormalization" value="reg"118 <!--<li><input type="radio" class="autosubmit" name="characterNormalization" value="reg" 119 119 tal:attributes="checked python:norm=='reg'" /> Regularized</li> 120 120 <li><input type="radio" class="autosubmit" name="characterNormalization" value="regPlusNorm" 121 tal:attributes="checked python:norm=='regPlusNorm'" /> Normalized</li> 121 tal:attributes="checked python:norm=='regPlusNorm'" /> Normalized</li>--> 122 122 </ul> 123 123 <input type="submit" value="Go!" />
Note: See TracChangeset
for help on using the changeset viewer.