# HG changeset patch # User Chris Cannam # Date 1310468017 -3600 # Node ID 57c28ea4c482c69852beb2fddb24f217ba1f3548 # Parent 1c1ee0b2a1074e1026e89cfeb1d3be35be0bcc1c# Parent cd64fb9ab7010563f2c2f1e2a1a6f5a05ce14434 Merge diff -r 1c1ee0b2a107 -r 57c28ea4c482 app/views/projects/show.rhtml --- a/app/views/projects/show.rhtml Mon Jul 11 16:50:45 2011 +0100 +++ b/app/views/projects/show.rhtml Tue Jul 12 11:53:37 2011 +0100 @@ -10,6 +10,14 @@ <% if page %> +<% if @project.module_enabled? :wiki %> +<% if User.current.allowed_to?(:edit_wiki_pages, @project) %> +
+<%= link_to(l(:button_welcome_page_edit_this), {:controller => 'wiki', :action => 'edit', :project_id => @project, :id => Wiki.titleize("Overview")}, :class => 'icon icon-edit') %> +
+<% end %> +<% end %> +