diff --git a/kallithea/public/js/base.js b/kallithea/public/js/base.js --- a/kallithea/public/js/base.js +++ b/kallithea/public/js/base.js @@ -2059,7 +2059,7 @@ var YUI_paginator = function(links_per_p nextPageLinkLabel: '>', previousPageLinkLabel: '<', containers:containers - }) + }); return pagi } diff --git a/kallithea/templates/admin/gists/edit.html b/kallithea/templates/admin/gists/edit.html --- a/kallithea/templates/admin/gists/edit.html +++ b/kallithea/templates/admin/gists/edit.html @@ -164,7 +164,7 @@ $('#eform').submit(); } } - }) + }); }); diff --git a/kallithea/templates/admin/my_account/my_account_api_keys.html b/kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html @@ -79,5 +79,5 @@ $("#lifetime").select2({ 'dropdownAutoWidth': true }); - }) + }); diff --git a/kallithea/templates/admin/my_account/my_account_repos.html b/kallithea/templates/admin/my_account/my_account_repos.html --- a/kallithea/templates/admin/my_account/my_account_repos.html +++ b/kallithea/templates/admin/my_account/my_account_repos.html @@ -30,7 +30,7 @@ function table_renderer(data){ if (req) { req = req.toLowerCase(); for (i = 0; i diff --git a/kallithea/templates/admin/repo_groups/repo_group_add.html b/kallithea/templates/admin/repo_groups/repo_group_add.html --- a/kallithea/templates/admin/repo_groups/repo_group_add.html +++ b/kallithea/templates/admin/repo_groups/repo_group_add.html @@ -76,7 +76,7 @@ $(document).ready(function(){ var setCopyPermsOption = function(group_val){ if(group_val != "-1"){ - $('#copy_perms').show() + $('#copy_perms').show(); } else{ $('#copy_perms').hide(); @@ -85,11 +85,11 @@ $("#group_parent_id").select2({ 'dropdownAutoWidth': true }); - setCopyPermsOption($('#group_parent_id').val()) + setCopyPermsOption($('#group_parent_id').val()); $("#group_parent_id").on("change", function(e) { - setCopyPermsOption(e.val) - }) + setCopyPermsOption(e.val); + }); $('#group_name').focus(); - }) + }); diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html @@ -7,7 +7,7 @@ (_('Total repositories'), c.repo_group.repositories_recursive_count, ''), (_('Children groups'), c.repo_group.children.count(), ''), (_('Created on'), h.fmt_date(c.repo_group.created_on), ''), - (_('Owner'), h.person(c.repo_group.user), '') + (_('Owner'), h.person(c.repo_group.user), ''), ] %> %for dt, dd, tt in elems: diff --git a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html @@ -61,5 +61,5 @@ ${h.end_form()} $("#group_parent_id").select2({ 'dropdownAutoWidth': true }); - }) + }); diff --git a/kallithea/templates/admin/repos/repo_add_base.html b/kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html +++ b/kallithea/templates/admin/repos/repo_add_base.html @@ -90,7 +90,7 @@ ${h.form(url('repos'))} $(document).ready(function(){ var setCopyPermsOption = function(group_val){ if(group_val != "-1"){ - $('#copy_perms').show() + $('#copy_perms').show(); } else{ $('#copy_perms').hide(); @@ -100,7 +100,7 @@ ${h.form(url('repos'))} $('#remote_clone_toggle').on('click', function(e){ $('#remote_clone').show(); e.preventDefault(); - }) + }); if($('#remote_clone input').hasClass('error')){ $('#remote_clone').show(); } @@ -111,10 +111,10 @@ ${h.form(url('repos'))} 'dropdownAutoWidth': true }); - setCopyPermsOption($('#repo_group').val()) + setCopyPermsOption($('#repo_group').val()); $("#repo_group").on("change", function(e) { - setCopyPermsOption(e.val) - }) + setCopyPermsOption(e.val); + }); $("#repo_type").select2({ 'minimumResultsForSearch': -1 @@ -123,6 +123,6 @@ ${h.form(url('repos'))} 'minimumResultsForSearch': -1 }); $('#repo_name').focus(); - }) + }); ${h.end_form()} diff --git a/kallithea/templates/admin/repos/repo_creating.html b/kallithea/templates/admin/repos/repo_creating.html --- a/kallithea/templates/admin/repos/repo_creating.html +++ b/kallithea/templates/admin/repos/repo_creating.html @@ -57,7 +57,7 @@ setTimeout(worker, 1000); } else{ - $("#progress").html($('#progress_error').html()) + $("#progress").html($('#progress_error').html()); } } }); diff --git a/kallithea/templates/admin/repos/repo_edit_advanced.html b/kallithea/templates/admin/repos/repo_edit_advanced.html --- a/kallithea/templates/admin/repos/repo_edit_advanced.html +++ b/kallithea/templates/admin/repos/repo_edit_advanced.html @@ -16,7 +16,7 @@ ${h.end_form()} $("#id_fork_of").select2({ 'dropdownAutoWidth': true }); - }) + });

