~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Tim Penhey
  • Date: 2010-06-10 07:54:59 UTC
  • mto: This revision was merged to the branch mainline in revision 11000.
  • Revision ID: tim.penhey@canonical.com-20100610075459-2hsee3kk0c4x8wff
Make the menus use the DecoratedBranch

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
  xmlns:tal="http://xml.zope.org/namespaces/tal"
3
3
  xmlns:metal="http://xml.zope.org/namespaces/metal"
4
4
  xmlns:i18n="http://xml.zope.org/namespaces/i18n"
5
 
  tal:define="context_menu context/menu:context">
 
5
  tal:define="context_menu view/context/menu:context">
6
6
 
7
7
  <p tal:condition="not:context/revision_count"
8
8
     tal:define="branch context">
10
10
  </p>
11
11
 
12
12
  <tal:history-available condition="context/revision_count"
13
 
                         define="branch context;
 
13
                         define="branch view/context;
14
14
                                 revisions branch/latest_revisions">
15
15
    <metal:landing-target use-macro="branch/@@+macros/branch-revisions"/>
16
16