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')}.