diff options
author | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-10-29 22:40:02 +0000 |
---|---|---|
committer | Jean-Baptiste Barth <jeanbaptiste.barth@gmail.com> | 2010-10-29 22:40:02 +0000 |
commit | c91ca4fcd91fd15d26dfad587153dd5f7e10a738 (patch) | |
tree | 310f34f9e5d75020c641d2dbaa9fc5a0f390579a /app/views/versions | |
parent | 1cf67b3a1d87c762d1375683b95f4016e90be0a9 (diff) | |
download | redmine-c91ca4fcd91fd15d26dfad587153dd5f7e10a738.tar.gz redmine-c91ca4fcd91fd15d26dfad587153dd5f7e10a738.zip |
Fix wikilinks in project > settings > versions and version view. #6435 #4416
Contributed by Mischa The Evil and Felix Schäfer.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4307 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/views/versions')
-rw-r--r-- | app/views/versions/show.rhtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/versions/show.rhtml b/app/views/versions/show.rhtml index f8a82142c..13769a5b9 100644 --- a/app/views/versions/show.rhtml +++ b/app/views/versions/show.rhtml @@ -1,6 +1,6 @@ <div class="contextual"> <%= link_to_if_authorized l(:button_edit), {:controller => 'versions', :action => 'edit', :id => @version}, :class => 'icon icon-edit' %> -<%= link_to_if_authorized(l(:button_edit_associated_wikipage, :page_title => @version.wiki_page_title), {:controller => 'wiki', :action => 'edit', :id => Wiki.titleize(@version.wiki_page_title)}, :class => 'icon icon-edit') unless @version.wiki_page_title.blank? || @project.wiki.nil? %> +<%= 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? %> <%= call_hook(:view_versions_show_contextual, { :version => @version, :project => @project }) %> </div> |