# HG changeset patch # User domruf # Date 1507839423 -7200 # Node ID 73406e83b0384215c41847a62548e23979252c78 # Parent aa25ef34ebab2f48c85420e6c0ef1fc0a7d4ef96 icons: replace icon-minus-circled with icon-trashcan if it means deleting A trashcan represents represents much better a delete action then a circled minus does. diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/my_account/my_account_api_keys.html --- a/kallithea/templates/admin/my_account/my_account_api_keys.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/my_account/my_account_api_keys.html Thu Oct 12 22:17:03 2017 +0200 @@ -37,7 +37,7 @@ ${h.hidden('del_api_key',api_key.api_key)} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/my_account/my_account_emails.html --- a/kallithea/templates/admin/my_account/my_account_emails.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/my_account/my_account_emails.html Thu Oct 12 22:17:03 2017 +0200 @@ -19,7 +19,7 @@ ${h.form(url('my_account_emails_delete'))} ${h.hidden('del_email_id',em.email_id)} - + ${h.submit('remove_',_('Delete'),id="remove_email_%s" % em.email_id, class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this email: %s') % em.email+"');")} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/notifications/notifications_data.html --- a/kallithea/templates/admin/notifications/notifications_data.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/notifications/notifications_data.html Thu Oct 12 22:17:03 2017 +0200 @@ -11,7 +11,7 @@ %if not notification.read: %endif - + %endfor diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/notifications/show_notification.html --- a/kallithea/templates/admin/notifications/show_notification.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/notifications/show_notification.html Thu Oct 12 22:17:03 2017 +0200 @@ -27,7 +27,7 @@ ${c.notification.description} - +
%if c.notification.subject: diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/permissions/permissions_ips.html --- a/kallithea/templates/admin/permissions/permissions_ips.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/permissions/permissions_ips.html Thu Oct 12 22:17:03 2017 +0200 @@ -8,7 +8,7 @@ ${h.form(url('edit_user_ips_delete', id=c.user.user_id))} ${h.hidden('del_ip_id',ip.ip_id)} ${h.hidden('default_user', 'True')} - ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id, + ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id, class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this IP address: %s') % ip.ip_addr+"');")} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html --- a/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/repo_groups/repo_group_edit_advanced.html Thu Oct 12 22:17:03 2017 +0200 @@ -21,7 +21,7 @@ onclick="return confirm('${ungettext('Confirm to delete this group: %s with %s repository', 'Confirm to delete this group: %s with %s repositories', c.repo_group.repositories_recursive_count) % (c.repo_group.group_name, c.repo_group.repositories_recursive_count)}');"> - + ${_('Delete this repository group')} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/repos/repo_edit_advanced.html --- a/kallithea/templates/admin/repos/repo_edit_advanced.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/repos/repo_edit_advanced.html Thu Oct 12 22:17:03 2017 +0200 @@ -70,7 +70,7 @@
%if c.repo_info.forks.count(): diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/repos/repo_edit_fields.html --- a/kallithea/templates/admin/repos/repo_edit_fields.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/repos/repo_edit_fields.html Thu Oct 12 22:17:03 2017 +0200 @@ -15,7 +15,7 @@ ${field.field_type} ${h.form(url('delete_repo_fields', repo_name=c.repo_info.repo_name, field_id=field.repo_field_id))} - + ${h.submit('remove_%s' % field.repo_field_id, _('Delete'), id="remove_field_%s" % field.repo_field_id, class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this field: %s') % field.field_key+"');")} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/settings/settings_hooks.html --- a/kallithea/templates/admin/settings/settings_hooks.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/settings/settings_hooks.html Thu Oct 12 22:17:03 2017 +0200 @@ -26,7 +26,7 @@ ${h.text('hook_ui_value_new',hook.ui_value,id=input_id,size=60,class_='form-control')}
diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/user_groups/user_group_edit_advanced.html --- a/kallithea/templates/admin/user_groups/user_group_edit_advanced.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/user_groups/user_group_edit_advanced.html Thu Oct 12 22:17:03 2017 +0200 @@ -17,7 +17,7 @@ ${h.form(h.url('delete_users_group', id=c.user_group.users_group_id))} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/users/user_edit_advanced.html --- a/kallithea/templates/admin/users/user_edit_advanced.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/users/user_edit_advanced.html Thu Oct 12 22:17:03 2017 +0200 @@ -19,7 +19,7 @@ ${h.form(h.url('delete_user', id=c.user.user_id))} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/users/user_edit_api_keys.html --- a/kallithea/templates/admin/users/user_edit_api_keys.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/users/user_edit_api_keys.html Thu Oct 12 22:17:03 2017 +0200 @@ -37,7 +37,7 @@ ${h.hidden('del_api_key',api_key.api_key)} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/users/user_edit_emails.html --- a/kallithea/templates/admin/users/user_edit_emails.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/users/user_edit_emails.html Thu Oct 12 22:17:03 2017 +0200 @@ -19,7 +19,7 @@ ${h.form(url('edit_user_emails_delete', id=c.user.user_id))} ${h.hidden('del_email_id',em.email_id)} - + ${h.submit('remove_',_('Delete'),id="remove_email_%s" % em.email_id, class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this email: %s') % em.email+"');")} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/admin/users/user_edit_ips.html --- a/kallithea/templates/admin/users/user_edit_ips.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/admin/users/user_edit_ips.html Thu Oct 12 22:17:03 2017 +0200 @@ -17,7 +17,7 @@ ${h.form(url('edit_user_ips_delete', id=c.user.user_id))} ${h.hidden('del_ip_id',ip.ip_id)} - + ${h.submit('remove_',_('Delete'),id="remove_ip_%s" % ip.ip_id, class_="btn btn-default btn-xs", onclick="return confirm('"+_('Confirm to delete this IP address: %s') % ip.ip_addr+"');")} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/data_table/_dt_elements.html --- a/kallithea/templates/data_table/_dt_elements.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/data_table/_dt_elements.html Thu Oct 12 22:17:03 2017 +0200 @@ -72,7 +72,7 @@ ${h.form(h.url('delete_repo', repo_name=repo_name))} ${h.end_form()}
@@ -101,7 +101,7 @@ ${h.form(h.url('delete_user', id=user_id))} ${h.end_form()} @@ -117,7 +117,7 @@ ${h.form(h.url('delete_users_group', id=user_group_id))} ${h.end_form()} @@ -140,7 +140,7 @@ ${h.form(h.url('delete_repo_group', group_name=repo_group_name))} ${h.end_form()} diff -r aa25ef34ebab -r 73406e83b038 kallithea/templates/pullrequests/pullrequest_data.html --- a/kallithea/templates/pullrequests/pullrequest_data.html Sun Jan 21 02:49:15 2018 +0100 +++ b/kallithea/templates/pullrequests/pullrequest_data.html Thu Oct 12 22:17:03 2017 +0200 @@ -69,7 +69,7 @@ && ((${len(pr.comments)} == 0) || confirm('${_('Confirm again to delete this pull request with %s comments') % len(pr.comments)}')) "> - + ${h.end_form()} %endif