Project

General

Profile

Feature #31278 » button-delete-patch.patch

Frederico Camara, 2019-04-29 21:38

View differences:

app/views/issues/_action_menu.html.erb
<%= link_to l(:button_log_time), new_issue_time_entry_path(@issue), :class => 'icon icon-time-add' if User.current.allowed_to?(:log_time, @project) %>
<%= watcher_link(@issue, User.current) %>
<%= link_to l(:button_copy), project_copy_issue_path(@project, @issue), :class => 'icon icon-copy' if User.current.allowed_to?(:copy_issues, @project) && Issue.allowed_target_projects.any? %>
<%= link_to l(:button_delete), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if @issue.deletable? %>
<%= link_to l(:button_delete_issue), issue_path(@issue), :data => {:confirm => issues_destroy_confirmation_message(@issue)}, :method => :delete, :class => 'icon icon-del' if @issue.deletable? %>
</div>
config/locales/en.yml
button_collapse_all: Collapse all
button_expand_all: Expand all
button_delete: Delete
button_delete_issue: Delete Issue
button_create: Create
button_create_and_continue: Create and add another
button_test: Test
config/locales/pt-BR.yml
button_check_all: Marcar todos
button_uncheck_all: Desmarcar todos
button_delete: Excluir
button_delete_issue: Excluir Tarefa
button_create: Criar
button_test: Testar
button_edit: Editar
(1-1/3)