Feature #33660 » 33660.patch
| app/views/sudo_mode/_new_modal.html.erb | ||
|---|---|---|
|
<h3 class="title"><%= l(:label_password_required) %></h3>
|
||
|
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p>
|
||
|
<%= form_tag({}, remote: true) do %>
|
||
|
<%= hidden_field_tag '_method', request.request_method %>
|
||
| ... | ... | |
|
<p>
|
||
|
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
|
||
|
<%= password_field_tag :sudo_password, nil, size: 25 %>
|
||
|
<br/><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %>
|
||
|
</p>
|
||
|
</div>
|
||
| app/views/sudo_mode/new.html.erb | ||
|---|---|---|
|
<h2><%= l :label_password_required %></h2>
|
||
|
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p>
|
||
|
<%= form_tag({}, method: :post, class: 'tabular', id: 'sudo-form') do %>
|
||
|
<%= hidden_field_tag '_method', request.request_method %>
|
||
| ... | ... | |
|
<p>
|
||
|
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label>
|
||
|
<%= password_field_tag :sudo_password, nil, size: 25 %>
|
||
|
</br><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %>
|
||
|
</p>
|
||
|
</div>
|
||
|
<%= submit_tag l(:button_submit) %>
|
||
| config/locales/de.yml | ||
|---|---|---|
|
field_passwd_changed_on: Password last changed
|
||
|
label_import_users: Import users
|
||
|
label_days_to_html: "%{days} days up to %{date}"
|
||
|
sudo_mode_new_info_html: <strong>Warum das ganze?</strong> Zu Ihrem Schutz bitten wir Sie Ihr Kennwort zu bestätigen, bevor Sie sicherheitsrelevante Einstellungen ändern.
|
||
| config/locales/en.yml | ||
|---|---|---|
|
text_project_is_public_anonymous: Public projects and their contents are openly available on the network.
|
||
|
label_import_time_entries: Import time entries
|
||
|
label_import_users: Import users
|
||
|
sudo_mode_new_info_html: <strong>What's happening?</strong> You need to reconfirm your password before taking any administrative actions, this ensures your account stays protected.
|
||