ssh: add few explanation text about two step addition of generated keys.
Based on feedback from customers.
This commit is contained in:
parent
257cf596e2
commit
234dddcb62
3 changed files with 9 additions and 2 deletions
|
|
@ -67,6 +67,9 @@
|
|||
${h.submit('save',_('Add'),class_="btn")}
|
||||
${h.reset('reset',_('Reset'),class_="btn")}
|
||||
</div>
|
||||
% if c.default_key:
|
||||
${_('Click add to use this generate SSH key')}
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
${h.end_form()}
|
||||
|
|
|
|||
|
|
@ -62,6 +62,9 @@
|
|||
${h.submit('save',_('Add'),class_="btn")}
|
||||
${h.reset('reset',_('Reset'),class_="btn")}
|
||||
</div>
|
||||
% if c.default_key:
|
||||
${_('Click add to use this generate SSH key')}
|
||||
% endif
|
||||
</div>
|
||||
</div>
|
||||
${h.end_form()}
|
||||
|
|
|
|||
|
|
@ -31,10 +31,11 @@ chmod 0600 ~/.ssh/id_rsa_rhodecode_access_pub.key
|
|||
<input type="text" value="${c.public}" class="large text" size="100"/>
|
||||
<p>
|
||||
% if hasattr(c, 'target_form_url'):
|
||||
<a href="${c.target_form_url}">${_('Add this generated key')}</a>
|
||||
<a href="${c.target_form_url}">${_('Use this generated key')}.</a>
|
||||
% else:
|
||||
<a href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id, _query=dict(default_key=c.public))}">${_('Add this generated key')}</a>
|
||||
<a href="${h.route_path('edit_user_ssh_keys', user_id=c.user.user_id, _query=dict(default_key=c.public))}">${_('Use this generated key')}.</a>
|
||||
% endif
|
||||
${_('Confirmation required on the next screen')}.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue