##// END OF EJS Templates
rhodecode.js: break the loop when fileBrowserListeners search is truncated
rhodecode.js: break the loop when fileBrowserListeners search is truncated

File last commit:

r4116:ffd45b18 rhodecode-2.2.5-gpl
r4166:f0e51889 rhodecode-2.2.5-gpl
Show More
admin.html
58 lines | 1.7 KiB | text/html | HtmlLexer
renamed project to rhodecode
r547 ## -*- coding: utf-8 -*-
<%inherit file="/base/base.html"/>
<%def name="title()">
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 ${_('Admin journal')}
%if c.rhodecode_name:
&middot; ${c.rhodecode_name}
%endif
renamed project to rhodecode
r547 </%def>
<%def name="breadcrumbs_links()">
Implemented filtering of admin journal based on Whoosh Query language...
r3062 <form id="filter_form">
final implementation of #210 journal filtering.
r3070 <input class="q_filter_box ${'' if c.search_term else 'initial'}" id="j_filter" size="15" type="text" name="filter" value="${c.search_term or _('journal filter...')}"/>
<span class="tooltip" title="${h.tooltip(h.journal_filter_help())}">?</span>
Bradley M. Kuhn
Imported some of the GPLv3'd changes from RhodeCode v2.2.5....
r4116 <input type='submit' value="${_('filter')}" class="btn btn-mini" style="padding:0px 2px 0px 2px;margin:0px"/>
Implemented better support for Wildcard queries...
r3063 ${_('Admin journal')} - ${ungettext('%s entry', '%s entries', c.users_log.item_count) % (c.users_log.item_count)}
Implemented filtering of admin journal based on Whoosh Query language...
r3062 </form>
${h.end_form()}
renamed project to rhodecode
r547 </%def>
<%def name="page_nav()">
Mads Kiilerich
html: don't use tabs
r3197 ${self.menu('admin')}
renamed project to rhodecode
r547 </%def>
<%def name="main()">
<div class="box">
Mads Kiilerich
html: don't use tabs
r3197 <!-- box / title -->
<div class="title">
${self.breadcrumbs()}
</div>
<!-- end box / title -->
<div class="table">
<div id="user_log">
${c.log_data}
</div>
</div>
White-space cleanup
r1888 </div>
Implemented filtering of admin journal based on Whoosh Query language...
r3062
<script>
final implementation of #210 journal filtering.
r3070 YUE.on('j_filter','click',function(){
Mads Kiilerich
html: don't use tabs
r3197 var jfilter = YUD.get('j_filter');
if(YUD.hasClass(jfilter, 'initial')){
jfilter.value = '';
}
added help on how to filter the journal
r3069 });
final implementation of #210 journal filtering.
r3070 var fix_j_filter_width = function(len){
YUD.setStyle(YUD.get('j_filter'),'width',Math.max(80, len*6.50)+'px');
added help on how to filter the journal
r3069 }
final implementation of #210 journal filtering.
r3070 YUE.on('j_filter','keyup',function(){
Mads Kiilerich
html: don't use tabs
r3197 fix_j_filter_width(YUD.get('j_filter').value.length);
Implemented filtering of admin journal based on Whoosh Query language...
r3062 });
YUE.on('filter_form','submit',function(e){
Mads Kiilerich
html: don't use tabs
r3197 YUE.preventDefault(e)
final implementation of #210 journal filtering.
r3070 var val = YUD.get('j_filter').value;
Mads Kiilerich
html: don't use tabs
r3197 window.location = "${url.current(filter='__FILTER__')}".replace('__FILTER__',val);
added help on how to filter the journal
r3069 });
final implementation of #210 journal filtering.
r3070 fix_j_filter_width(YUD.get('j_filter').value.length);
Implemented filtering of admin journal based on Whoosh Query language...
r3062 </script>
White-space cleanup
r1888 </%def>