~launchpad-pqm/launchpad/devel

« back to all changes in this revision

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

  • Committer: Curtis Hovey
  • Date: 2011-12-18 15:13:07 UTC
  • mto: This revision was merged to the branch mainline in revision 14547.
  • Revision ID: curtis.hovey@canonical.com-20111218151307-sdm2gzobt5tplbe0
Moved badges to lp.app.

Show diffs side-by-side

added added

removed removed

Lines of Context:
4
4
  define-macro="master"
5
5
  tal:define="
6
6
    revno modules/lp.app.versioninfo/revno | string:unknown;
7
 
    devmode modules/lp.services.config/config/devmode;
8
 
    rooturl modules/lp.services.webapp.vhosts/allvhosts/configs/mainsite/rooturl;
9
 
    is_demo modules/lp.services.config/config/launchpad/is_demo;
10
 
    is_lpnet modules/lp.services.config/config/launchpad/is_lpnet;
11
 
    site_message modules/lp.services.config/config/launchpad/site_message;
 
7
    devmode modules/canonical.config/config/devmode;
 
8
    rooturl modules/canonical.launchpad.webapp.vhosts/allvhosts/configs/mainsite/rooturl;
 
9
    is_demo modules/canonical.config/config/launchpad/is_demo;
 
10
    is_lpnet modules/canonical.config/config/launchpad/is_lpnet;
 
11
    site_message modules/canonical.config/config/launchpad/site_message;
12
12
    icingroot string:${rooturl}+icing/rev${revno};
13
13
    features request/features;
14
14
    feature_scopes request/features/scopes;
55
55
    </tal:comment>
56
56
    <noscript></noscript>
57
57
 
58
 
    <tal:view condition="not: view/macro:is-page-contentless">
59
 
      <meta name="description"
60
 
        tal:condition="view/page_description | nothing"
61
 
        tal:attributes="content view/page_description/fmt:strip-email/fmt:shorten/500" />
62
 
    </tal:view>
 
58
    <meta name="description"
 
59
      tal:condition="view/page_description | nothing"
 
60
      tal:attributes="content view/page_description/fmt:strip-email/fmt:shorten/500" />
63
61
 
64
62
    <metal:page-javascript
65
63
        use-macro="context/@@+base-layout-macros/page-javascript" />
66
 
    <tal:view condition="not: view/macro:is-page-contentless">
67
 
      <metal:block define-slot="head_epilogue"></metal:block>
68
 
    </tal:view>
 
64
    <metal:block define-slot="head_epilogue"></metal:block>
69
65
  </head>
70
66
 
71
67
  <body id="document"
121
117
              <tal:breadcrumbs replace="structure context/@@+hierarchy">
122
118
                ProjectName > Branches > Merge Proposals > fix-for-navigation
123
119
              </tal:breadcrumbs>
124
 
              <div id="registration" class="registering"
125
 
                tal:condition="not: view/macro:is-page-contentless">
 
120
              <div id="registration" class="registering">
126
121
                <metal:registering define-slot="registering" />
127
122
              </div>
128
123
            </div>
137
132
                  use-macro="context/@@+base-layout-macros/notifications"/>
138
133
              </tal:notifications>
139
134
            </div>
140
 
 
141
 
            <tal:view condition="not: view/macro:is-page-contentless">
142
 
              <metal:main define-slot="main" />
143
 
            </tal:view>
144
 
            <tal:limitedview condition="view/macro:is-page-contentless">
145
 
              The information in this page is not shared with you.
146
 
            </tal:limitedview>
 
135
            <metal:main define-slot="main" />
147
136
          </div><!-- yui-b -->
148
137
        </div><!-- yui-main -->
149
138
 
150
 
        <tal:view condition="not: view/macro:is-page-contentless">
151
 
          <div id="side-portlets" class="yui-b side"
152
 
            tal:condition="view/macro:pagehas/portlets">
153
 
            <metal:portlets define-slot="side" />
154
 
          </div><!-- yui-b side -->
155
 
        </tal:view>
 
139
        <div id="side-portlets" class="yui-b side"
 
140
          tal:condition="view/macro:pagehas/portlets">
 
141
          <metal:portlets define-slot="side" />
 
142
        </div><!-- yui-b side -->
156
143
      </div><!-- yui-t4 -->
157
144
 
158
145
      <metal:footer
182
169
 
183
170
<tal:template>
184
171
  <tal:comment
185
 
    define="log modules/lp.services.webapp.adapter/summarize_requests;"
 
172
    define="log modules/canonical.launchpad.webapp.adapter/summarize_requests;"
186
173
    replace="structure string:&lt;!--
187
174
    Facet name: ${view/menu:selectedfacetname}
188
175
    Page type: ${view/macro:pagetype}
200
187
</tal:template>
201
188
 
202
189
 
203
 
<metal:debug-timeline
 
190
<metal:debug-timeline 
204
191
  use-macro="context/@@+base-layout-macros/debug-timeline" />
205
192
 
206
193
<tal:comment
207
194
    tal:condition="request/features/visible_render_time"
208
 
    define="render_time modules/lp.services.webapp.adapter/summarize_requests;"
 
195
    define="render_time modules/canonical.launchpad.webapp.adapter/summarize_requests;"
209
196
    replace='structure string:&lt;script type="text/javascript"&gt;
210
197
  start_ajax_logging();
211
198
  var render_time = "${render_time}";