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

clean

parent 6cb6b5c0
No related branches found
No related tags found
No related merge requests found
......@@ -2,13 +2,13 @@
<div class="row g-3">
<div class="col">
<input class="form-control form-control-lg"
placeholder="Entrez votre recherche ici"
placeholder="<%= t 'extranet.contacts.search.placeholder' %>"
type="text"
name="term"
value="<%= @term %>">
</div>
<div class="col-auto">
<input type="submit" name="commit" value="Chercher" class="btn btn-primary btn-lg">
<input type="submit" value="<%= t 'extranet.contacts.search.submit' %>" class="btn btn-primary btn-lg">
</div>
</div>
<% end %>
<% content_for :title, "Recherche de “#{@term}”" %>
<% content_for :title, t('extranet.contacts.search.title') %>
<%= render 'extranet/contacts/search/form' %>
......
......@@ -4,14 +4,7 @@
<% if current_extranet.home_sentence.present? %>
<%= current_extranet.home_sentence.html_safe %>
<% else %>
<%# TODO i18n %>
Bienvenue sur l’extranet <%= current_context %>.
Retrouvez les <%= link_to University::Person::Alumnus.model_name.human(count: 2).downcase, alumni_university_persons_path %>,
<% if current_extranet.should_show_years? %>
recherchez par <%= link_to Education::AcademicYear.model_name.human(count: 2).downcase, alumni_education_academic_years_path %>,
<% end %>
explorez les <%= link_to Education::Cohort.model_name.human(count: 2).downcase, alumni_education_cohorts_path %>,
découvrez les <%= link_to University::Organization.model_name.human(count: 2).downcase, alumni_university_organizations_path %>.
<%= t 'extranet.home.welcome' %>
<% end %>
</h1>
<% end %>
......
......@@ -7,6 +7,11 @@ en:
edit_personal_data: Edit profile
updated: Updated
logout: Log out
contacts:
search:
title: Search
placeholder: Type your search here
submit: Search
data: Data
errors:
email_not_allowed: is not authorized to access this extranet.
......@@ -18,6 +23,7 @@ en:
home:
recent_cohorts: Recent cohorts
recent_experiences: Recent experiences
welcome: Welcome!
menu: Menu
organization:
experiences: Alumni in this organization (%{count})
......
......@@ -7,6 +7,11 @@ fr:
edit_personal_data: Modifier mon profil
updated: Mise à jour effectuée
logout: Déconnexion
contacts:
search:
title: Recherche
placeholder: Entrez votre recherche ici
submit: Chercher
data: Informations
errors:
email_not_allowed: n'est pas autorisé à accéder à cet extranet.
......@@ -18,6 +23,7 @@ fr:
home:
recent_cohorts: Promotions récentes
recent_experiences: Mouvements récents
welcome: Bienvenue !
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