source: trunk/skins/lemill/diff_view.pt @ 469

Revision 469, 1.2 KB checked in by tarmo, 13 years ago (diff)

All strings in ZPTs are now i18n'd. Refs #524, spent 90m,
30m remaining. Need to fix i18n:domains still.

Line 
1<tal:macro metal:define-macro="template_master">
2<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en"
3    lang="en"
4    metal:use-macro="here/main_template/macros/master"
5    i18n:domain="plone">
6
7    <div metal:fill-slot="main" style="width:100%" i18n:domain="lemill">
8        <h1 class="documentFirstHeading" i18n:translate="heading_changes">Changes to <tal:block i18n:name="title" tal:content="object_title">PLACEHOLDER</tal:block>
9        </h1>
10
11        <div metal:use-macro="here/document_byline/macros/byline">
12            Get the byline - contains details about author and modification date.
13        </div>
14
15        <tal:def define="diffFields python:context.getDiffFields(request.get('x_radio'), request.get('y_radio'));">
16        <tal:field repeat="ff diffFields/keys">
17        <table tal:define="subset diffFields/?ff" style="width:100%">
18            <tr><th colspan="2" tal:content="python:subset['niceName']"></th></tr>
19            <tr>
20                <td style="width:50%" tal:content="python:subset['new']"></td>
21                <td style="width:50%" tal:content="python:subset['old']"></td>
22            </tr>
23        </table>
24        </tal:field>
25        </tal:def>
26
27    </div>
28</html>
29</tal:macro>
Note: See TracBrowser for help on using the repository browser.