[gitg/wip/techlivezh/diff-view-clean-up: 21/21] Replace 'FILE_BODY' at the end
- From: Techlive Zheng <techlivezh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/techlivezh/diff-view-clean-up: 21/21] Replace 'FILE_BODY' at the end
- Date: Sat, 21 Dec 2013 16:41:43 +0000 (UTC)
commit bb40ec63c1d01c3dbbfc4c2c76554fbabd5f2d21
Author: Techlive Zheng <techlivezheng gmail com>
Date: Fri Dec 20 11:42:35 2013 +0800
Replace 'FILE_BODY' at the end
It rarely happens, if 'FILE_BODY' contains placeholders, it has to be
the last placeholder to be replaced.
https://bugzilla.gnome.org/show_bug.cgi?id=720886
libgitg/resources/diff-view-html-builder.js | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libgitg/resources/diff-view-html-builder.js b/libgitg/resources/diff-view-html-builder.js
index 34e08a5..c497b29 100644
--- a/libgitg/resources/diff-view-html-builder.js
+++ b/libgitg/resources/diff-view-html-builder.js
@@ -72,9 +72,9 @@ function diff_file(file, lnstate, data)
*/
return exec_template(data.file_template, {
'STAGEBUTTON': lnstate.stagebutton,
+ 'FILE_STATS': file_stats,
'FILE_PATH': file_path,
'FILE_BODY': file_body,
- 'FILE_STATS': file_stats,
});
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]