##// END OF EJS Templates
vcs: Use key lookup to explode if key is not available....
vcs: Use key lookup to explode if key is not available. The key has to be in the dictionary, otherwise something changed in the code and expoding here is better than hiding the error.

File last commit:

r839:a3b2c0d4 default
r890:ed7b68ec default
Show More
labels.html
64 lines | 2.3 KiB | text/html | HtmlLexer
## -*- coding: utf-8 -*-
<%inherit file="/debug_style/index.html"/>
<%def name="breadcrumbs_links()">
${h.link_to(_('Style'), h.url('debug_style_home'))}
&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">
<h2>Labels</h2>
<h3>Labels used for tags, branches and bookmarks</h3>
<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>
</div>
<h3>Labels used in tables</h3>
<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>
</div> <!-- .main-content -->
</div>
</div> <!-- .box -->
</%def>