24:d39306bfc3f4
Anton Shestakov <av6@dwimlabs.net>, Thu, 31 May 2018 21:13:39 +0800
manifest: slightly more elegant ifeq() for updirentry

next change 27:a7703f59ea26
previous change 17:84e3983ef532

templates/kit/changeset.tmpl

Permissions: -rw-r--r--

Other formats: Feeds:
{header}
<title>{rev}:{node|short} · {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 class="uk-active"><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><a href="{url|urlescape}file/{symrev}{sessionvars%urlparameter}">Files</a></li>
</ul>
</div>
<div class="uk-clearfix uk-margin-top">
<div class="uk-float-right">
<span class="uk-margin-left">Download:</span>
<div class="uk-button-group">
<a class="uk-button uk-button-small" href="{url|urlescape}raw-rev/{node|short}">Patch</a>
{archives%archiveentry}
</div>
<table class="uk-margin-top">
{if(obsolete, '<tr><td>obsolete</td><td>{succsandmarkers%obsfateentry}</td></tr>')}
{child%changesetchild}
{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}
</table>
</div>
<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-small uk-margin-small-left kit-commit-message">{desc|strip|escape|websub|nonempty}</div>
</div>
<hr>
<div>
{diffsummary}
<a id="diffstatexpand" href="javascript:toggleDiffstat()">[<tt>+</tt>]</a>
<div id="diffstatdetails" style="display: none;">
<a href="javascript:toggleDiffstat()">[<tt>-</tt>]</a>
<table>{diffstat}</table>
</div>
</div>
<table class="uk-table uk-table-hover uk-text-nowrap">{files}</table>
{diff}
</div>
{footer}