~launchpad-pqm/launchpad/devel

« back to all changes in this revision

Viewing changes to lib/lp/app/templates/base-layout.pt

  • Committer: Barry Warsaw
  • Date: 2009-09-03 00:38:35 UTC
  • mto: (9378.5.1 barry-417089)
  • mto: This revision was merged to the branch mainline in revision 9425.
  • Revision ID: barry@canonical.com-20090903003835-2dmlto935t4mh4g4
Convert the person-karma.pt (i.e. ~person/+karma) page to UI 3.0.

After UI review from Martin for the specific page, remove the headings in the
karma points totals, and cozy up the table (via a few new CSS classes).  Make
the numbers app-colored.  Also, switch the date and action in the second
table, and add some application-summary.

Split the karma stuff into a separate PersonKarmaView.

Along the way, define more rules to make non-index subpages conformant by
using the view label in the green H1, and ensuring that breadcrumbs appear
after the H1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
120
120
              xml:lang view/lang|default_language|default;
121
121
              dir view/dir|string:ltr">
122
122
            <div tal:condition="view/macro:pagehas/applicationtabs">
123
 
              <metal:slot metal:define-slot="heading" />
124
 
              <tal:breadcrumbs replace="structure context/@@+hierarchy">
125
 
                ProjectName > Branches > Merge Proposals > fix-for-navigation
126
 
              </tal:breadcrumbs>
 
123
              <metal:block define-slot="heading" />
 
124
              <h1 tal:condition="view/label"
 
125
                  tal:content="view/label">Page label</h1>
 
126
              <div style="padding-bottom: 1em;">
 
127
                <tal:breadcrumbs replace="structure context/@@+hierarchy">
 
128
                  ProjectName > Branches > Merge Proposals > fix-for-navigation
 
129
                </tal:breadcrumbs>
 
130
              </div>
127
131
            </div>
128
132
            <metal:main define-slot="main" />
129
133
          </div><!-- yui-b -->