Skip to content
Snippets Groups Projects
Unverified Commit 101b2aba authored by Sébastien Gaya's avatar Sébastien Gaya
Browse files

locales

parent 4f73f6fa
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<%= link_to University::Person::Experience.human_attribute_name('new'),
new_experience_path,
class: 'btn btn-sm btn-secondary float-end mb-4' %>
<p class="mb-4">Parcours professionel</p>
<p class="mb-4"><%= t('extranet.experiences.title') %></p>
<br>
<% if @person&.experiences.any? %>
<ul>
......
......@@ -4,7 +4,7 @@
<%= render 'logo' %>
</a>
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#menu" aria-controls="menu" aria-expanded="false" aria-label="Toggle menu">
menu <span class="navbar-toggler-icon"></span>
<%= t('extranet.menu') %> <span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="menu">
<%= render_navigation %>
......
......@@ -13,7 +13,6 @@
</div>
<div class="col-lg-6">
<%= f.association :organization, include_blank: false %>
<%= link_to 'Créer une nouvelle organisation', '', class: 'btn btn-sm btn-secondary mb-4' %>
</div>
</div>
<%= submit f %>
......
......@@ -2,7 +2,7 @@
<div class="row">
<div class="col-md-8">
<h2>Mouvements récents</h2>
<h2><%= t('extranet.home.recent_experiences') %></h2>
<div class="experiences">
<ul>
<% @experiences.ordered.each do |experience| %>
......@@ -25,7 +25,7 @@
<%= experience.person.first_name %> <%= experience.person.last_name %>
<br>
<%= experience.description %>
<%= '—' if experience.description.present? && experience.organization.present? %>
<%= '—' if experience.description.present? && experience.organization.present? %>
<%= experience.organization %>
</p>
<small><%= l experience.created_at.to_date, format: :long %></small>
......@@ -46,7 +46,7 @@
<div class="col-md-4 mt-5 mt-md-0">
<h2>Promotions récentes</h2>
<h2><%= t('extranet.home.recent_cohorts') %></h2>
<ul class="promotions">
<% @cohorts.each do |cohort| %>
<li>
......
......@@ -22,7 +22,7 @@
<p><%= @organization.text %></p>
</div>
<div class="experiences">
<p class="mb-4">Alumni dans cette organisation (<%= @organization.experiences.count %>)</p>
<p class="mb-4"><%= t('extranet.organization.experiences', count: @organization.experiences.count) %></p>
<ul>
<% @organization.experiences.ordered.each do |experience| %>
<li class="mb-3">
......
......@@ -9,7 +9,7 @@
</div>
<% if @person&.experiences.any? %>
<div class="experiences">
<p class="mb-4">Parcours professionel</p>
<p class="mb-4"><%= t('extranet.experiences.title') %></p>
<ul>
<% @person.experiences.ordered.each do |experience| %>
<%= render 'extranet/experiences/experience', experience: experience %>
......
......@@ -5,5 +5,15 @@ en:
edit: Edit
updated: Updated
logout: Log out
errors:
email_not_allowed: is not authorized to access this extranet.
email_not_allowed_with_contact: is not authorized to access this extranet. Contact %{contact} for more information.
experiences:
new: Add experience
title: Professional path
home:
recent_cohorts: Recent cohorts
recent_experiences: Recent experiences
menu: Menu
organization:
experiences: Alumni in this organization (%{count})
......@@ -10,3 +10,10 @@ fr:
email_not_allowed_with_contact: n'est pas autorisé à accéder à cet extranet. Contactez %{contact} pour en savoir plus.
experiences:
new: Ajouter une expérience
title: Parcours professionnel
home:
recent_cohorts: Promotions récentes
recent_experiences: Mouvements récents
menu: Menu
organization:
experiences: Alumni dans cette organisation (%{count})
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