From bf0cb06ff9ece4b917cac37e62f7790d14d32f91 Mon Sep 17 00:00:00 2001 From: llj Date: Sat, 1 Dec 2012 10:16:35 +0800 Subject: [PATCH] modified 'details' popup --- templates/snippets/list_commit_detail.html | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/templates/snippets/list_commit_detail.html b/templates/snippets/list_commit_detail.html index 9fedbebea3..de3dea6b95 100644 --- a/templates/snippets/list_commit_detail.html +++ b/templates/snippets/list_commit_detail.html @@ -16,27 +16,27 @@ function get_commit_diff(url, callback) { con += ''; }; if (data['new'].length > 0) { - con += '

{% trans "New files" %}

'; + con += '

{% trans "New files" %}

'; show(data['new']); } if (data['removed'].length > 0) { - con += '

{% trans "Deleted files" %}

'; + con += '

{% trans "Deleted files" %}

'; show(data['removed']); } if (data['renamed'].length > 0) { - con += '

{% trans "Renamed or Moved files" %}

'; + con += '

{% trans "Renamed or Moved files" %}

'; show(data['renamed']); } if (data['modified'].length > 0) { - con += '

{% trans "Modified files" %}

'; + con += '

{% trans "Modified files" %}

'; show(data['modified']); } if (data['newdir'].length > 0) { - con += '

{% trans "New directories" %}

'; + con += '

{% trans "New directories" %}

'; show(data['newdir']); } if (data['deldir'].length > 0) { - con += '

{% trans "Deleted directories" %}

'; + con += '

{% trans "Deleted directories" %}

'; show(data['deldir']); } if (!con) { @@ -51,7 +51,7 @@ function list_commit_change(obj) { var url = obj.attr('href'); get_commit_diff(url, function(content) { var time = '

' + obj.attr('data') + '

'; - var title = '

{% trans "Modification Details" %}

' + time; + var title = '

{% trans "Modification Details" %}

' + time; $('#ls-ch').html(title + content).modal({ appendTo:'#main', maxHeight: window.innerHeight - 57,