##// END OF EJS Templates
system-info: refactor func_name to prevent refactor
system-info: refactor func_name to prevent refactor

File last commit:

r4091:4e2f3dca default
r4984:61cdb36d default
Show More
journal.mako
52 lines | 2.0 KiB | application/x-mako | MakoHtmlLexer
templating: use .mako as extensions for template files.
r1282 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.mako"/>
<%def name="title()">
${_('Journal')}
%if c.rhodecode_name:
&middot; ${h.branding(c.rhodecode_name)}
%endif
</%def>
journal: ported controller to pyramid code
r1933
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 <%def name="breadcrumbs_links()">
templating: use .mako as extensions for template files.
r1282 ${h.form(None, id_="filter_form", method="get")}
<input class="q_filter_box ${'' if c.search_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.search_term}" placeholder="${_('quick filter...')}"/>
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 <input type='submit' value="${_('filter')}" class="btn" />
journal: ported controller to pyramid code
r1933 ${_('Journal')} - ${_ungettext('%s entry', '%s entries', c.journal_pager.item_count) % (c.journal_pager.item_count)}
templating: use .mako as extensions for template files.
r1282 ${h.end_form()}
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 <p class="filterexample" style="position: inherit" onclick="$('#search-help').toggle()">${_('Example Queries')}</p>
<pre id="search-help" style="display: none">${h.tooltip(h.journal_filter_help(request))}</pre>
templating: use .mako as extensions for template files.
r1282 </%def>
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807
templating: use .mako as extensions for template files.
r1282 <%def name="menu_bar_nav()">
${self.menu_items(active='journal')}
</%def>
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807
templating: use .mako as extensions for template files.
r1282 <%def name="head_extra()">
journal: ported controller to pyramid code
r1933 <link href="${h.route_path('journal_atom', _query=dict(auth_token=c.rhodecode_user.feed_token))}" rel="alternate" title="${_('ATOM journal feed')}" type="application/atom+xml" />
<link href="${h.route_path('journal_rss', _query=dict(auth_token=c.rhodecode_user.feed_token))}" rel="alternate" title="${_('RSS journal feed')}" type="application/rss+xml" />
templating: use .mako as extensions for template files.
r1282 </%def>
journal: ported controller to pyramid code
r1933
templating: use .mako as extensions for template files.
r1282 <%def name="main()">
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 <div class="box">
<!-- box / title -->
<div class="title journal">
${self.breadcrumbs()}
<ul class="links icon-only-links block-right">
<li>
<span><a id="refresh" href="${h.route_path('journal')}"><i class="icon-refresh"></i></a></span>
</li>
<li>
dan
webhelpers: replaced paginate library with custom lib
r4091 <span>
<a href="${h.route_path('journal_atom', _query=dict(auth_token=c.rhodecode_user.feed_token))}" title="RSS Feed" class="btn btn-sm"><i class="icon-rss-sign"></i>RSS</a>
</span>
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 </li>
</ul>
templating: use .mako as extensions for template files.
r1282 </div>
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 <div id="journal">${c.journal_data|n}</div>
</div>
templating: use .mako as extensions for template files.
r1282
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 <script type="text/javascript">
dan
webhelpers: replaced paginate library with custom lib
r4091 $('#j_filter').autoGrowInput();
audit-logs: improve help text, and expose all audit commands for easier filtering +ui fixes
r2807 </script>
templating: use .mako as extensions for template files.
r1282 </%def>