Skip to content
Snippets Groups Projects
Commit c07a0262 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

title

parent 64be4692
No related branches found
No related tags found
No related merge requests found
......@@ -53,7 +53,7 @@ class Education::Cohort < ApplicationRecord
}
def to_s
"#{program} #{academic_year}"
"#{program.to_short_s} #{academic_year}"
end
def year
......
......@@ -4,4 +4,9 @@
<%= University::Person::Alumnus.model_name.human(count: @cohort.people.count).downcase %>
<% end %>
<p>
<%= @cohort.program %><br>
<%= @cohort.program.diploma %>
</p>
<%= render 'extranet/persons/list', people: @cohort.people %>
<% content_for :title, current_context %>
<% content_for :header do %>
<h1>
<h1><%# TODO i18n %>
Bienvenue sur l’extranet <%= current_context %>.
Retrouvez les <%= link_to University::Person::Alumnus.model_name.human(count: 2).downcase, university_persons_path %>,
<% if current_extranet.should_show_years? %>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment