Feature #31278 » 0021-Change-Delete-issue-button-behaviour.patch
app/views/issues/_action_menu.html.erb | ||
---|---|---|
7 | 7 |
<%= watcher_link(@issue, User.current) %> |
8 | 8 |
<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), |
9 | 9 |
:class => 'icon icon-copy' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %> |
10 |
<%= link_to l(:button_delete), issue_path(@issue),
|
|
10 |
<%= link_to l(:label_issue_delete), issue_path(@issue),
|
|
11 | 11 |
:data => {:confirm => issues_destroy_confirmation_message(@issue)}, |
12 |
:method => :delete, :class => 'icon icon-del' if @issue.deletable? %> |
|
12 |
:method => :delete, :class => 'icon icon-del' if @issue.deletable? if defined? show_delete %>
|
|
13 | 13 |
</div> |
app/views/issues/show.html.erb | ||
---|---|---|
1 |
<%= render :partial => 'action_menu' %> |
|
1 |
<%= render :partial => 'action_menu', :locals => {:show_delete => true} %>
|
|
2 | 2 | |
3 | 3 |
<h2><%= issue_heading(@issue) %></h2> |
4 | 4 |
config/locales/en.yml | ||
---|---|---|
589 | 589 |
label_project_latest: Latest projects |
590 | 590 |
label_issue: Issue |
591 | 591 |
label_issue_new: New issue |
592 |
label_issue_delete: Delete issue |
|
592 | 593 |
label_issue_plural: Issues |
593 | 594 |
label_issue_view_all: View all issues |
594 | 595 |
label_issues_by: "Issues by %{value}" |
config/locales/pt-BR.yml | ||
---|---|---|
360 | 360 |
label_project_latest: Últimos projetos |
361 | 361 |
label_issue: Tarefa |
362 | 362 |
label_issue_new: Nova tarefa |
363 |
label_issue_delete: Excluir tarefa |
|
363 | 364 |
label_issue_plural: Tarefas |
364 | 365 |
label_issue_view_all: Ver todas as tarefas |
365 | 366 |
label_issues_by: "Tarefas por %{value}" |