From 33f0808c2076cacffd49fa61f20509694d4b5248 Mon Sep 17 00:00:00 2001 From: Alan Knowles Date: Mon, 31 Dec 2018 12:38:54 +0800 Subject: [PATCH] Uncommited changes synced --- jtemplates/change_comment.html | 14 -------------- jtemplates/change_commit.html | 26 ++++++++++++++++++-------- 2 files changed, 18 insertions(+), 22 deletions(-) diff --git a/jtemplates/change_comment.html b/jtemplates/change_comment.html index f5642dd..f330a05 100644 --- a/jtemplates/change_comment.html +++ b/jtemplates/change_comment.html @@ -11,24 +11,10 @@
-{if(t.rev.length)} - {script:} - for(var fn in t.commit.files) { - var diff = t.commit.files[fn]; - {end:} -
- {Roo.util.Format.htmlEncode(diff).replace(/\n/g,'
'):h} -
- {script:} - } - {end:} -{else:}
{Roo.util.Format.htmlEncode(t.reason).replace(/\n/g,'
'):h}

Comment Added by {t.person_id_name} on {t.changedate}

-{end:}
diff --git a/jtemplates/change_commit.html b/jtemplates/change_commit.html index 3b53bce..3d4d565 100644 --- a/jtemplates/change_commit.html +++ b/jtemplates/change_commit.html @@ -1,22 +1,32 @@ - +{script:} + for(var fn in t.commit.files) { + var diff = t.commit.files[fn]; +{end:}
  • - - {t.reason} - {t.rev} {t.by} + - {fn} change by {t.person_id_name} +
  • - \ No newline at end of file + {script:} + } + {end:} \ No newline at end of file -- 2.39.2