PageRenderTime 102ms CodeModel.GetById 41ms app.highlight 0ms RepoModel.GetById 40ms app.codeStats 0ms

/kai/templates/snippets/layout.mako

https://bitbucket.org/bbangert/kai/
Mako | 17 lines | 17 code | 0 blank | 0 comment | 3 complexity | 960d574e770f29a81095e82ae53b6336 MD5 | raw file
 1<div class="yui-b content snippets">
 2    <div class="relnav" id="relnav">\
 3        ${h.link_to(_('Snippet Home'), url=url('snippets'))} |
 4        % if c.user:
 5        ${h.link_to(_('Add Snippet'), url=url('new_snippet'))} | \
 6        % endif
 7        ${h.link_to(_('View By Author'), url=url(controller='snippets', action='by_author'))} | \
 8        ${h.link_to(_('View By Tag'), url=url('snippet_tagcloud'))}
 9    </div>
10    ${next.body()}
11</div>
12<%inherit file="../layout.mako" />
13<%def name="styles()">
14${h.auto_discovery_link(url('formatted_snippets', format='atom', qualified=True), feed_type='atom', title='PylonsHQ Snippet Feed')}
15${parent.styles()}
16${h.stylesheet_link('/css/sphinx.css')}
17</%def>