##// END OF EJS Templates
goto-switcher: optimized performance and query capabilities....
goto-switcher: optimized performance and query capabilities. - Previous implementation had on significant bug. The use of LIMIT 20 was limiting results BEFORE auth checks. In case of large ammount of similarly named repositories user didn't had access too, the result goto search was empty. This was becuase first 20 items fetched didn't pass permission checks and final auth list was empty. To fix this we now use proper filtering for auth using SQL. It means we first check user allowed repositories, and add this as a filter so end result from database is already to only the accessible repositories.

File last commit:

r1900:7da9bb63 default
r2038:2bdf9d4d default
Show More
labels.html
64 lines | 2.3 KiB | text/html | HtmlLexer
project: added all source files and assets
r1 ## -*- coding: utf-8 -*-
<%inherit file="/debug_style/index.html"/>
<%def name="breadcrumbs_links()">
dan
debug-style: moved from pylons controller to pyramid view.
r1900 ${h.link_to(_('Style'), h.route_path('debug_style_home'))}
project: added all source files and assets
r1 &raquo;
${c.active}
</%def>
<%def name="real_main()">
<div class="box">
<div class="title">
${self.breadcrumbs()}
</div>
<div class='sidebar-col-wrapper'>
${self.sidebar()}
<div class="main-content">
alerts: updating style guide for new polymer alerts
r839 <h2>Labels</h2>
project: added all source files and assets
r1 <h3>Labels used for tags, branches and bookmarks</h3>
alerts: updating style guide for new polymer alerts
r839
<div class="bs-example">
<ul class="metatag-list">
<li>
<span class="tagtag tag" title="Tag tip">
<a href="/fake-link"><i class="icon-tag"></i>tip</a>
</span>
</li>
<li>
<span class="branchtag tag" title="Branch default">
<a href="/fake-link"><i class="icon-code-fork"></i>default</a>
</span>
</li>
<li>
<span class="bookmarktag tag" title="Bookmark example">
<a href="/fake-link"><i class="icon-bookmark"></i>example</a>
</span>
</li>
</ul>
project: added all source files and assets
r1
alerts: updating style guide for new polymer alerts
r839 </div>
project: added all source files and assets
r1
<h3>Labels used in tables</h3>
alerts: updating style guide for new polymer alerts
r839 <div class="bs-example">
<ul class="metatag-list">
<li>[default] <span class="metatag" tag="default">default</span></li>
<li>[featured] <span class="metatag" tag="featured">featured</span></li>
<li>[stale] <span class="metatag" tag="stale">stale</span></li>
<li>[dead] <span class="metatag" tag="dead">dead</span></li>
<li>[lang =&gt; lang] <span class="metatag" tag="lang">lang</span></li>
<li>[license =&gt; License] <span class="metatag" tag="license"><a href="http://www.opensource.org/licenses/License">License</a></span></li>
<li>[requires =&gt; Repo] <span class="metatag" tag="requires">requires =&gt; <a href="#">Repo</a></span></li>
<li>[recommends =&gt; Repo] <span class="metatag" tag="recommends">recommends =&gt; <a href="#">Repo</a></span></li>
<li>[see =&gt; URI] <span class="metatag" tag="see">see =&gt; <a href="#">URI</a></span></li>
</ul>
</div>
project: added all source files and assets
r1 </div> <!-- .main-content -->
</div>
</div> <!-- .box -->
</%def>