<%= render 'homescreen/blocks/header', title: t(:label_project_plural) %> <% if @favorite_projects.any? %>

<%= t('projects.lists.favored') %>

<% end %> <% if @newest_projects.empty? %>

<%= t('homescreen.additional.no_visible_projects') %>

<% else %>

<%= t('homescreen.additional.projects') %>

<% end %>
<% if User.current.allowed_globally?(:add_project) %> <%= link_to new_project_path, { class: 'button -primary', aria: {label: t(:label_project_new)}, title: t(:label_project_new)} do %> <%= op_icon('button--icon icon-add') %> <%= Project.model_name.human %> <% end %> <% end %> <%# If any project exists %> <% unless @newest_projects.empty? %> <%= link_to t(:label_project_view_all), projects_path, class: 'button -highlight-inverted', title: t(:label_project_view_all) %> <% end %>