To check out this repository please hg clone the following URL, or open the URL using EasyMercurial or your preferred Mercurial client.

Statistics Download as Zip
| Branch: | Tag: | Revision:

root / app / views / projects / settings / _overview.rhtml @ 443:350acce374a2

History | View | Annotate | Download (1016 Bytes)

1 351:ebf53b46f3f3 chris
2
<% form_for :project, @project,
3
            :url => { :action => 'overview', :id => @project },
4
            :html => {:id => 'overview-form'} do |f| %>
5
6
<div class="box tabular">
7
8 354:8c804ce943db chris
<p><%= l(:text_has_welcome_page_info, { :overview_link => link_to(l(:label_overview), { :controller => 'projects', :action => 'show' } ) } ) %></p>
9
10
<% if @project.module_enabled? :wiki %>
11
12
<p><%= link_to(l(:button_welcome_page_edit), {:controller => 'wiki', :action => 'edit', :project_id => @project, :id => Wiki.titleize("Overview")}, :class => 'icon icon-edit') %>
13
14
<% else %>
15
16
<p><%= l(:text_has_welcome_page_wiki_disabled, { :modules_link => link_to(l(:label_module_plural), { :controller => 'projects', :action => 'settings', :tab => 'modules' } ) } ) %></p>
17
18
<% end %>
19
20 351:ebf53b46f3f3 chris
<p><label for="has_welcome_page"><%= l(:label_has_welcome_page) %></label>
21
<%= check_box_tag 'has_welcome_page', 1, @project.has_welcome_page? -%>
22 354:8c804ce943db chris
<br/><em><%= l(:setting_has_welcome_page) %></em>
23
24 351:ebf53b46f3f3 chris
</p>
25
26
</div>
27
28
<%= submit_tag l(:button_save) %>
29
30
<% end %>