Download:
child 33:5b2c49a87d64
parent 31:03bc6e1b4f3c
32:1a37d3cb7394
Anton Shestakov <av6@dwimlabs.net>, Wed, 11 Jul 2018 12:01:39 +0800
changeset: make successorlink use monospace font, add {rev} for consistency

1 файлов изменено, 1 вставок(+), 1 удалений(-) [+]
templates/kit/map file | annotate | diff | comparison | revisions
--- a/templates/kit/map Wed Jul 11 11:58:44 2018 +0800
+++ b/templates/kit/map Wed Jul 11 12:01:39 2018 +0800
@@ -261,7 +261,7 @@
inbranchtag = '<a href="{url|urlescape}shortlog/{name|revescape}{sessionvars%urlparameter}"><span class="uk-badge kit-badge-branch" title="Branch: {name|escape}">{name|escape}</span></a> '
bookmarktag = '<a href="{url|urlescape}rev/{name|revescape}{sessionvars%urlparameter}"><span class="uk-badge kit-badge-bookmark" title="Bookmark: {name|escape}">{name|escape}</span></a> '
alltags = '<span>{phasetag}{obsoletetag}{instabilities%instabilitytag}{inbranch%inbranchtag}{branches%branchtag}{tags%tagtag}{bookmarks%bookmarktag}</span>'
-successorlink = '<a href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{node|short}</a> '
+successorlink = '<a class="kit-monospace" href="{url|urlescape}rev/{node|short}{sessionvars%urlparameter}">{rev}:{node|short}</a> '
obsfatesuccessors = '{if(successors, ' as ')}{successors%successorlink}'
obsfateverb = '{obsfateverb(successors, markers)}'
obsfateoperations = '{if(obsfateoperations(markers), ' using {join(obsfateoperations(markers), ', ')}')}'