Download:
child 32:1a37d3cb7394
parent 30:6690b2078d4c
31:03bc6e1b4f3c
Anton Shestakov <av6@dwimlabs.net>, Wed, 11 Jul 2018 11:58:44 +0800
changeset: show each obsfateentry on its own line

2 файлов изменено, 6 вставок(+), 2 удалений(-) [+]
templates/kit/changeset.tmpl file | annotate | diff | comparison | revisions
templates/kit/map file | annotate | diff | comparison | revisions
--- a/templates/kit/changeset.tmpl Wed Jul 11 11:41:54 2018 +0800
+++ b/templates/kit/changeset.tmpl Wed Jul 11 11:58:44 2018 +0800
@@ -30,7 +30,7 @@
{archives%archiveentry}
</div>
<table class="uk-margin-top">
- {if(obsolete, '<tr><td>obsolete</td><td>{succsandmarkers%obsfateentry}</td></tr>')}
+ {if(obsolete, succsandmarkers%obsfateentry)}
{child%changesetchild}
{ifeq(count(parent), '2', parent%changesetparentdiff, parent%changesetparent)}
</table>
--- a/templates/kit/map Wed Jul 11 11:41:54 2018 +0800
+++ b/templates/kit/map Wed Jul 11 11:58:44 2018 +0800
@@ -267,7 +267,11 @@
obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}'
obsfateusers = '{if(obsfateusers(markers), ' by {join(obsfateusers(markers)%'{user|obfuscate}', ', ')}')}'
obsfatedate = '{if(obsfatedate(markers), ' {ifeq(min(obsfatedate(markers)), max(obsfatedate(markers)), '<span class="age">{min(obsfatedate(markers))|rfc822date}</span>', 'between <span class="age">{min(obsfatedate(markers))|rfc822date}</span> and <span class="age">{max(obsfatedate(markers))|rfc822date}</span>')}')}'
-obsfateentry = '{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}{obsfatedate}'
+obsfateentry = '
+ <tr>
+ <td class="uk-text-right">obsolete</td>
+ <td>{obsfateverb}{obsfateoperations}{obsfatesuccessors}{obsfateusers}{obsfatedate}</td>
+ </tr>'
shortlogentry = '
<tr>
<td class="age">{date|rfc822date}</td>