${_('Public Journal Visibility')}

diff --git a/kallithea/templates/admin/repos/repo_edit_fork.html b/kallithea/templates/admin/repos/repo_edit_fork.html --- a/kallithea/templates/admin/repos/repo_edit_fork.html +++ b/kallithea/templates/admin/repos/repo_edit_fork.html @@ -17,5 +17,5 @@ ${h.end_form()} $("#id_fork_of").select2({ 'dropdownAutoWidth': true }); - }) + }); diff --git a/kallithea/templates/admin/repos/repo_edit_settings.html b/kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html +++ b/kallithea/templates/admin/repos/repo_edit_settings.html @@ -143,15 +143,15 @@ ${h.form(url('repo', repo_name=c.repo_in $('#show_more_clone_id').on('click', function(e){ $('#clone_id').show(); e.preventDefault(); - }) + }); $('#edit_clone_uri').on('click', function(e){ $('#alter_clone_uri').show(); $('#edit_clone_uri').hide(); $('#clone_uri_hidden').hide(); ## store hash of old value for change detection var uri_change = ''; - $('#alter_clone_uri_help_block').html($('#alter_clone_uri_help_block').html()+" ("+$('#clone_uri_hidden_value').html()+")") - }) + $('#alter_clone_uri_help_block').html($('#alter_clone_uri_help_block').html()+" ("+$('#clone_uri_hidden_value').html()+")"); + }); $('#repo_landing_rev').select2({ 'dropdownAutoWidth': true @@ -160,5 +160,5 @@ ${h.form(url('repo', repo_name=c.repo_in 'dropdownAutoWidth': true }); - }) + }); diff --git a/kallithea/templates/admin/settings/settings_email.html b/kallithea/templates/admin/settings/settings_email.html --- a/kallithea/templates/admin/settings/settings_email.html +++ b/kallithea/templates/admin/settings/settings_email.html @@ -13,7 +13,7 @@ (_('SMTP use TLS'), c.ini.get('smtp_use_tls'), ''), (_('SMTP use SSL'), c.ini.get('smtp_use_ssl'), ''), - (_('SMTP auth'), c.ini.get('smtp_auth'), '') + (_('SMTP auth'), c.ini.get('smtp_auth'), ''), ] %> %for dt, dd, tt in elems: diff --git a/kallithea/templates/admin/settings/settings_system.html b/kallithea/templates/admin/settings/settings_system.html --- a/kallithea/templates/admin/settings/settings_system.html +++ b/kallithea/templates/admin/settings/settings_system.html @@ -6,7 +6,7 @@ (_('Platform'), c.platform, ''), (_('Git version'), c.git_version, ''), (_('Git path'), c.ini.get('git_path'), ''), - (_('Upgrade info endpoint'), h.literal('%s
%s.' % (c.update_url, _('Note: please make sure this server can access this URL'))), '') + (_('Upgrade info endpoint'), h.literal('%s
%s.' % (c.update_url, _('Note: please make sure this server can access this URL'))), ''), ] %> diff --git a/kallithea/templates/admin/settings/settings_vcs.html b/kallithea/templates/admin/settings/settings_vcs.html --- a/kallithea/templates/admin/settings/settings_vcs.html +++ b/kallithea/templates/admin/settings/settings_vcs.html @@ -91,6 +91,6 @@ ${h.form(url('admin_settings'), method=' $('#path_unlock_icon').addClass('icon-lock-open-alt'); $('#paths_root_path').removeAttr('readonly'); $('#paths_root_path').removeClass('disabled'); - }) - }) + }); + }); diff --git a/kallithea/templates/admin/user_groups/user_group_add.html b/kallithea/templates/admin/user_groups/user_group_add.html --- a/kallithea/templates/admin/user_groups/user_group_add.html +++ b/kallithea/templates/admin/user_groups/user_group_add.html @@ -64,6 +64,6 @@ diff --git a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html --- a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html +++ b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html @@ -5,7 +5,7 @@ elems = [ (_('Members'), len(c.group_members_obj), ''), (_('Created on'), h.fmt_date(c.user_group.created_on), ''), - (_('Owner'), h.person(c.user_group.user), '') + (_('Owner'), h.person(c.user_group.user), ''), ] %> %for dt, dd, tt in elems: diff --git a/kallithea/templates/admin/users/user_add.html b/kallithea/templates/admin/users/user_add.html --- a/kallithea/templates/admin/users/user_add.html +++ b/kallithea/templates/admin/users/user_add.html @@ -103,6 +103,6 @@ diff --git a/kallithea/templates/admin/users/user_edit_advanced.html b/kallithea/templates/admin/users/user_edit_advanced.html --- a/kallithea/templates/admin/users/user_edit_advanced.html +++ b/kallithea/templates/admin/users/user_edit_advanced.html @@ -7,7 +7,7 @@ (_('Source of Record'), c.user.extern_type, ''), (_('Created on'), h.fmt_date(c.user.created_on), ''), (_('Last Login'), c.user.last_login or '-', ''), - (_('Member of User groups'), len(c.user.group_member), ', '.join((x.users_group.users_group_name for x in c.user.group_member))) + (_('Member of User groups'), len(c.user.group_member), ', '.join((x.users_group.users_group_name for x in c.user.group_member))), ] %> %for dt, dd, tt in elems: diff --git a/kallithea/templates/admin/users/user_edit_api_keys.html b/kallithea/templates/admin/users/user_edit_api_keys.html --- a/kallithea/templates/admin/users/user_edit_api_keys.html +++ b/kallithea/templates/admin/users/user_edit_api_keys.html @@ -79,5 +79,5 @@ $("#lifetime").select2({ 'dropdownAutoWidth': true }); - }) + }); diff --git a/kallithea/templates/base/base.html b/kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html +++ b/kallithea/templates/base/base.html @@ -419,11 +419,11 @@ var children = []; $.each(this.children, function(){ if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){ - children.push({'id': this.id, 'text': this.text, 'type': this.type, 'obj': this.obj}) + children.push({'id': this.id, 'text': this.text, 'type': this.type, 'obj': this.obj}); } - }) + }); if(children.length !== 0){ - data.results.push({'text': section, 'children': children}) + data.results.push({'text': section, 'children': children}); } }); @@ -438,21 +438,21 @@ cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); $("#repo_switcher").on('select2-selecting', function(e){ e.preventDefault(); - window.location = pyroutes.url('summary_home', {'repo_name': e.val}) - }) + window.location = pyroutes.url('summary_home', {'repo_name': e.val}); + }); ## Global mouse bindings ## // general help "?" Mousetrap.bind(['?'], function(e) { - $('#help_kb').modal({}) + $('#help_kb').modal({}); }); // / open the quick filter @@ -544,7 +544,7 @@ ('g g', 'Goto my private gists page'), ('g G', 'Goto my public gists page'), ('n r', 'New repository page'), - ('n g', 'New gist page') + ('n g', 'New gist page'), ] %> %for key, desc in elems: @@ -572,7 +572,7 @@ ('g f', 'Goto files page'), ('g F', 'Goto files page with file search activated'), ('g o', 'Goto repository settings'), - ('g O', 'Goto repository permissions settings') + ('g O', 'Goto repository permissions settings'), ] %> %for key, desc in elems: diff --git a/kallithea/templates/base/default_perms_box.html b/kallithea/templates/base/default_perms_box.html --- a/kallithea/templates/base/default_perms_box.html +++ b/kallithea/templates/base/default_perms_box.html @@ -83,7 +83,7 @@ $(document).ready(function(e){ $('#inherit_default_permissions').change(function(){ show_custom_perms($('#inherit_default_permissions').prop('checked')); }); -}) +}); diff --git a/kallithea/templates/base/perms_summary.html b/kallithea/templates/base/perms_summary.html --- a/kallithea/templates/base/perms_summary.html +++ b/kallithea/templates/base/perms_summary.html @@ -123,6 +123,6 @@ } $('.perm_filter').on('change', function(){update_show($(this));}); $('.perm_filter[value=none]').each(function(){this.checked = false; update_show($(this));}); - }) + }); diff --git a/kallithea/templates/changelog/changelog.html b/kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html +++ b/kallithea/templates/changelog/changelog.html @@ -210,7 +210,7 @@ ${self.repo_context_bar('changelog', c.f YUD.get('open_new_pr').href = pyroutes.url('pullrequest_home', {'repo_name': '${c.repo_name}', 'rev_start': rev_start, - 'rev_end': rev_end}) + 'rev_end': rev_end}); YUD.setStyle('compare_fork','display','none'); }else{ diff --git a/kallithea/templates/changeset/changeset.html b/kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html +++ b/kallithea/templates/changeset/changeset.html @@ -246,7 +246,7 @@ ${self.repo_context_bar('changelog', c.c }); e.preventDefault(); } - }) + }); //prev links $('#parent_link').on('click', function(e){ @@ -289,7 +289,7 @@ ${self.repo_context_bar('changelog', c.c if (window.location.hash != "") { window.location.href = window.location.href; } - }) + }); diff --git a/kallithea/templates/compare/compare_diff.html b/kallithea/templates/compare/compare_diff.html --- a/kallithea/templates/compare/compare_diff.html +++ b/kallithea/templates/compare/compare_diff.html @@ -113,14 +113,14 @@ ${self.repo_context_bar('changelog')} var children = []; $.each(this.children, function(){ if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){ - children.push({'id': this.id, 'text': this.text}) + children.push({'id': this.id, 'text': this.text}); } - }) - data.results.push({'text': section, 'children': children}) + }); + data.results.push({'text': section, 'children': children}); }); //push the typed in changeset data.results.push({'text':_TM['Specify changeset'], - 'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]}) + 'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]}); query.callback(data); }else{ $.ajax({ @@ -132,7 +132,7 @@ ${self.repo_context_bar('changelog')} cache[key] = data; query.callback(data); } - }) + }); } } }); @@ -140,7 +140,7 @@ ${self.repo_context_bar('changelog')} placeholder: "${'%s@%s' % (c.cs_repo.repo_name, c.cs_ref_name)}", dropdownAutoWidth: true, formatSelection: function(obj){ - return '{0}@{1}'.format("${c.cs_repo.repo_name}", obj.text) + return '{0}@{1}'.format("${c.cs_repo.repo_name}", obj.text); }, query: function(query){ var key = 'cache2'; @@ -153,14 +153,14 @@ ${self.repo_context_bar('changelog')} var children = []; $.each(this.children, function(){ if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){ - children.push({'id': this.id, 'text': this.text}) + children.push({'id': this.id, 'text': this.text}); } - }) - data.results.push({'text': section, 'children': children}) + }); + data.results.push({'text': section, 'children': children}); }); //push the typed in changeset data.results.push({'text':_TM['Specify changeset'], - 'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]}) + 'children': [{'id': query.term, 'text': query.term, 'type': 'rev'}]}); query.callback(data); }else{ $.ajax({ @@ -172,7 +172,7 @@ ${self.repo_context_bar('changelog')} cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); diff --git a/kallithea/templates/files/diff_2way.html b/kallithea/templates/files/diff_2way.html --- a/kallithea/templates/files/diff_2way.html +++ b/kallithea/templates/files/diff_2way.html @@ -75,7 +75,7 @@ $(document).ready(function () { cmsettings: {mode: 'text/plain', readOnly: true, lineWrapping: false, lineNumbers: true}, lhs: function(setValue) { if("${c.node1.is_binary}" == "True"){ - setValue('Binary file') + setValue('Binary file'); } else{ $.ajax(orig1_url, {dataType: 'text', success: setValue}); @@ -84,7 +84,7 @@ $(document).ready(function () { }, rhs: function(setValue) { if("${c.node2.is_binary}" == "True"){ - setValue('Binary file') + setValue('Binary file'); } else{ $.ajax(orig2_url, {dataType: 'text', success: setValue}); @@ -95,13 +95,13 @@ $(document).ready(function () { var val = e.currentTarget.checked; $('#compare').mergely('options', {ignorews: val}); $('#compare').mergely('update'); - }) + }); $('#edit_mode').change(function(e){ var val = !e.currentTarget.checked; $('#compare').mergely('cm', 'lhs').setOption('readOnly', val); $('#compare').mergely('cm', 'rhs').setOption('readOnly', val); $('#compare').mergely('update'); - }) + }); }); diff --git a/kallithea/templates/files/files.html b/kallithea/templates/files/files.html --- a/kallithea/templates/files/files.html +++ b/kallithea/templates/files/files.html @@ -64,10 +64,10 @@ var ypjax_links = function(){ var url = el.href; var _base_url = '${h.url("files_home",repo_name=c.repo_name,revision='',f_path='')}'; - _base_url = _base_url.replace('//','/') + _base_url = _base_url.replace('//','/'); //extract rev and the f_path from url. - parts = url.split(_base_url) + parts = url.split(_base_url); if(parts.length != 2){ return false; } @@ -145,7 +145,7 @@ var callbacks = function(State){ $('#hlcode').mouseup(getSelectionLink); // history select field - var cache = {} + var cache = {}; $("#diff1").select2({ placeholder: _TM['Select changeset'], dropdownAutoWidth: true, @@ -160,10 +160,10 @@ var callbacks = function(State){ var children = []; $.each(this.children, function(){ if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){ - children.push({'id': this.id, 'text': this.text}) + children.push({'id': this.id, 'text': this.text}); } - }) - data.results.push({'text': section, 'children': children}) + }); + data.results.push({'text': section, 'children': children}); }); query.callback(data); }else{ @@ -176,7 +176,7 @@ var callbacks = function(State){ cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); @@ -186,10 +186,10 @@ var callbacks = function(State){ success: function(data) { $('#file_authors').html(data); $('#file_authors').show(); - tooltip_activate() + tooltip_activate(); } - }) - }) + }); + }); } $(document).ready(function(){ diff --git a/kallithea/templates/files/files_browser.html b/kallithea/templates/files/files_browser.html --- a/kallithea/templates/files/files_browser.html +++ b/kallithea/templates/files/files_browser.html @@ -122,5 +122,5 @@ if(search_GET == "1"){ $("#filter_activate").click(); } - }) + }); diff --git a/kallithea/templates/files/files_edit.html b/kallithea/templates/files/files_edit.html --- a/kallithea/templates/files/files_edit.html +++ b/kallithea/templates/files/files_edit.html @@ -98,7 +98,7 @@ $(document).ready(function(){ var detected_mode = CodeMirror.findModeByExtension("${c.file.extension}"); if(detected_mode){ setCodeMirrorMode(myCodeMirror, detected_mode); - $($('#set_mode option[value="'+detected_mode.mime+'"]')[0]).attr("selected", "selected") + $($('#set_mode option[value="'+detected_mode.mime+'"]')[0]).attr("selected", "selected"); } $('#set_mode').on('change', function(e){ @@ -107,6 +107,6 @@ $(document).ready(function(){ var detected_mode = CodeMirror.findModeByMIME(node.value); setCodeMirrorMode(myCodeMirror, detected_mode); }); -}) +}); diff --git a/kallithea/templates/files/files_source.html b/kallithea/templates/files/files_source.html --- a/kallithea/templates/files/files_source.html +++ b/kallithea/templates/files/files_source.html @@ -90,5 +90,5 @@ } } callbacks(_State) // defined in files.html, main callbacks. Triggerd in pjax calls - }) + }); diff --git a/kallithea/templates/forks/fork.html b/kallithea/templates/forks/fork.html --- a/kallithea/templates/forks/fork.html +++ b/kallithea/templates/forks/fork.html @@ -108,6 +108,6 @@ ${self.repo_context_bar('createfork')} 'minimumResultsForSearch': -1 }); $('#repo_name').focus(); - }) + }); diff --git a/kallithea/templates/index_base.html b/kallithea/templates/index_base.html --- a/kallithea/templates/index_base.html +++ b/kallithea/templates/index_base.html @@ -112,7 +112,7 @@ if (req) { req = req.toLowerCase(); for (i = 0; i ${h.select('type',c.cur_type,[('content',_('File contents')), ('commit',_('Commit messages')), - ('path',_('File names')) - ##('repository',_('Repository names')) + ('path',_('File names')), + ##('repository',_('Repository names')), ])} diff --git a/kallithea/templates/summary/statistics.html b/kallithea/templates/summary/statistics.html --- a/kallithea/templates/summary/statistics.html +++ b/kallithea/templates/summary/statistics.html @@ -379,7 +379,7 @@ function SummaryPlot(from,to,dataset,ove item.series.label = 'commits'; } var d = new Date(x*1000); - var fd = d.toDateString() + var fd = d.toDateString(); var nr_commits = parseInt(y); var cur_data = dataset[item.series.label].data[item.dataIndex]; @@ -433,7 +433,7 @@ function SummaryPlot(from,to,dataset,ove overview.setSelection(initial_ranges); plot.subscribe("plotselected", plotselected); - plot.subscribe("plothover", plothover) + plot.subscribe("plothover", plothover); overview.subscribe("plotselected", function (ranges) { plot.setSelection(ranges); diff --git a/kallithea/templates/summary/summary.html b/kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html +++ b/kallithea/templates/summary/summary.html @@ -267,10 +267,10 @@ $(document).ready(function(){ var children = []; $.each(this.children, function(){ if(query.term.length == 0 || this.text.toUpperCase().indexOf(query.term.toUpperCase()) >= 0 ){ - children.push({'id': this.id, 'text': this.text}) + children.push({'id': this.id, 'text': this.text}); } - }) - data.results.push({'text': section, 'children': children}) + }); + data.results.push({'text': section, 'children': children}); }); query.callback(data); }else{ @@ -283,7 +283,7 @@ $(document).ready(function(){ cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); @@ -303,7 +303,7 @@ $(document).ready(function(){ url = url.replace('__SUB__',subrepos); url = url.replace('__NAME__',title_tmpl); - s.html(url) + s.html(url); } } }); @@ -312,7 +312,7 @@ $(document).ready(function(){ %for cnt,archive in enumerate(c.db_repo_scm_instance._get_archives()): tmpl_links["${archive['type']}"] = '${h.link_to('__NAME__', h.url('files_archive_home',repo_name=c.db_repo.repo_name, fname='__CS__'+archive['extension'],subrepos='__SUB__'),class_='btn btn-small')}'; %endfor -}) +}); %if c.show_stats: