# HG changeset patch # User Mads Kiilerich # Date 2022-06-27 18:50:23 # Node ID 5572eb8d4febd2dc60a98acefc3dd0aeb486ccaa # Parent cc70797e70e16163c6862a42f7f045fb6782f202 html: clarify type of button elements - make it clear if we really want "submit" This might fix some real problems. 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 @@ -677,6 +677,7 @@ function _comment_div_append_form($comme 'class': 'btn-group' }).append( $(' diff --git a/kallithea/templates/changeset/diff_block.html b/kallithea/templates/changeset/diff_block.html --- a/kallithea/templates/changeset/diff_block.html +++ b/kallithea/templates/changeset/diff_block.html @@ -4,7 +4,7 @@ cs_repo_name, cs_ref_name, cs_ref_type, cs_rev, file_diff_data)">
- +
%for id_fid, url_fid, op, a_filename, cs_filename, diff, stats in file_diff_data: ${diff_block_diffblock(id_fid, url_fid, op, diff, diff --git a/kallithea/templates/data_table/_dt_elements.html b/kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html +++ b/kallithea/templates/data_table/_dt_elements.html @@ -70,7 +70,7 @@ ${_('Edit')} ${webutils.form(webutils.url('delete_repo', repo_name=repo_name))} - @@ -92,7 +92,7 @@ ${_('Edit')} ${webutils.form(webutils.url('delete_user', id=user_id))} - @@ -104,7 +104,7 @@ ${_('Edit')} ${webutils.form(webutils.url('delete_users_group', id=user_group_id))} - @@ -123,7 +123,7 @@ ${_('Edit')} ${webutils.form(webutils.url('delete_repo_group', group_name=repo_group_name))} -