Mercurial > hg > soundsoftware-site
view app/views/projects/settings/_overview.rhtml @ 871:d6c20f61a130 feature_128
Close obsolete branch feature_128
author | Chris Cannam |
---|---|
date | Sat, 02 Apr 2011 12:22:46 +0100 |
parents | 8c804ce943db |
children |
line wrap: on
line source
<% form_for :project, @project, :url => { :action => 'overview', :id => @project }, :html => {:id => 'overview-form'} do |f| %> <div class="box tabular"> <p><%= l(:text_has_welcome_page_info, { :overview_link => link_to(l(:label_overview), { :controller => 'projects', :action => 'show' } ) } ) %></p> <% if @project.module_enabled? :wiki %> <p><%= link_to(l(:button_welcome_page_edit), {:controller => 'wiki', :action => 'edit', :project_id => @project, :id => Wiki.titleize("Overview")}, :class => 'icon icon-edit') %> <% else %> <p><%= l(:text_has_welcome_page_wiki_disabled, { :modules_link => link_to(l(:label_module_plural), { :controller => 'projects', :action => 'settings', :tab => 'modules' } ) } ) %></p> <% end %> <p><label for="has_welcome_page"><%= l(:label_has_welcome_page) %></label> <%= check_box_tag 'has_welcome_page', 1, @project.has_welcome_page? -%> <br/><em><%= l(:setting_has_welcome_page) %></em> </p> </div> <%= submit_tag l(:button_save) %> <% end %>