summaryrefslogtreecommitdiffstats
path: root/app/views/versions
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2019-10-19 10:22:16 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2019-10-19 10:22:16 +0000
commitdc84b108880c699bb14908752ca2815a9b99daa5 (patch)
tree3cd357848432ee6f0d7034d328ca17d416180aaf /app/views/versions
parentce867955f01159448ffb5db3e7f00ff540eb14dd (diff)
downloadredmine-dc84b108880c699bb14908752ca2815a9b99daa5.tar.gz
redmine-dc84b108880c699bb14908752ca2815a9b99daa5.zip
Display new issue link in version page (#28138).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@18755 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r--app/views/versions/show.html.erb1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/views/versions/show.html.erb b/app/views/versions/show.html.erb
index e1b27ee0d..d73485a8c 100644
--- a/app/views/versions/show.html.erb
+++ b/app/views/versions/show.html.erb
@@ -2,6 +2,7 @@
<%= link_to(l(:button_edit), edit_version_path(@version), :class => 'icon icon-edit') if User.current.allowed_to?(:manage_versions, @version.project) %>
<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :project_id => @version.project, :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @version.project.wiki.nil? %>
<%= delete_link version_path(@version, :back_url => url_for(:controller => 'versions', :action => 'index', :project_id => @version.project)) if User.current.allowed_to?(:manage_versions, @version.project) %>
+<%= link_to_new_issue(@version, @project) %>
<%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %>
</div>