# HG changeset patch # User Marcin Kuzminski # Date 2018-01-16 23:00:12 # Node ID dacca1fe5d2913be6276ca808530f5269bf12f92 # Parent cfcc143752aaaf73cedac2473cec3bc957a87e3a ssh: add few explanation text about two step addition of generated keys. Based on feedback from customers. diff --git a/rhodecode/templates/admin/my_account/my_account_ssh_keys.mako b/rhodecode/templates/admin/my_account/my_account_ssh_keys.mako --- a/rhodecode/templates/admin/my_account/my_account_ssh_keys.mako +++ b/rhodecode/templates/admin/my_account/my_account_ssh_keys.mako @@ -67,6 +67,9 @@ ${h.submit('save',_('Add'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")} + % if c.default_key: + ${_('Click add to use this generate SSH key')} + % endif ${h.end_form()} diff --git a/rhodecode/templates/admin/users/user_edit_ssh_keys.mako b/rhodecode/templates/admin/users/user_edit_ssh_keys.mako --- a/rhodecode/templates/admin/users/user_edit_ssh_keys.mako +++ b/rhodecode/templates/admin/users/user_edit_ssh_keys.mako @@ -62,6 +62,9 @@ ${h.submit('save',_('Add'),class_="btn")} ${h.reset('reset',_('Reset'),class_="btn")} + % if c.default_key: + ${_('Click add to use this generate SSH key')} + % endif ${h.end_form()} diff --git a/rhodecode/templates/admin/users/user_edit_ssh_keys_generate.mako b/rhodecode/templates/admin/users/user_edit_ssh_keys_generate.mako --- a/rhodecode/templates/admin/users/user_edit_ssh_keys_generate.mako +++ b/rhodecode/templates/admin/users/user_edit_ssh_keys_generate.mako @@ -31,10 +31,11 @@ chmod 0600 ~/.ssh/id_rsa_rhodecode_acces

% if hasattr(c, 'target_form_url'): - ${_('Add this generated key')} + ${_('Use this generated key')}. % else: - ${_('Add this generated key')} + ${_('Use this generated key')}. % endif + ${_('Confirmation required on the next screen')}.