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