# HG changeset patch # User Mads Kiilerich # Date 1432761336 -7200 # Node ID df5b6fc6c518c26a95165ecfe0739a09f578ee3e # Parent 7409cfc1e9617a24a65367f948a0e7ed48a881a0 javascript: add missing semicolons diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/public/js/base.js --- a/kallithea/public/js/base.js Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/public/js/base.js Wed May 27 23:15:36 2015 +0200 @@ -2059,7 +2059,7 @@ nextPageLinkLabel: '>', previousPageLinkLabel: '<', containers:containers - }) + }); return pagi } diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/gists/edit.html --- a/kallithea/templates/admin/gists/edit.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/gists/edit.html Wed May 27 23:15:36 2015 +0200 @@ -164,7 +164,7 @@ $('#eform').submit(); } } - }) + }); }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html Wed May 27 23:15:36 2015 +0200 @@ -79,5 +79,5 @@ $("#lifetime").select2({ 'dropdownAutoWidth': true }); - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/my_account/my_account_repos.html --- a/kallithea/templates/admin/my_account/my_account_repos.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/my_account/my_account_repos.html Wed May 27 23:15:36 2015 +0200 @@ -30,7 +30,7 @@ if (req) { req = req.toLowerCase(); for (i = 0; i diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repo_groups/repo_group_add.html --- a/kallithea/templates/admin/repo_groups/repo_group_add.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repo_groups/repo_group_add.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repo_groups/repo_group_edit_settings.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_settings.html Wed May 27 23:15:36 2015 +0200 @@ -61,5 +61,5 @@ $("#group_parent_id").select2({ 'dropdownAutoWidth': true }); - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repos/repo_add_base.html --- a/kallithea/templates/admin/repos/repo_add_base.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_add_base.html Wed May 27 23:15:36 2015 +0200 @@ -90,7 +90,7 @@ $(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 @@ $('#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 @@ '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 @@ 'minimumResultsForSearch': -1 }); $('#repo_name').focus(); - }) + }); ${h.end_form()} diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repos/repo_creating.html --- a/kallithea/templates/admin/repos/repo_creating.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_creating.html Wed May 27 23:15:36 2015 +0200 @@ -57,7 +57,7 @@ setTimeout(worker, 1000); } else{ - $("#progress").html($('#progress_error').html()) + $("#progress").html($('#progress_error').html()); } } }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repos/repo_edit_advanced.html --- a/kallithea/templates/admin/repos/repo_edit_advanced.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_edit_advanced.html Wed May 27 23:15:36 2015 +0200 @@ -16,7 +16,7 @@ $("#id_fork_of").select2({ 'dropdownAutoWidth': true }); - }) + });

${_('Public Journal Visibility')}

diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repos/repo_edit_fork.html --- a/kallithea/templates/admin/repos/repo_edit_fork.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_edit_fork.html Wed May 27 23:15:36 2015 +0200 @@ -17,5 +17,5 @@ $("#id_fork_of").select2({ 'dropdownAutoWidth': true }); - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/repos/repo_edit_settings.html --- a/kallithea/templates/admin/repos/repo_edit_settings.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/repos/repo_edit_settings.html Wed May 27 23:15:36 2015 +0200 @@ -143,15 +143,15 @@ $('#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 @@ 'dropdownAutoWidth': true }); - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/settings/settings_email.html --- a/kallithea/templates/admin/settings/settings_email.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/settings/settings_email.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/settings/settings_system.html --- a/kallithea/templates/admin/settings/settings_system.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/settings/settings_system.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/settings/settings_vcs.html --- a/kallithea/templates/admin/settings/settings_vcs.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/settings/settings_vcs.html Wed May 27 23:15:36 2015 +0200 @@ -91,6 +91,6 @@ $('#path_unlock_icon').addClass('icon-lock-open-alt'); $('#paths_root_path').removeAttr('readonly'); $('#paths_root_path').removeClass('disabled'); - }) - }) + }); + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/user_groups/user_group_add.html --- a/kallithea/templates/admin/user_groups/user_group_add.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/user_groups/user_group_add.html Wed May 27 23:15:36 2015 +0200 @@ -64,6 +64,6 @@ diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/user_groups/user_group_edit_advanced.html --- a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/users/user_add.html --- a/kallithea/templates/admin/users/user_add.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/users/user_add.html Wed May 27 23:15:36 2015 +0200 @@ -103,6 +103,6 @@ diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/users/user_edit_advanced.html --- a/kallithea/templates/admin/users/user_edit_advanced.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/users/user_edit_advanced.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/admin/users/user_edit_api_keys.html --- a/kallithea/templates/admin/users/user_edit_api_keys.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/admin/users/user_edit_api_keys.html Wed May 27 23:15:36 2015 +0200 @@ -79,5 +79,5 @@ $("#lifetime").select2({ 'dropdownAutoWidth': true }); - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/base/base.html --- a/kallithea/templates/base/base.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/base/base.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/base/default_perms_box.html --- a/kallithea/templates/base/default_perms_box.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/base/default_perms_box.html Wed May 27 23:15:36 2015 +0200 @@ -83,7 +83,7 @@ $('#inherit_default_permissions').change(function(){ show_custom_perms($('#inherit_default_permissions').prop('checked')); }); -}) +}); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/base/perms_summary.html --- a/kallithea/templates/base/perms_summary.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/base/perms_summary.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/changelog/changelog.html --- a/kallithea/templates/changelog/changelog.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/changelog/changelog.html Wed May 27 23:15:36 2015 +0200 @@ -210,7 +210,7 @@ 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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/changeset/changeset.html --- a/kallithea/templates/changeset/changeset.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/changeset/changeset.html Wed May 27 23:15:36 2015 +0200 @@ -246,7 +246,7 @@ }); e.preventDefault(); } - }) + }); //prev links $('#parent_link').on('click', function(e){ @@ -289,7 +289,7 @@ if (window.location.hash != "") { window.location.href = window.location.href; } - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/compare/compare_diff.html --- a/kallithea/templates/compare/compare_diff.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/compare/compare_diff.html Wed May 27 23:15:36 2015 +0200 @@ -113,14 +113,14 @@ 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 @@ cache[key] = data; query.callback(data); } - }) + }); } } }); @@ -140,7 +140,7 @@ 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 @@ 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 @@ cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/files/diff_2way.html --- a/kallithea/templates/files/diff_2way.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/files/diff_2way.html Wed May 27 23:15:36 2015 +0200 @@ -75,7 +75,7 @@ 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 @@ }, 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 @@ 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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/files/files.html --- a/kallithea/templates/files/files.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/files/files.html Wed May 27 23:15:36 2015 +0200 @@ -64,10 +64,10 @@ 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 @@ $('#hlcode').mouseup(getSelectionLink); // history select field - var cache = {} + var cache = {}; $("#diff1").select2({ placeholder: _TM['Select changeset'], dropdownAutoWidth: true, @@ -160,10 +160,10 @@ 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 @@ cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); @@ -186,10 +186,10 @@ success: function(data) { $('#file_authors').html(data); $('#file_authors').show(); - tooltip_activate() + tooltip_activate(); } - }) - }) + }); + }); } $(document).ready(function(){ diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/files/files_browser.html --- a/kallithea/templates/files/files_browser.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/files/files_browser.html Wed May 27 23:15:36 2015 +0200 @@ -122,5 +122,5 @@ if(search_GET == "1"){ $("#filter_activate").click(); } - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/files/files_edit.html --- a/kallithea/templates/files/files_edit.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/files/files_edit.html Wed May 27 23:15:36 2015 +0200 @@ -98,7 +98,7 @@ 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 @@ var detected_mode = CodeMirror.findModeByMIME(node.value); setCodeMirrorMode(myCodeMirror, detected_mode); }); -}) +}); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/files/files_source.html --- a/kallithea/templates/files/files_source.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/files/files_source.html Wed May 27 23:15:36 2015 +0200 @@ -90,5 +90,5 @@ } } callbacks(_State) // defined in files.html, main callbacks. Triggerd in pjax calls - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/forks/fork.html --- a/kallithea/templates/forks/fork.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/forks/fork.html Wed May 27 23:15:36 2015 +0200 @@ -108,6 +108,6 @@ 'minimumResultsForSearch': -1 }); $('#repo_name').focus(); - }) + }); diff -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/index_base.html --- a/kallithea/templates/index_base.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/index_base.html Wed May 27 23:15:36 2015 +0200 @@ -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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/summary/statistics.html --- a/kallithea/templates/summary/statistics.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/summary/statistics.html Wed May 27 23:15:36 2015 +0200 @@ -379,7 +379,7 @@ 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 @@ 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 -r 7409cfc1e961 -r df5b6fc6c518 kallithea/templates/summary/summary.html --- a/kallithea/templates/summary/summary.html Tue May 26 13:55:06 2015 +0200 +++ b/kallithea/templates/summary/summary.html Wed May 27 23:15:36 2015 +0200 @@ -267,10 +267,10 @@ 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 @@ cache[key] = data; query.callback({results: data.results}); } - }) + }); } } }); @@ -303,7 +303,7 @@ url = url.replace('__SUB__',subrepos); url = url.replace('__NAME__',title_tmpl); - s.html(url) + s.html(url); } } }); @@ -312,7 +312,7 @@ %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: