view app/views/welcome/index.html.erb @ 1628:9c5f8e24dadc live tip

Quieten this cron script
author Chris Cannam
date Tue, 25 Aug 2020 11:38:49 +0100
parents 041b794f2a31
children
line wrap: on
line source

<% if not Setting.notifications_text.empty? %>
  <div class="notifications flash newsalert">
    <%= textilizable Setting.notifications_text %> 
  </div>
<% end %>

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

<div id="welcomepage">
<%= textilizable Setting.welcome_text %>
</div>
  
<% content_for :header_tags do %>
<%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
                                   :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
<%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
                                   :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
<% end %>