Feature #33660 » 33660.patch
| app/views/sudo_mode/_new_modal.html.erb | ||
|---|---|---|
| 1 | 1 |
<h3 class="title"><%= l(:label_password_required) %></h3> |
| 2 |
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p> |
|
| 2 | 3 |
<%= form_tag({}, remote: true) do %>
|
| 3 | 4 | |
| 4 | 5 |
<%= hidden_field_tag '_method', request.request_method %> |
| ... | ... | |
| 8 | 9 |
<p> |
| 9 | 10 |
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label> |
| 10 | 11 |
<%= password_field_tag :sudo_password, nil, size: 25 %> |
| 12 |
<br/><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %> |
|
| 11 | 13 |
</p> |
| 12 | 14 |
</div> |
| 13 | 15 | |
| app/views/sudo_mode/new.html.erb | ||
|---|---|---|
| 1 | 1 |
<h2><%= l :label_password_required %></h2> |
| 2 |
<p class="nodata" style="font-size: 1em;"><%= t 'sudo_mode_new_info_html' %></p> |
|
| 2 | 3 |
<%= form_tag({}, method: :post, class: 'tabular', id: 'sudo-form') do %>
|
| 3 | 4 | |
| 4 | 5 |
<%= hidden_field_tag '_method', request.request_method %> |
| ... | ... | |
| 8 | 9 |
<p> |
| 9 | 10 |
<label for="sudo_password"><%= l :field_password %><span class="required">*</span></label> |
| 10 | 11 |
<%= password_field_tag :sudo_password, nil, size: 25 %> |
| 12 |
</br><%= link_to l(:label_password_lost), lost_password_path, :class => "lost_password" if Setting.lost_password? %> |
|
| 11 | 13 |
</p> |
| 12 | 14 |
</div> |
| 13 | 15 |
<%= submit_tag l(:button_submit) %> |
| config/locales/de.yml | ||
|---|---|---|
| 1321 | 1321 |
field_passwd_changed_on: Password last changed |
| 1322 | 1322 |
label_import_users: Import users |
| 1323 | 1323 |
label_days_to_html: "%{days} days up to %{date}"
|
| 1324 |
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 | ||
|---|---|---|
| 1297 | 1297 |
text_project_is_public_anonymous: Public projects and their contents are openly available on the network. |
| 1298 | 1298 |
label_import_time_entries: Import time entries |
| 1299 | 1299 |
label_import_users: Import users |
| 1300 |
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. |
|