From: Alan Knowles Date: Mon, 31 Dec 2018 04:38:54 +0000 (+0800) Subject: Uncommited changes synced X-Git-Url: http://git.roojs.org/?p=Pman.MTrack;a=commitdiff_plain;h=33f0808c2076cacffd49fa61f20509694d4b5248 Uncommited changes synced --- 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