]> source.dussan.org Git - redmine.git/commitdiff
Use :button_edit instead of :button_update for editing issues (#15275).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 16 Nov 2013 08:32:09 +0000 (08:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sat, 16 Nov 2013 08:32:09 +0000 (08:32 +0000)
git-svn-id: http://svn.redmine.org/redmine/trunk@12285 e93f8b46-1217-0410-a6f0-8f06a7374b81

app/views/issues/_action_menu.html.erb
app/views/issues/show.html.erb

index 4757ebcba042c51e761a1e154ce996a54b75e17f..18c9e59b64098964dc07b54146d03b736a2f0857 100644 (file)
@@ -1,5 +1,5 @@
 <div class="contextual">
-<%= link_to l(:button_update), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
+<%= link_to l(:button_edit), edit_issue_path(@issue), :onclick => 'showAndScrollTo("update", "issue_notes"); return false;', :class => 'icon icon-edit', :accesskey => accesskey(:edit) if @issue.editable? %>
 <%= 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?(:add_issues, @project) %>
index 83b4f56ed74bd50f1a585dd0de7a912e5f0ab7b0..5a855c9a57c92ab97b6122bd042615c620d46a52 100644 (file)
@@ -128,7 +128,7 @@ end %>
 <div style="clear: both;"></div>
 <% if @issue.editable? %>
   <div id="update" style="display:none;">
-  <h3><%= l(:button_update) %></h3>
+  <h3><%= l(:button_edit) %></h3>
   <%= render :partial => 'edit' %>
   </div>
 <% end %>