<%= @subject %>

<% if @attachments.first || @course_news.first || @bids.first || @homeworks.first || @course_journal_messages.first|| @course_messages.first %>

<%= l(:label_course_overview)%>

<% unless @course_news.first.nil? %> <% end %> <% if !@bids.first.nil? || !@homeworks.first.nil? %> <% end %> <% unless @course_journal_messages.first.nil? %> <% end %> <% unless @course_messages.first.nil? %> <% end %> <% unless @attachments.first.nil? %> <% end %>
<% end %> <% if @issues.first || @project_messages.first %>

<%= l(:label_project_overview_new)%>

<% unless @issues.first.nil? %> <% end %> <% unless @project_messages.first.nil? %> <% end %>
<% end %> <% unless @user_journal_messages.first.nil? %>

<%= l(:label_activities) %>

<% end %> <% if @forums.first || @memos.first %>

<%= l(:lable_bar_active) %>

<% unless @forums.first.nil? %> <% end %> <% unless @memos.first.nil? %> <% end %>
<% end %>
<%= link_to l(:mail_footer), @user_url, :style => "margin-top:20px;color:#2775d2; margin-left:10px;" %>