summaryrefslogtreecommitdiffstats
path: root/app/views/workflows
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-11 19:12:08 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2013-07-11 19:12:08 +0000
commitf5768cc99bcdffbafa588eb68c17cca599eff036 (patch)
treef610317f09db5b125db4314ffd9be9fdaf4edfeb /app/views/workflows
parentbc4785ca60d013892524e6e0c8fc4ad2dbacb13f (diff)
downloadredmine-f5768cc99bcdffbafa588eb68c17cca599eff036.tar.gz
redmine-f5768cc99bcdffbafa588eb68c17cca599eff036.zip
Useless "edit" link in workflow menu (#12824).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@12004 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/workflows')
-rw-r--r--app/views/workflows/_action_menu.html.erb1
-rw-r--r--app/views/workflows/copy.html.erb4
-rw-r--r--app/views/workflows/index.html.erb4
3 files changed, 2 insertions, 7 deletions
diff --git a/app/views/workflows/_action_menu.html.erb b/app/views/workflows/_action_menu.html.erb
index 577281128..6961b2776 100644
--- a/app/views/workflows/_action_menu.html.erb
+++ b/app/views/workflows/_action_menu.html.erb
@@ -1,5 +1,4 @@
<div class="contextual">
-<%= link_to l(:button_edit), {:action => 'edit'}, :class => 'icon icon-edit' %>
<%= link_to l(:button_copy), {:action => 'copy'}, :class => 'icon icon-copy' %>
<%= link_to l(:field_summary), {:action => 'index'}, :class => 'icon icon-summary' %>
</div>
diff --git a/app/views/workflows/copy.html.erb b/app/views/workflows/copy.html.erb
index 07001817a..62334c962 100644
--- a/app/views/workflows/copy.html.erb
+++ b/app/views/workflows/copy.html.erb
@@ -1,6 +1,4 @@
-<%= render :partial => 'action_menu' %>
-
-<h2><%=l(:label_workflow)%></h2>
+<h2><%= link_to l(:label_workflow), workflows_edit_path %> &#187; <%=l(:button_copy)%></h2>
<%= form_tag({}, :id => 'workflow_copy_form') do %>
<fieldset class="tabular box">
diff --git a/app/views/workflows/index.html.erb b/app/views/workflows/index.html.erb
index f05386c9b..9ddb71b10 100644
--- a/app/views/workflows/index.html.erb
+++ b/app/views/workflows/index.html.erb
@@ -1,6 +1,4 @@
-<%= render :partial => 'action_menu' %>
-
-<h2><%=l(:label_workflow)%></h2>
+<h2><%= link_to l(:label_workflow), workflows_edit_path %> &#187; <%=l(:field_summary)%></h2>
<% if @workflow_counts.empty? %>
<p class="nodata"><%= l(:label_no_data) %></p>