~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/code/templates/branch-macros.pt

  • Committer: Andrew Bennetts
  • Date: 2011-06-30 13:22:07 UTC
  • mto: This revision was merged to the branch mainline in revision 13481.
  • Revision ID: andrew.bennetts@canonical.com-20110630132207-8fdfxxgek4sc848m
Almost working: JS expander appears and tries to load contents from the right URL.

Show diffs side-by-side

added added

removed removed

Lines of Context:
205
205
    <tal:diff-expander condition="show_diff_expander | nothing">
206
206
      <div class="revision-group-diff" tal:condition="revisions | nothing">
207
207
        <a class="unseen expander-icon js-action"
208
 
           tal:define="start_revno python:revisions[0];
209
 
                       last_revno python:revisions[-1]"
210
 
           tal:attributes="id string:expandable-${start_revno}-${last_revno}"
211
 
        >Changes</a>
 
208
           tal:define="start_rev python:revisions[0];
 
209
                       last_rev python:revisions[-1]"
 
210
           tal:attributes="id string:expandable-${start_rev/sequence}-${last_rev/sequence}"
 
211
        >See diff</a>
 
212
      <div class="unseen expander-content">Loading diff</div>
212
213
      </div>
213
 
    </tal>
 
214
    </tal:diff-expander>
214
215
  </dl>
215
216
 
216
217
</metal:branch-revisions>