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.html.erb @ 1360:45dbcd39b9e9

History | View | Annotate | Download (1.01 KB)

1

    
2
<%= form_for @project,
3
            :url => { :action => 'overview', :id => @project.id },
4
            :html => {:id => 'overview-form'} do |f| %>
5

    
6
<div class="box tabular">
7

    
8
<p><%= l(:text_has_welcome_page_info, { :overview_link => link_to(l(:label_overview), { :controller => 'projects', :action => 'show' } ) } ).html_safe %></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' } ) } ).html_safe %></p>
17

    
18
<% end %>
19

    
20
<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
<br/><em><%= l(:setting_has_welcome_page) %></em>
23

    
24
</p>
25

    
26
</div>
27

    
28
<%= submit_tag l(:button_save) %>
29

    
30
<% end %>