##// END OF EJS Templates
templates: make sure we don't call register routes if this function is not defined....
templates: make sure we don't call register routes if this function is not defined. - prevents simple JS errors on 4XX and 5XX pages.

File last commit:

r1843:ae62b3c2 default
r1889:649e3ef9 default
Show More
base.mako
29 lines | 879 B | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 <%inherit file="/base/base.mako"/>
<%def name="title()">
## represents page title
${_('%s Summary') % c.repo_name}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
<%def name="head_extra()">
dan
tooltip: use consistent h.tooltip usage to set tooltips.
r1843 <link href="${h.url('atom_feed_home',repo_name=c.rhodecode_db_repo.repo_name,auth_token=c.rhodecode_user.feed_token)}" rel="alternate" title="${h.tooltip(_('%s ATOM feed') % c.repo_name)}" type="application/atom+xml" />
<link href="${h.url('rss_feed_home',repo_name=c.rhodecode_db_repo.repo_name,auth_token=c.rhodecode_user.feed_token)}" rel="alternate" title="${h.tooltip(_('%s RSS feed') % c.repo_name)}" type="application/rss+xml" />
templating: use .mako as extensions for template files.
r1282 </%def>
<%def name="menu_bar_nav()">
${self.menu_items(active='repositories')}
</%def>
<%def name="breadcrumbs_links()">
</%def>
<%def name="main()">
${next.main()}
</%def>