[gitg/wip/techlivezh/bug/720886: 7/7] Replace 'FILE_BODY' at the end
- From: Techlive Zheng <techlivezh src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg/wip/techlivezh/bug/720886: 7/7] Replace 'FILE_BODY' at the end
- Date: Mon, 13 Jan 2014 10:34:00 +0000 (UTC)
commit b38f0f63e2e30381714b51cfcce441a490bc77da
Author: Techlive Zheng <techlivezheng gmail com>
Date: Tue Dec 24 18:08:12 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 4934292..276e00f 100644
--- a/libgitg/resources/diff-view-html-builder.js
+++ b/libgitg/resources/diff-view-html-builder.js
@@ -134,9 +134,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]