${h.select('id_fork_of','',c.repos_list,class_="medium")}
- ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small",)}
+ ${h.submit('set_as_fork_%s' % c.repo_info.repo_name,_('Set'),class_="btn btn-small")}
@@ -15,7 +15,7 @@
diff --git a/kallithea/templates/admin/repos/repos.html b/kallithea/templates/admin/repos/repos.html
--- a/kallithea/templates/admin/repos/repos.html
+++ b/kallithea/templates/admin/repos/repos.html
@@ -43,7 +43,7 @@
{key:"last_rev_raw"},
{key:"owner"},
{key:"state"},
- {key:"action"},
+ {key:"action"}
];
var column_defs = [
{key:"menu",label:"",sortable:false,className:"quick_repo_menu hidden"},
@@ -52,7 +52,7 @@
{key:"last_changeset",label:"${_('Tip')}",sortable:true, sortOptions: { sortFunction: revisionSort }},
{key:"owner",label:"${_('Owner')}",sortable:true},
{key:"state",label:"${_('State')}",sortable:true},
- {key:"action",label:"${_('Action')}",sortable:false},
+ {key:"action",label:"${_('Action')}",sortable:false}
];
var counter = YUD.get('repo_count');
var sort_key = "name";
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_hooks.html b/kallithea/templates/admin/settings/settings_hooks.html
--- a/kallithea/templates/admin/settings/settings_hooks.html
+++ b/kallithea/templates/admin/settings/settings_hooks.html
@@ -67,7 +67,7 @@ function ajaxActionHook(hook_id,field_id
},
failure: function (o) {
alert("${_('Failed to remove hook')}");
- },
+ }
};
var postData = '_method=delete&hook_id=' + hook_id;
var request = YAHOO.util.Connect.asyncRequest('POST', sUrl, callback, postData);
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/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,8 +5,8 @@
elems = [
(_('Members'), len(c.group_members_obj), ''),
(_('Created on'), h.fmt_date(c.user_group.created_on), ''),
- (_('Owner'), h.person(c.user_group.user.username), ''),
- ]
+ (_('Owner'), h.person(c.user_group.user.username), '')
+ ]
%>
%for dt, dd, tt in elems:
- ${dt}:
diff --git a/kallithea/templates/admin/user_groups/user_groups.html b/kallithea/templates/admin/user_groups/user_groups.html
--- a/kallithea/templates/admin/user_groups/user_groups.html
+++ b/kallithea/templates/admin/user_groups/user_groups.html
@@ -43,16 +43,15 @@
{key: "members"},
{key: "active"},
{key: "owner"},
- {key: "action"},
-
+ {key: "action"}
];
var column_defs = [
{key:"group_name",label:"${_('Name')}",sortable:true, sortOptions: { sortFunction: nameSort }},
{key:"desc",label:"${_('Description')}",sortable:true},
{key:"members",label:"${_('Members')}",sortable:false},
- {key:"active",label:"${_('Active')}",sortable:true,},
+ {key:"active",label:"${_('Active')}",sortable:true},
{key:"owner",label:"${_('Owner')}",sortable:true},
- {key:"action",label:"${_('Action')}",sortable:false},
+ {key:"action",label:"${_('Action')}",sortable:false}
];
var counter = YUD.get('user_group_count');
var sort_key = "group_name";
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
@@ -77,7 +77,7 @@
diff --git a/kallithea/templates/admin/users/users.html b/kallithea/templates/admin/users/users.html
--- a/kallithea/templates/admin/users/users.html
+++ b/kallithea/templates/admin/users/users.html
@@ -46,18 +46,18 @@
{key: "active"},
{key: "admin"},
{key: "extern_type"},
- {key: "action"},
+ {key: "action"}
];
var column_defs = [
- {key:"gravatar",label:"",sortable:false,},
+ {key:"gravatar",label:"",sortable:false},
{key:"username",label:"${_('Username')}",sortable:true},
- {key:"firstname",label:"${_('Firstname')}",sortable:true,},
- {key:"lastname",label:"${_('Lastname')}",sortable:true,},
+ {key:"firstname",label:"${_('Firstname')}",sortable:true},
+ {key:"lastname",label:"${_('Lastname')}",sortable:true},
{key:"last_login",label:"${_('Last login')}",sortable:true, sortOptions: { sortFunction: lastLoginSort }},
- {key:"active",label:"${_('Active')}",sortable:true,},
- {key:"admin",label:"${_('Admin')}",sortable:true,},
- {key:"extern_type",label:"${_('Auth type')}",sortable:true,},
- {key:"action",label:"${_('Action')}",sortable:false},
+ {key:"active",label:"${_('Active')}",sortable:true},
+ {key:"admin",label:"${_('Admin')}",sortable:true},
+ {key:"extern_type",label:"${_('Auth type')}",sortable:true},
+ {key:"action",label:"${_('Action')}",sortable:false}
];
var counter = YUD.get('user_count');
var sort_key = "username";
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
@@ -449,7 +449,7 @@
}
})
}
- },
+ }
});
$("#repo_switcher").on('select2-selecting', function(e){
@@ -553,7 +553,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:
@@ -581,7 +581,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/root.html b/kallithea/templates/base/root.html
--- a/kallithea/templates/base/root.html
+++ b/kallithea/templates/base/root.html
@@ -53,9 +53,7 @@
'MSG_SORTDESC': "${_('Click to sort descending')}",
'MSG_EMPTY': "${_('No records found.')}",
'MSG_ERROR': "${_('Data error.')}",
- 'MSG_LOADING': "${_('Loading...')}",
-
-
+ 'MSG_LOADING': "${_('Loading...')}"
};
var _TM = TRANSLATION_MAP;
diff --git a/kallithea/templates/bookmarks/bookmarks.html b/kallithea/templates/bookmarks/bookmarks.html
--- a/kallithea/templates/bookmarks/bookmarks.html
+++ b/kallithea/templates/bookmarks/bookmarks.html
@@ -55,7 +55,7 @@ var myColumnDefs = [
{key:"author",label:"${_('Author')}",sortable:true},
{key:"revision",label:"${_('Revision')}",sortable:true,
sortOptions: { sortFunction: revisionSort }},
- {key:"compare",label:"${_('Compare')}",sortable:false,},
+ {key:"compare",label:"${_('Compare')}",sortable:false}
];
var myDataSource = new YAHOO.util.DataSource(YUD.get("bookmarks_data"));
@@ -71,19 +71,19 @@ myDataSource.responseSchema = {
{key:"author"},
{key:"last_rev_raw"},
{key:"revision"},
- {key:"compare"},
+ {key:"compare"}
]
};
var myDataTable = new YAHOO.widget.DataTable("table_wrap", myColumnDefs, myDataSource,
- {
+ {
sortedBy:{key:"name",dir:"asc"},
MSG_SORTASC:"${_('Click to sort ascending')}",
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No records found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
- }
+ MSG_LOADING:"${_('Loading...')}"
+ }
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {
tooltip_activate();
diff --git a/kallithea/templates/branches/branches.html b/kallithea/templates/branches/branches.html
--- a/kallithea/templates/branches/branches.html
+++ b/kallithea/templates/branches/branches.html
@@ -54,7 +54,7 @@ var myColumnDefs = [
{key:"author",label:"${_('Author')}",sortable:true},
{key:"revision",label:"${_('Revision')}",sortable:true,
sortOptions: { sortFunction: revisionSort }},
- {key:"compare",label:"${_('Compare')}",sortable:false,},
+ {key:"compare",label:"${_('Compare')}",sortable:false}
];
var myDataSource = new YAHOO.util.DataSource(YUD.get("branches_data"));
@@ -70,19 +70,19 @@ myDataSource.responseSchema = {
{key:"author"},
{key:"last_rev_raw"},
{key:"revision"},
- {key:"compare"},
+ {key:"compare"}
]
};
var myDataTable = new YAHOO.widget.DataTable("table_wrap", myColumnDefs, myDataSource,
- {
+ {
sortedBy:{key:"name",dir:"asc"},
MSG_SORTASC:"${_('Click to sort ascending')}",
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No records found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
- }
+ MSG_LOADING:"${_('Loading...')}"
+ }
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {
tooltip_activate();
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
@@ -270,7 +270,7 @@
// change branch filter
$("#branch_filter").select2({
dropdownAutoWidth: true,
- minimumInputLength: 1,
+ minimumInputLength: 1
});
$("#branch_filter").change(function(e){
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
@@ -241,7 +241,7 @@
.replace('__url__', pyroutes.url('changeset_home', {'repo_name': '${c.repo_name}','revision': data.results[1].raw_id}));
$('#child_link').html(_html);
}
- },
+ }
});
e.preventDefault();
}
@@ -278,12 +278,11 @@
.replace('__url__', pyroutes.url('changeset_home', {'repo_name': '${c.repo_name}','revision': data.results[1].raw_id}));
$('#parent_link').html(_html);
}
- },
+ }
});
e.preventDefault();
}
})
-
})
diff --git a/kallithea/templates/compare/compare_cs.html b/kallithea/templates/compare/compare_cs.html
--- a/kallithea/templates/compare/compare_cs.html
+++ b/kallithea/templates/compare/compare_cs.html
@@ -64,7 +64,7 @@
org_ref_type=c.a_ref_type, org_ref_name=c.a_ref_name,
other_repo=c.cs_repo.repo_name,
other_ref_type=c.cs_ref_type, other_ref_name=c.cs_ref_name,
- merge='1'),
+ merge='1')
)}
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
@@ -134,7 +134,7 @@
}
})
}
- },
+ }
});
$("#compare_other").select2({
placeholder: "${'%s@%s' % (c.cs_repo.repo_name, c.cs_ref_name)}",
@@ -174,7 +174,7 @@
}
})
}
- },
+ }
});
var values_changed = function() {
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
@@ -92,7 +92,7 @@ var orig2_url = '${h.url('files_raw_home
else{
$.ajax(orig2_url, {dataType: 'text', success: setValue});
}
- },
+ }
});
$('#ignorews').change(function(e){
var val = e.currentTarget.checked;
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
@@ -182,7 +182,7 @@ var callbacks = function(State){
}
})
}
- },
+ }
});
$('#show_authors').on('click', function(){
$.ajax({
@@ -237,7 +237,7 @@ var callbacks = function(State){
// change branch filter
$("#branch_selector").select2({
dropdownAutoWidth: true,
- minimumInputLength: 1,
+ minimumInputLength: 1
});
$("#branch_selector").change(function(e){
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,7 +108,7 @@
'dropdownAutoWidth': true
});
$("#landing_rev").select2({
- 'minimumResultsForSearch': -1,
+ '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
@@ -97,7 +97,7 @@
{key:"last_changeset"},
{key:"last_rev_raw"},
{key:"owner"},
- {key:"atom"},
+ {key:"atom"}
]
};
myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -131,7 +131,7 @@
{key:"last_changeset",label:"${_('Tip')}",sortable:true,
sortOptions: { sortFunction: revisionSort }},
{key:"owner",label:"${_('Owner')}",sortable:true},
- {key:"atom",label:"",sortable:false},
+ {key:"atom",label:"",sortable:false}
];
var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{
@@ -142,7 +142,7 @@
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No repositories found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
+ MSG_LOADING:"${_('Loading...')}"
}
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {
diff --git a/kallithea/templates/journal/journal.html b/kallithea/templates/journal/journal.html
--- a/kallithea/templates/journal/journal.html
+++ b/kallithea/templates/journal/journal.html
@@ -138,7 +138,7 @@
var tabs = {
'watched': show_watched,
- 'my': show_my,
+ 'my': show_my
}
var url = location.href.split('#');
if (url[1]) {
@@ -161,7 +161,7 @@
{key:"name"},
{key:"last_changeset"},
{key:"last_rev_raw"},
- {key:"action"},
+ {key:"action"}
]
};
myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -189,7 +189,7 @@
sortOptions: { sortFunction: nameSort }},
{key:"last_changeset",label:"${_('Tip')}",sortable:true,
sortOptions: { sortFunction: revisionSort }},
- {key:"action",label:"${_('Action')}",sortable:false},
+ {key:"action",label:"${_('Action')}",sortable:false}
];
var myDataTable = new YAHOO.widget.DataTable("watched_repos_list_wrap", myColumnDefs, myDataSource,{
@@ -200,7 +200,7 @@
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No records found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
+ MSG_LOADING:"${_('Loading...')}"
}
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {
@@ -252,7 +252,7 @@
{key:"name"},
{key:"last_changeset"},
{key:"last_rev_raw"},
- {key:"action"},
+ {key:"action"}
]
};
myDataSource.doBeforeCallback = function(req,raw,res,cb) {
@@ -280,7 +280,7 @@
sortOptions: { sortFunction: nameSort }},
{key:"last_changeset",label:"${_('Tip')}",sortable:true,
sortOptions: { sortFunction: revisionSort }},
- {key:"action",label:"${_('Action')}",sortable:false},
+ {key:"action",label:"${_('Action')}",sortable:false}
];
var myDataTable = new YAHOO.widget.DataTable("repos_list_wrap", myColumnDefs, myDataSource,{
@@ -291,7 +291,7 @@
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No records found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
+ MSG_LOADING:"${_('Loading...')}"
}
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {
diff --git a/kallithea/templates/password_reset.html b/kallithea/templates/password_reset.html
--- a/kallithea/templates/password_reset.html
+++ b/kallithea/templates/password_reset.html
@@ -78,7 +78,7 @@
%if c.captcha_active:
Recaptcha.create("${c.captcha_public_key}", "recaptcha",
{
- theme: "white",
+ theme: "white"
}
);
%endif
diff --git a/kallithea/templates/pullrequests/pullrequest.html b/kallithea/templates/pullrequests/pullrequest.html
--- a/kallithea/templates/pullrequests/pullrequest.html
+++ b/kallithea/templates/pullrequests/pullrequest.html
@@ -177,7 +177,7 @@
// re-populate the select2 thingie
$("#other_ref").select2({
- dropdownAutoWidth: true,
+ dropdownAutoWidth: true
});
loadPreview();
@@ -210,7 +210,7 @@
'__org_repo__': org_repo,
'__org_ref_name__': org_ref[2],
'__other_repo__': other_repo,
- '__other_ref_name__': other_ref[2],
+ '__other_ref_name__': other_ref[2]
}; // gather the org/other ref and repo here
for (k in rev_data){
@@ -226,26 +226,26 @@
$(document).ready(function(){
$("#org_repo").select2({
- dropdownAutoWidth: true,
+ dropdownAutoWidth: true
});
## (org_repo can't change)
$("#org_ref").select2({
- dropdownAutoWidth: true,
+ dropdownAutoWidth: true
});
$("#org_ref").on("change", function(e){
loadPreview();
});
$("#other_repo").select2({
- dropdownAutoWidth: true,
+ dropdownAutoWidth: true
});
$("#other_repo").on("change", function(e){
otherrepoChanged();
});
$("#other_ref").select2({
- dropdownAutoWidth: true,
+ dropdownAutoWidth: true
});
$("#other_ref").on("change", function(e){
loadPreview();
diff --git a/kallithea/templates/register.html b/kallithea/templates/register.html
--- a/kallithea/templates/register.html
+++ b/kallithea/templates/register.html
@@ -126,7 +126,7 @@
%if c.captcha_active:
Recaptcha.create("${c.captcha_public_key}", "recaptcha",
{
- theme: "white",
+ theme: "white"
}
);
%endif
diff --git a/kallithea/templates/search/search.html b/kallithea/templates/search/search.html
--- a/kallithea/templates/search/search.html
+++ b/kallithea/templates/search/search.html
@@ -67,8 +67,8 @@
${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
@@ -138,8 +138,8 @@ function SummaryPlot(from,to,dataset,ove
var initial_ranges = {
"xaxis":{
"from":from,
- "to":to,
- },
+ "to":to
+ }
};
var dataset = dataset;
var overview_dataset = [overview_dataset];
@@ -149,31 +149,31 @@ function SummaryPlot(from,to,dataset,ove
var overviewContainer = YUD.get('overview');
var plot_options = {
- bars: {show:true,align:'center',lineWidth:4},
- legend: {show:true, container:"legend_container"},
- points: {show:true,radius:0,fill:false},
- yaxis: {tickDecimals:0,},
+ bars: {show:true, align: 'center', lineWidth: 4},
+ legend: {show:true, container: "legend_container"},
+ points: {show:true, radius: 0, fill: false},
+ yaxis: {tickDecimals: 0},
xaxis: {
mode: "time",
timeformat: "%d/%m",
- min:from,
- max:to,
+ min: from,
+ max: to
},
grid: {
hoverable: true,
clickable: true,
- autoHighlight:true,
+ autoHighlight: true,
color: "#999"
},
//selection: {mode: "x"}
};
var overview_options = {
legend:{show:false},
- bars: {show:true,barWidth: 2,},
+ bars: {show:true, barWidth: 2},
shadowSize: 0,
- xaxis: {mode: "time", timeformat: "%d/%m/%y",},
- yaxis: {ticks: 3, min: 0,tickDecimals:0,},
- grid: {color: "#999",},
+ xaxis: {mode: "time", timeformat: "%d/%m/%y"},
+ yaxis: {ticks: 3, min: 0, tickDecimals:0},
+ grid: {color: "#999"},
selection: {mode: "x"}
};
@@ -186,10 +186,10 @@ function SummaryPlot(from,to,dataset,ove
"commits":0,
"added":0,
"changed":0,
- "removed":0,
+ "removed":0
}],
"schema":["commits"],
- "color":'#ffffff',
+ "color":'#ffffff'
}
}
@@ -305,9 +305,9 @@ function SummaryPlot(from,to,dataset,ove
xaxis: {
min: cur_ranges.xaxis.from,
max: cur_ranges.xaxis.to,
- mode:"time",
- timeformat: "%d/%m",
- },
+ mode: "time",
+ timeformat: "%d/%m"
+ }
});
if (!new_data){
new_data = [[0,1]];
@@ -340,8 +340,8 @@ function SummaryPlot(from,to,dataset,ove
min: ranges.xaxis.from,
max: ranges.xaxis.to,
mode:"time",
- timeformat: "%d/%m",
- },
+ timeformat: "%d/%m"
+ }
});
// do the zooming
plot = YAHOO.widget.Flot(plotContainer, data, new_options);
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
@@ -288,7 +288,7 @@ summary = lambda n:{False:'summary-short
}
})
}
- },
+ }
});
// on change of download options
$('#download_options').change(function(e){
diff --git a/kallithea/templates/switch_to_list.html b/kallithea/templates/switch_to_list.html
--- a/kallithea/templates/switch_to_list.html
+++ b/kallithea/templates/switch_to_list.html
@@ -1,6 +1,6 @@
## -*- coding: utf-8 -*-
- ${'%s (%s)' % (_('Branches'),len(c.db_repo_scm_instance.branches.values()),)}
+ ${'%s (%s)' % (_('Branches'),len(c.db_repo_scm_instance.branches.values()))}
%if c.db_repo_scm_instance.branches.values():
%for cnt,branch in enumerate(c.db_repo_scm_instance.branches.items()):
@@ -22,7 +22,7 @@
%endif
- ${'%s (%s)' % (_('Tags'),len(c.db_repo_scm_instance.tags.values()),)}
+ ${'%s (%s)' % (_('Tags'),len(c.db_repo_scm_instance.tags.values()))}
%if c.db_repo_scm_instance.tags.values():
%for cnt,tag in enumerate(c.db_repo_scm_instance.tags.items()):
@@ -35,7 +35,7 @@
%if c.db_repo_scm_instance.alias == 'hg':
- ${'%s (%s)' % (_('Bookmarks'),len(c.db_repo_scm_instance.bookmarks.values()),)}
+ ${'%s (%s)' % (_('Bookmarks'),len(c.db_repo_scm_instance.bookmarks.values()))}
%if c.db_repo_scm_instance.bookmarks.values():
%for cnt,book in enumerate(c.db_repo_scm_instance.bookmarks.items()):
diff --git a/kallithea/templates/tags/tags.html b/kallithea/templates/tags/tags.html
--- a/kallithea/templates/tags/tags.html
+++ b/kallithea/templates/tags/tags.html
@@ -55,7 +55,7 @@ var myColumnDefs = [
{key:"author",label:"${_('Author')}",sortable:true},
{key:"revision",label:"${_('Revision')}",sortable:true,
sortOptions: { sortFunction: revisionSort }},
- {key:"compare",label:"${_('Compare')}",sortable:false,},
+ {key:"compare",label:"${_('Compare')}",sortable:false}
];
var myDataSource = new YAHOO.util.DataSource(YUD.get("tags_data"));
@@ -71,7 +71,7 @@ myDataSource.responseSchema = {
{key:"author"},
{key:"last_rev_raw"},
{key:"revision"},
- {key:"compare"},
+ {key:"compare"}
]
};
@@ -82,7 +82,7 @@ var myDataTable = new YAHOO.widget.DataT
MSG_SORTDESC:"${_('Click to sort descending')}",
MSG_EMPTY:"${_('No records found.')}",
MSG_ERROR:"${_('Data error.')}",
- MSG_LOADING:"${_('Loading...')}",
+ MSG_LOADING:"${_('Loading...')}"
}
);
myDataTable.subscribe('postRenderEvent',function(oArgs) {