ui: small tweeks for ssh default action (added button) and text on user user group
This commit is contained in:
parent
2526f729ef
commit
838bee0e08
2 changed files with 4 additions and 4 deletions
|
|
@ -12,7 +12,7 @@
|
|||
<div class="fields">
|
||||
<div class="field">
|
||||
<div class="label label-checkbox">
|
||||
<label for="users_group_active">${_('Add `%s` to user group') % c.user.username}:</label>
|
||||
<label for="users_group_active">${_('Add user to user group')}:</label>
|
||||
</div>
|
||||
<div class="input">
|
||||
${h.text('add_user_to_group', placeholder="user group name", class_="medium")}
|
||||
|
|
|
|||
|
|
@ -38,11 +38,11 @@ e.g chmod 0600 /home/{username}/.ssh/id_rsa_rhodecode_access_priv.key
|
|||
</pre>
|
||||
|
||||
<input type="text" value="${c.public}" class="large text" size="100"/>
|
||||
<p>
|
||||
<p style="padding-top: 10px">
|
||||
% if hasattr(c, 'target_form_url'):
|
||||
<a href="${c.target_form_url}">${_('Use this generated key')}.</a>
|
||||
<a class="btn btn-primary" 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))}">${_('Use this generated key')}.</a>
|
||||
<a class="btn btn-primary" 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>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue