summaryrefslogtreecommitdiffstats
path: root/app/views/timelog
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2018-09-26 07:47:59 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2018-09-26 07:47:59 +0000
commit6c0aa5cb89ce8d965d5e0e1e8170161b42cda990 (patch)
treeaa2139412d34c1aefe21c88a0cadbe5d282a0e64 /app/views/timelog
parentb9fa262165601a3b348d22ca1d8da53bda99e55b (diff)
downloadredmine-6c0aa5cb89ce8d965d5e0e1e8170161b42cda990.tar.gz
redmine-6c0aa5cb89ce8d965d5e0e1e8170161b42cda990.zip
Add cancel button to new/edit log time page (#8888).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@17522 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/timelog')
-rw-r--r--app/views/timelog/edit.html.erb1
-rw-r--r--app/views/timelog/new.html.erb1
2 files changed, 2 insertions, 0 deletions
diff --git a/app/views/timelog/edit.html.erb b/app/views/timelog/edit.html.erb
index 89a60b7ed..f7daa26c3 100644
--- a/app/views/timelog/edit.html.erb
+++ b/app/views/timelog/edit.html.erb
@@ -3,4 +3,5 @@
<%= labelled_form_for @time_entry, :url => time_entry_path(@time_entry), :html => {:multipart => true} do |f| %>
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_save) %>
+ <%= render_cancel_button_tag_for_time_entry(@project) %>
<% end %>
diff --git a/app/views/timelog/new.html.erb b/app/views/timelog/new.html.erb
index 593eb2bc8..719e79d96 100644
--- a/app/views/timelog/new.html.erb
+++ b/app/views/timelog/new.html.erb
@@ -4,4 +4,5 @@
<%= render :partial => 'form', :locals => {:f => f} %>
<%= submit_tag l(:button_create) %>
<%= submit_tag l(:button_create_and_continue), :name => 'continue' %>
+ <%= render_cancel_button_tag_for_time_entry(@project) %>
<% end %>