~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/registry/templates/distroseries-localdifferences.pt

  • Committer: Launchpad Patch Queue Manager
  • Date: 2011-07-22 05:56:29 UTC
  • mfrom: (13492.1.1 revert-r13485)
  • Revision ID: launchpad@pqm.canonical.com-20110722055629-0y8ss6zvhjcoo12r
[r=wgrant][rollback=13485] Revert r13485. It prevents form pickers
 from being attached to their text widgets.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
 
39
39
      <div metal:use-macro="context/@@launchpad_form/form">
40
40
 
41
 
      <div metal:fill-slot="widgets">
 
41
      <div tal:condition="differences/batch" metal:fill-slot="widgets">
42
42
        <tal:navigation_top
43
43
          replace="structure differences/@@+navigation-links-upper" />
44
44
          <table class="listing">
61
61
                <a tal:attributes="href context/fmt:url"
62
62
                   tal:content="series_name">Deriwarty</a> version
63
63
              </th>
64
 
              <th tal:condition="view/show_parent_packagesets"
65
 
                  class="parent-package-sets">
 
64
              <th tal:condition="view/show_parent_packagesets">
66
65
                Parent package-sets
67
66
              </th>
68
 
              <th tal:condition="view/show_packagesets"
69
 
                  class="package-sets">
 
67
              <th tal:condition="view/show_packagesets">
70
68
                Package-sets
71
69
              </th>
72
 
              <th>Last changed</th>
 
70
               <th>Last uploaded</th>
73
71
              <th>Latest comment</th>
74
72
            </tr>
75
73
          </thead>
145
143
                <tal:replace replace="difference/@@/packagesets_names" />
146
144
              </td>
147
145
 
148
 
              <td class="last-changed">
 
146
              <td>
149
147
                <tal:parent condition="not: view/show_derived_version">
150
148
                  <tal:published condition="parent_source_pub">
151
149
                    <span tal:attributes="title parent_source_pub/datepublished/fmt:datetime"
152
150
                          tal:content="parent_source_pub/datepublished/fmt:approximatedate">2005-09-16</span>
153
 
                    <tal:creator define="spr parent_source_pub/sourcepackagerelease">
154
 
                      <span class="nowrap">by <a tal:replace="structure spr/creator/fmt:link" /></span>
155
 
                    </tal:creator>
156
 
                    <tal:uploader
157
 
                        define="spr parent_source_pub/sourcepackagerelease"
158
 
                        condition="python: spr.uploader not in (None, spr.creator)">
159
 
                      <br />
160
 
                      <span class="discreet nowrap">
161
 
                        (uploaded by <a tal:replace="structure spr/uploader/fmt:link" />)
162
 
                      </span>
163
 
                    </tal:uploader>
 
151
                    <tal:signer condition="parent_source_pub/sourcepackagerelease/uploader">
 
152
                      by <a tal:replace="structure parent_source_pub/sourcepackagerelease/uploader/fmt:link">Steph Smith</a>
 
153
                    </tal:signer>
164
154
                  </tal:published>
165
155
                  <tal:not-published condition="not:parent_source_pub">
166
156
                    <span tal:content="difference/parent_source_version" />
167
157
                  </tal:not-published>
168
158
                </tal:parent>
169
159
                <tal:derived condition="view/show_derived_version">
170
 
                  <tal:published condition="source_pub">
 
160
                  <tal:published condition="parent_source_pub">
171
161
                    <span tal:attributes="title source_pub/datepublished/fmt:datetime"
172
162
                          tal:content="source_pub/datepublished/fmt:approximatedate">2005-09-16</span>
173
 
                    <tal:creator define="spr source_pub/sourcepackagerelease">
174
 
                      <span class="nowrap">by <a tal:replace="structure spr/creator/fmt:link" /></span>
175
 
                    </tal:creator>
176
 
                    <tal:uploader
177
 
                        define="spr source_pub/sourcepackagerelease"
178
 
                        condition="python: spr.uploader not in (None, spr.creator)">
179
 
                      <br />
180
 
                      <span class="discreet nowrap">
181
 
                        (uploaded by <a tal:replace="structure spr/uploader/fmt:link" />)
182
 
                      </span>
183
 
                    </tal:uploader>
 
163
                    <tal:signer condition="source_pub/sourcepackagerelease/uploader">
 
164
                      by <a tal:replace="structure source_pub/sourcepackagerelease/uploader/fmt:link">Steph Smith</a>
 
165
                    </tal:signer>
184
166
                  </tal:published>
185
167
                  <tal:not-published condition="not:source_pub">
186
168
                    <span tal:content="difference/source_version" />
220
202
  Y.on('domready', diff_module.setup_expandable_rows);
221
203
});
222
204
</script>
223
 
<script type="text/javascript">
224
 
  LPS.use("lp.registry.distroseries.differences", function(Y) {
225
 
    Y.on("domready", function() {
226
 
      var form = Y.one("form#distroseries-localdiff-search-filter");
227
 
      var differences = Y.lp.registry.distroseries.differences;
228
 
      // Probably only one, but check for more just in case.
229
 
      Y.all("th.package-sets").each(function(header) {
230
 
        differences.connect_packageset_picker(header, form);
231
 
      });
232
 
    });
233
 
  });
234
 
</script>
235
205
 
236
206
    </div>
237
207