ssh: add few explanation text about two step addition of generated keys....
marcink -
r2477:dacca1fe default
Not Reviewed
Show More
Add another comment
TODOs: 0 unresolved 0 Resolved
COMMENTS: 0 General 0 Inline
@@ -67,6 +67,9
67 ${h.submit('save',_('Add'),class_="btn")}
67 ${h.submit('save',_('Add'),class_="btn")}
68 ${h.reset('reset',_('Reset'),class_="btn")}
68 ${h.reset('reset',_('Reset'),class_="btn")}
69 </div>
69 </div>
70 % if c.default_key:
71 ${_('Click add to use this generate SSH key')}
72 % endif
70 </div>
73 </div>
71 </div>
74 </div>
72 ${h.end_form()}
75 ${h.end_form()}
@@ -62,6 +62,9
62 ${h.submit('save',_('Add'),class_="btn")}
62 ${h.submit('save',_('Add'),class_="btn")}
63 ${h.reset('reset',_('Reset'),class_="btn")}
63 ${h.reset('reset',_('Reset'),class_="btn")}
64 </div>
64 </div>
65 % if c.default_key:
66 ${_('Click add to use this generate SSH key')}
67 % endif
65 </div>
68 </div>
66 </div>
69 </div>
67 ${h.end_form()}
70 ${h.end_form()}
@@ -31,10 +31,11
31 <input type="text" value="${c.public}" class="large text" size="100"/>
31 <input type="text" value="${c.public}" class="large text" size="100"/>
32 <p>
32 <p>
33 % if hasattr(c, 'target_form_url'):
33 % if hasattr(c, 'target_form_url'):
34 <a href="${c.target_form_url}">${_('Add this generated key')}</a>
34 <a href="${c.target_form_url}">${_('Use this generated key')}.</a>
35 % else:
35 % else:
36 <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>
36 <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>
37 % endif
37 % endif
38 ${_('Confirmation required on the next screen')}.
38 </p>
39 </p>
39 </div>
40 </div>
40 </div>
41 </div>
Comments 0
You need to be logged in to leave comments. Login now