This repository has been archived on 2023-02-21. You can view files and clone it, but cannot push or open issues or pull requests.
redmine_entrouvert/app/views/welcome/index.html.erb

55 lines
1.8 KiB
Plaintext

<h2>
Softwares and solutions from <a href="http://www.entrouvert.com/en/" class="external">Entr'ouvert</a>
Logiciels et solutions d'<a href="http://www.entrouvert.com/fr/" class="external">Entr'ouvert</a>
</h2>
<p>All our internal and customer projects are here.
/
Tous nos projets internes et nos projets clients publics sont ici.
<a href="/issues/">view tickets</a> / <a href="/issues/">voir les tickets</a>
</p>
<div>
<% if @projects.any? %>
<div class="projects">
<div class="projects-listing">
<% for project in @projects %>
<% @project = project %>
<div class="project box">
<strong><%= link_to_project project %></strong>
<%= textilizable project.short_description, :project => project %>
</div>
<% end %>
<% @project = nil %>
</div> <!-- .projects-listing -->
</div>
<% end %>
<%= call_hook(:view_welcome_index_right, :projects => @projects) %>
</div>
<div>
<%= textilizable Setting.welcome_text %>
<% if @news.any? %>
<div class="news box">
<h3><%=l(:label_news_latest)%></h3>
<%= render :partial => 'news/news', :collection => @news %>
<%= link_to l(:label_news_view_all), :controller => 'news' %>
</div>
<% end %>
<%= call_hook(:view_welcome_index_left, :projects => @projects) %>
</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 %>