changelog: ported to pyramid views.

This commit is contained in:
Marcin Kuzminski 2017-07-18 00:07:43 +02:00
parent f81ec24cc9
commit b2714a3c1d
22 changed files with 238 additions and 183 deletions

View file

@ -219,9 +219,9 @@
if (path.indexOf("#") >= 0) {
path = path.slice(0, path.indexOf("#"));
}
var url = pyroutes.url('changelog_file_home',
var url = pyroutes.url('repo_changelog_file',
{'repo_name': templateContext.repo_name,
'revision': state.rev, 'f_path': path, 'limit': 6});
'commit_id': state.rev, 'f_path': path, 'limit': 6});
$('#file_history_container').show();
$('#file_history_container').html('<div class="file-history-inner">{0}</div>'.format(_gettext('Loading ...')));