chris@351: chris@351: <% form_for :project, @project, chris@351: :url => { :action => 'overview', :id => @project }, chris@351: :html => {:id => 'overview-form'} do |f| %> chris@351: chris@351:
<%= l(:text_has_welcome_page_info, { :overview_link => link_to(l(:label_overview), { :controller => 'projects', :action => 'show' } ) } ) %>
chris@354: chris@354: <% if @project.module_enabled? :wiki %> chris@354: chris@354:<%= link_to(l(:button_welcome_page_edit), {:controller => 'wiki', :action => 'edit', :project_id => @project, :id => Wiki.titleize("Overview")}, :class => 'icon icon-edit') %> chris@354: chris@354: <% else %> chris@354: chris@354:
<%= l(:text_has_welcome_page_wiki_disabled, { :modules_link => link_to(l(:label_module_plural), { :controller => 'projects', :action => 'settings', :tab => 'modules' } ) } ) %>
chris@354: chris@354: <% end %> chris@354: chris@351:
chris@351: <%= check_box_tag 'has_welcome_page', 1, @project.has_welcome_page? -%>
chris@354:
<%= l(:setting_has_welcome_page) %>
chris@354:
chris@351: