Mercurial > hg > soundsoftware-site
annotate app/views/projects/settings/_overview.html.erb @ 1327:287f201c2802 redmine-2.2-integration
Add italic
author | Chris Cannam <chris.cannam@soundsoftware.ac.uk> |
---|---|
date | Wed, 19 Jun 2013 20:56:22 +0100 |
parents | 2818bf60c84c |
children |
rev | line source |
---|---|
chris@351 | 1 |
luis@1245 | 2 <%= form_for @project, |
luis@1245 | 3 :url => { :action => 'overview', :id => @project.id }, |
chris@351 | 4 :html => {:id => 'overview-form'} do |f| %> |
chris@351 | 5 |
chris@351 | 6 <div class="box tabular"> |
chris@351 | 7 |
chris@1268 | 8 <p><%= l(:text_has_welcome_page_info, { :overview_link => link_to(l(:label_overview), { :controller => 'projects', :action => 'show' } ) } ).html_safe %></p> |
chris@354 | 9 |
chris@354 | 10 <% if @project.module_enabled? :wiki %> |
chris@354 | 11 |
chris@354 | 12 <p><%= link_to(l(:button_welcome_page_edit), {:controller => 'wiki', :action => 'edit', :project_id => @project, :id => Wiki.titleize("Overview")}, :class => 'icon icon-edit') %> |
chris@354 | 13 |
chris@354 | 14 <% else %> |
chris@354 | 15 |
chris@1268 | 16 <p><%= l(:text_has_welcome_page_wiki_disabled, { :modules_link => link_to(l(:label_module_plural), { :controller => 'projects', :action => 'settings', :tab => 'modules' } ) } ).html_safe %></p> |
chris@354 | 17 |
chris@354 | 18 <% end %> |
chris@354 | 19 |
chris@351 | 20 <p><label for="has_welcome_page"><%= l(:label_has_welcome_page) %></label> |
chris@351 | 21 <%= check_box_tag 'has_welcome_page', 1, @project.has_welcome_page? -%> |
chris@354 | 22 <br/><em><%= l(:setting_has_welcome_page) %></em> |
chris@354 | 23 |
chris@351 | 24 </p> |
chris@351 | 25 |
chris@351 | 26 </div> |
chris@351 | 27 |
chris@351 | 28 <%= submit_tag l(:button_save) %> |
chris@351 | 29 |
chris@351 | 30 <% end %> |