~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/canonical/launchpad/templates/pomsgset-translate-macros.pt

merges rocketfuel

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
              tal:content="submission/potranslation/translation"
23
23
              >suggestion</div>
24
24
            <div class="discreet">
25
 
              &mdash;
 
25
              &mdash; By
26
26
              <a tal:content="submission/person/browsername"
27
 
                 tal:attributes="href submission/person/fmt:url">Foo Bar</a>
 
27
                 tal:attributes="href submission/person/fmt:url" >Foo</a> on
 
28
              <span tal:content="submission/datecreated/fmt:datetime">
 
29
                2006-08-05 01:04 UTC
 
30
              </span>
28
31
            </div>
29
32
          </tal:submission>
30
33
        </tal:block>
41
44
                  "structure submission/potranslation/translation/fmt:text-to-html"
42
45
                >suggestion</div>
43
46
              <div class="discreet">
44
 
                &mdash;
 
47
                &mdash; By
45
48
                <a tal:content="submission/person/browsername"
46
 
                   tal:attributes="href submission/person/fmt:url" >Foo Bar</a>
 
49
                   tal:attributes="href submission/person/fmt:url" >Foo</a> on
 
50
                <span tal:content="submission/datecreated/fmt:datetime">
 
51
                  2006-08-05 01:04 UTC
 
52
                </span>
47
53
                <tal:block
48
54
                  define="submissions_remaining python:len(submissions)-1"
49
55
                  condition="submissions_remaining">
64
70
                  "structure submission/potranslation/translation/fmt:text-to-html"
65
71
                >suggestion</div>
66
72
              <div class="discreet">
67
 
                &mdash;
 
73
                &mdash; By
68
74
                <a tal:content="submission/person/browsername"
69
 
                   tal:attributes="href submission/person/fmt:url" >Foo Bar</a>
 
75
                   tal:attributes="href submission/person/fmt:url" >Foo</a> on
 
76
                <span tal:content="submission/datecreated/fmt:datetime">
 
77
                  2006-08-05 01:04 UTC
 
78
                </span>
70
79
              </div>
71
80
            </tal:submission>
72
81
          </tal:maxentries>
233
242
        </tal:block>
234
243
      </td>
235
244
    </tr>
 
245
    <tal:active
 
246
      define="active python:pomsgset_view.context.getActiveSubmission(index)"
 
247
      condition="active">
 
248
      <tr class="discreet secondary">
 
249
        <th colspan="3" style="padding-bottom: 1em;">
 
250
          Translated by:
 
251
        </th>
 
252
        <td class="icon left right" />
 
253
        <td style="overflow: auto;">
 
254
          <a tal:content="active/person/browsername"
 
255
             tal:attributes="href active/person/fmt:url">Foo Bar</a> on
 
256
          <span tal:content="active/datecreated/fmt:datetime">
 
257
            2006-08-05 01:04 UTC
 
258
          </span>
 
259
        </td>
 
260
      </tr>
 
261
    </tal:active>
236
262
    <tal:block
237
263
      define="submissions python:pomsgset_view.get_suggested_submissions(index)">
238
264
      <metal:submissions