Revision 1342:041b794f2a31 app/views

View differences:

app/views/welcome/index.html.erb
5 5
  </div>
6 6
<% end %>
7 7

  
8
<div id="welcomepagenews">
9
  <% if @site_news.any? %>
10
    <div class="news box">
11
       <h3><%=l(:label_news_site_latest)%></h3>
12
	<%= render :partial => 'news/news', :locals => { :project => @site_project }, :collection => @site_news %>
13
	<%= link_to l(:label_news_more), { :controller => 'news', :project_id => @site_project.identifier, :action => 'index' } %>
14
    </div>
15
  <% end %>
16
</div>
17

  
8 18
<div id="welcomepage">
9

  
10 19
<%= textilizable Setting.welcome_text %>
11

  
12 20
</div>
13 21
  
14 22
<% content_for :header_tags do %>

Also available in: Unified diff