Show More
@@ -677,6 +677,7 b' function _comment_div_append_form($comme' | |||
|
677 | 677 | 'class': 'btn-group' |
|
678 | 678 | }).append( |
|
679 | 679 | $('<button>', { |
|
680 | 'type': 'button', | |
|
680 | 681 | 'class': 'btn btn-default btn-xs', |
|
681 | 682 | text: _TM['Retry'] |
|
682 | 683 | }).click(function() { |
@@ -685,6 +686,7 b' function _comment_div_append_form($comme' | |||
|
685 | 686 | ajaxPOST(AJAX_COMMENT_URL, postData, success, failure); |
|
686 | 687 | }), |
|
687 | 688 | $('<button>', { |
|
689 | 'type': 'button', | |
|
688 | 690 | 'class': 'btn btn-default btn-xs', |
|
689 | 691 | text: _TM['Cancel'] |
|
690 | 692 | }).click(function() { |
@@ -67,7 +67,7 b'' | |||
|
67 | 67 | %endif |
|
68 | 68 | </td> |
|
69 | 69 | <td> |
|
70 | <button class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.user_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.user_group.users_group_name)}', '${g2p.user_group.users_group_name}')"> | |
|
70 | <button type="button" class="btn btn-default btn-xs" onclick="ajaxActionRevoke(${g2p.user_group.users_group_id}, 'user_group', '${'id%s'%id(g2p.user_group.users_group_name)}', '${g2p.user_group.users_group_name}')"> | |
|
71 | 71 | <i class="icon-minus-circled"></i>${_('Revoke')} |
|
72 | 72 | </button> |
|
73 | 73 | </td> |
@@ -4,7 +4,7 b'' | |||
|
4 | 4 | cs_repo_name, cs_ref_name, cs_ref_type, cs_rev, |
|
5 | 5 | file_diff_data)"> |
|
6 | 6 | <div class="diff-collapse"> |
|
7 | <button data-target="${'diff-container-%s' % (id(file_diff_data))}" class="diff-collapse-button btn btn-link btn-sm">↑ ${_('Collapse Diff')} ↑</button> | |
|
7 | <button type='button', data-target="${'diff-container-%s' % (id(file_diff_data))}" class="diff-collapse-button btn btn-link btn-sm">↑ ${_('Collapse Diff')} ↑</button> | |
|
8 | 8 | </div> |
|
9 | 9 | %for id_fid, url_fid, op, a_filename, cs_filename, diff, stats in file_diff_data: |
|
10 | 10 | ${diff_block_diffblock(id_fid, url_fid, op, diff, |
@@ -70,7 +70,7 b'' | |||
|
70 | 70 | <i class="icon-pencil"></i>${_('Edit')} |
|
71 | 71 | </a> |
|
72 | 72 | ${webutils.form(webutils.url('delete_repo', repo_name=repo_name))} |
|
73 | <button name="${'remove_%s' % repo_name}" class="btn btn-default btn-xs" | |
|
73 | <button type="submit" name="${'remove_%s' % repo_name}" class="btn btn-default btn-xs" | |
|
74 | 74 | onclick="return confirm('${_('Confirm to delete this repository: %s') % repo_name}');"> |
|
75 | 75 | <i class="icon-trashcan"></i>${_('Delete')} |
|
76 | 76 | </button> |
@@ -92,7 +92,7 b'' | |||
|
92 | 92 | <i class="icon-pencil"></i>${_('Edit')} |
|
93 | 93 | </a> |
|
94 | 94 | ${webutils.form(webutils.url('delete_user', id=user_id))} |
|
95 | <button id="${'remove_user_%s' % user_id}" name="${'remove_user_%s' % repo_name}" class="btn btn-default btn-xs" title="${_('Delete')}" | |
|
95 | <button type="submit" id="${'remove_user_%s' % user_id}" name="${'remove_user_%s' % repo_name}" class="btn btn-default btn-xs" title="${_('Delete')}" | |
|
96 | 96 | onclick="return confirm('${_('Confirm to delete this user: %s') % username}');"> |
|
97 | 97 | <i class="icon-trashcan"></i>${_('Delete')} |
|
98 | 98 | </button> |
@@ -104,7 +104,7 b'' | |||
|
104 | 104 | <i class="icon-pencil"></i>${_('Edit')} |
|
105 | 105 | </a> |
|
106 | 106 | ${webutils.form(webutils.url('delete_users_group', id=user_group_id))} |
|
107 | <button id="${'remove_group_%s' % user_group_id}" name="${'remove_user_%s' % repo_name}" class="btn btn-default btn-xs" title="${_('Delete')}" | |
|
107 | <button type="submit" id="${'remove_group_%s' % user_group_id}" name="${'remove_user_%s' % repo_name}" class="btn btn-default btn-xs" title="${_('Delete')}" | |
|
108 | 108 | onclick="return confirm('${_('Confirm to delete this user group: %s') % user_group_name}');"> |
|
109 | 109 | <i class="icon-trashcan"></i>${_('Delete')} |
|
110 | 110 | </button> |
@@ -123,7 +123,7 b'' | |||
|
123 | 123 | <i class="icon-pencil"></i>${_('Edit')} |
|
124 | 124 | </a> |
|
125 | 125 | ${webutils.form(webutils.url('delete_repo_group', group_name=repo_group_name))} |
|
126 | <button id="${'remove_%s' % repo_group_name}" name="${'remove_%s' % repo_group_name}" class="btn btn-default btn-xs" title="${_('Delete')}" | |
|
126 | <button type="submit" id="${'remove_%s' % repo_group_name}" name="${'remove_%s' % repo_group_name}" class="btn btn-default btn-xs" title="${_('Delete')}" | |
|
127 | 127 | onclick="return confirm('${ungettext('Confirm to delete this group: %s with %s repository','Confirm to delete this group: %s with %s repositories',gr_count) % (repo_group_name, gr_count)}')"> |
|
128 | 128 | <i class="icon-trashcan"></i>${_('Delete')} |
|
129 | 129 | </button> |
General Comments 0
You need to be logged in to leave comments.
Login now