Feature #36891 » 0001-Ask-more-specific-confirmation-questions-when-closin.patch
| app/views/context_menus/projects.html.erb | ||
|---|---|---|
| 3 | 3 |
<% if @project.archived? %> |
| 4 | 4 |
<li><%= context_menu_link l(:button_unarchive), unarchive_project_path(@project), method: :post, class: 'icon icon-unlock' %></li> |
| 5 | 5 |
<% else %> |
| 6 |
<li><%= context_menu_link l(:button_archive), archive_project_path(@project), data: {confirm: l(:text_are_you_sure)}, method: :post, class: 'icon icon-lock' %></li>
|
|
| 6 |
<li><%= context_menu_link l(:button_archive), archive_project_path(@project), data: {confirm: l(:text_project_archive_confirmation, @project.to_s)}, method: :post, class: 'icon icon-lock' %></li>
|
|
| 7 | 7 |
<% end %> |
| 8 | 8 |
<li> |
| 9 | 9 |
<%= context_menu_link l(:button_copy), copy_project_path(@projects), class: 'icon icon-copy' %> |
| 10 | 10 |
</li> |
| 11 | 11 |
<li> |
| 12 |
<%= context_menu_link l(:button_delete), project_path(@project, back_url: @back), |
|
| 13 |
method: :delete, data: {confirm: l(:text_project_destroy_confirmation)}, class: 'icon icon-del' %>
|
|
| 12 |
<%= context_menu_link l(:button_delete), project_path(@project, back_url: @back), method: :delete, class: 'icon icon-del' %> |
|
| 14 | 13 |
</li> |
| 15 | 14 |
<% end %> |
| 16 | 15 |
</ul> |
| app/views/projects/show.html.erb | ||
|---|---|---|
| 7 | 7 |
<% end %> |
| 8 | 8 |
<% if User.current.allowed_to?(:close_project, @project) %> |
| 9 | 9 |
<% if @project.active? %> |
| 10 |
<%= link_to l(:button_close), close_project_path(@project), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-lock' %>
|
|
| 10 |
<%= link_to l(:button_close), close_project_path(@project), :data => {:confirm => l(:text_project_close_confirmation, @project.to_s)}, :method => :post, :class => 'icon icon-lock' %>
|
|
| 11 | 11 |
<% else %> |
| 12 |
<%= link_to l(:button_reopen), reopen_project_path(@project), :data => {:confirm => l(:text_are_you_sure)}, :method => :post, :class => 'icon icon-unlock' %>
|
|
| 12 |
<%= link_to l(:button_reopen), reopen_project_path(@project), :data => {:confirm => l(:text_project_reopen_confirmation, @project.to_s)}, :method => :post, :class => 'icon icon-unlock' %>
|
|
| 13 | 13 |
<% end %> |
| 14 | 14 |
<% end %> |
| 15 | 15 |
<% if @project.deletable? %> |
| config/locales/de.yml | ||
|---|---|---|
| 1108 | 1108 |
text_plugin_assets_writable: Verzeichnis für Plugin-Assets beschreibbar |
| 1109 | 1109 |
text_project_closed: Dieses Projekt ist geschlossen und kann nicht bearbeitet werden. |
| 1110 | 1110 |
text_project_destroy_confirmation: Sind Sie sicher, dass Sie das Projekt löschen wollen? |
| 1111 |
text_project_close_confirmation: Sind Sie sicher, dass Sie das Projekt '%{value}' schließen wollen?
|
|
| 1112 |
text_project_reopen_confirmation: Sind Sie sicher, dass Sie das Projekt '%{value}' wieder öffnen wollen?
|
|
| 1113 |
text_project_archive_confirmation: Sind Sie sicher, dass Sie das Projekt '%{value}' archivieren wollen?
|
|
| 1111 | 1114 |
text_project_identifier_info: 'Kleinbuchstaben (a-z), Ziffern, Binde- und Unterstriche erlaubt.<br />Einmal gespeichert, kann die Kennung nicht mehr geändert werden.' |
| 1112 | 1115 |
text_reassign_time_entries: 'Gebuchte Aufwände diesem Ticket zuweisen:' |
| 1113 | 1116 |
text_regexp_info: z. B. ^[A-Z0-9]+$ |
| config/locales/en.yml | ||
|---|---|---|
| 1208 | 1208 |
text_regexp_info: eg. ^[A-Z0-9]+$ |
| 1209 | 1209 |
text_project_destroy_confirmation: Are you sure you want to delete this project and related data? |
| 1210 | 1210 |
text_subprojects_destroy_warning: "Its subproject(s): %{value} will be also deleted."
|
| 1211 |
text_project_close_confirmation: Are you sure you want to close the '%{value}' project to make it read-only?
|
|
| 1212 |
text_project_reopen_confirmation: Are you sure you want to reopen the '%{value}' project?
|
|
| 1213 |
text_project_archive_confirmation: Are you sure you want to archive the '%{value}' project?
|
|
| 1211 | 1214 |
text_workflow_edit: Select a role and a tracker to edit the workflow |
| 1212 | 1215 |
text_are_you_sure: Are you sure? |
| 1213 | 1216 |
text_journal_changed: "%{label} changed from %{old} to %{new}"
|