38:cf936f5403ff
Anton Shestakov <av6@dwimlabs.net>, Fri, 17 Apr 2020 23:22:25 +0800
notfound: don't try to render breadcrumbs if repo is not found

previous change 36:c43e16e3c768

templates/kit/fileannotate.tmpl

Permissions: -rw-r--r--

Other formats: Feeds:
{header}
<title>{file|escape} at {symrev|escape} (annotated) · {repo|escape}</title>
<link rel="alternate" type="application/atom+xml" href="{url|urlescape}atom-log" title="Atom feed for {repo|escape}">
<link rel="alternate" type="application/rss+xml" href="{url|urlescape}rss-log" title="RSS feed for {repo|escape}">
</head>
<body>
{navbar}
<div class="uk-container uk-container-center uk-margin-large-bottom">
<div class="uk-tab-center uk-margin-top">
<ul class="uk-tab">
<li><a href="{url|urlescape}summary{sessionvars%urlparameter}">Summary</a></li>
<li><a href="{url|urlescape}shortlog/{symrev}{sessionvars%urlparameter}">Shortlog</a></li>
<li><a href="{url|urlescape}log/{symrev}{sessionvars%urlparameter}">Changelog</a></li>
<li><a href="{url|urlescape}graph/{symrev}{sessionvars%urlparameter}">Graph</a></li>
<li><a href="{url|urlescape}branches{sessionvars%urlparameter}">Branches</a></li>
<li><a href="{url|urlescape}tags{sessionvars%urlparameter}">Tags</a></li>
<li><a href="{url|urlescape}bookmarks{sessionvars%urlparameter}">Bookmarks</a></li>
<li class="uk-active"><a href="{url|urlescape}file/{symrev}{sessionvars%urlparameter}">Files</a></li>
</ul>
</div>
<div class="uk-clearfix uk-margin-top">
<div>
<a class="kit-monospace" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a>
{alltags}
</div>
<div>{author|obfuscate}, <span class="age">{date|rfc822date}</span></div>
<div class="uk-margin-top kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
</div>
<hr>
<div class="uk-clearfix">
<div class="uk-float-right">
<table class="uk-margin-bottom">
{child%fileannotatechild}
{parent%fileannotateparent}
</table>
</div>
<h2 class="uk-margin-top-remove">{file|escape}</h2>
<p>Permissions: <span class="kit-monospace">{permissions|permissions}</span></p>
</div>
<div class="uk-clearfix">
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}file/{symrev}/{file|urlescape}{sessionvars%urlparameter}">File</a>
<a class="uk-button uk-button-small" href="{url|urlescape}file/tip/{file|urlescape}{sessionvars%urlparameter}">Latest</a>
<a class="uk-button uk-button-small" href="{url|urlescape}log/{symrev}/{file|urlescape}{sessionvars%urlparameter}">Revisions</a>
<a class="uk-button uk-button-small uk-active" href="{url|urlescape}annotate/{symrev}/{file|urlescape}{sessionvars%urlparameter}">Annotate</a>
<a class="uk-button uk-button-small" href="{url|urlescape}diff/{symrev}/{file|urlescape}{sessionvars%urlparameter}">Diff</a>
<a class="uk-button uk-button-small" href="{url|urlescape}comparison/{symrev}/{file|urlescape}{sessionvars%urlparameter}">Comparison</a>
</div>
<div class="uk-float-right">
<span class="uk-margin-left">Other formats:</span>
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}json-annotate/{symrev}/{file|urlescape}">JSON</a>
<a class="uk-button uk-button-small" href="{url|urlescape}raw-annotate/{symrev}/{file|urlescape}">Raw</a>
</div>
<span class="uk-margin-left">Feeds:</span>
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}atom-log/tip/{file|urlescape}">Atom</a>
<a class="uk-button uk-button-small" href="{url|urlescape}rss-log/tip/{file|urlescape}">RSS</a>
</div>
</div>
</div>
<table class="uk-width-1-1 uk-margin-top kit-border-collapse kit-annotate">{annotate%annotateline}</table>
</div>
{footer}