1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-09 02:42:47 +00:00

Enable change repo name and desc.

This commit is contained in:
zhengxie
2013-02-21 19:53:09 +08:00
parent 37f3631ad8
commit 36a3bd1685
8 changed files with 74 additions and 31 deletions

View File

@@ -28,10 +28,8 @@ function listCommitDetails(url, t) {
show(data['newdir'], '{% trans "New directories" %}');
show(data['deldir'], '{% trans "Deleted directories" %}');
if (!con) {
if (data['init_commit']) {
if (data['cmt_desc']) {
con = '<p>' + data['cmt_desc'] + '</p>';
} else {
con = '<p>{% trans "No conflict in the merge." %}</p>';
}
}
$('#ls-ch').css('text-align','left').html(heading + time + con);