Changeset 534:9009cf0b0532 in documentViewer for zpt


Ignore:
Timestamp:
Jul 25, 2012, 7:52:08 PM (12 years ago)
Author:
casties
Branch:
default
Message:

small fixes.

Location:
zpt
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zpt/common_template.zpt

    r532 r534  
    5959        tal:condition="python:originalPage!=None"> (<span tal:replace="originalPage" /><span
    6060          tal:define="originalPageNorm pageinfo/pageNumberOrigNorm | nothing" tal:condition="python:originalPageNorm!=None">
    61             [<span tal:replace="originalPageNorm" />]
    62         </span>)
     61            [<span tal:replace="originalPageNorm" />]</span>)
    6362        </span> <input type="submit" value="Go" /> of <span tal:replace="numPages" /> <a tal:condition="right"
    6463        tal:attributes="href python:here.getLink('pn',right)">&gt;</a> <span tal:condition="not:right">&gt;</span> <a
  • zpt/toc_thumbs.zpt

    r532 r534  
    2929                tal:attributes="src python:test(docinfo['imageURL'],here.getScalerUrl(pn=idx,dw=100,dh=100,docinfo=docinfo),'images/pic');
    3030                                alt idx" /><br />
    31                 <span title="Scan number" tal:content="idx" /> <span
     31                <span tal:attributes="title string:Scan number $idx" tal:content="idx" /> <span
    3232                tal:condition="python:pageNumbers and pageNumbers.get(idx, False) and pageNumbers[idx]['no']"
    33                 title="Original page number" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" />
     33                tal:attributes="title python:'Original page number %s'%(pageNumbers[idx]['no'])" tal:content="python:' (%s)'%(pageNumbers[idx]['no'])" />
    3434            </a></td>
    3535          </tr>
Note: See TracChangeset for help on using the changeset viewer.