Feature #44627 » 0001-Remove-the-delete-icon-from-the-time-entries-list.patch
| app/views/timelog/_list.html.erb | ||
|---|---|---|
|
<%= link_to sprite_icon('edit', l(:button_edit)), edit_time_entry_path(entry),
|
||
|
:title => l(:button_edit),
|
||
|
:class => 'icon-only icon-edit' %>
|
||
|
<%= link_to sprite_icon('del', l(:button_delete)), time_entry_path(entry),
|
||
|
:data => {:confirm => l(:text_are_you_sure)},
|
||
|
:method => :delete,
|
||
|
:title => l(:button_delete),
|
||
|
:class => 'icon-only icon-del' %>
|
||
|
<% end -%>
|
||
|
<%= link_to_context_menu %>
|
||
|
</td>
|
||
| test/functional/timelog_controller_test.rb | ||
|---|---|---|
|
assert_response :success
|
||
|
assert_select 'tr.time-entry', 4
|
||
|
assert_select 'tr.time-entry td.buttons a.icon-del', 0
|
||
|
# project and subproject
|
||
|
projects = css_select('table.time-entries tbody td.project').map(&:text).uniq.sort
|
||
- « Previous
- 1
- 2
- Next »