diff --git a/app/views/extranet/application/_footer.html.erb b/app/views/extranet/application/_footer.html.erb index 4f37174adcd36bfa3f9a722dd0b46dcfccf807d7..9a834c25821067ebbdcbc00427df19c8ba53d803 100644 --- a/app/views/extranet/application/_footer.html.erb +++ b/app/views/extranet/application/_footer.html.erb @@ -8,20 +8,23 @@ </div> <% end %> <div class="row justify-space-between"> - <% if current_extranet.about.is_a?(Education::School) %> - <address class="col-md-6" itemscope itemtype="https://schema.org/CollegeOrUniversity"> - <span itemprop="name"><%= current_extranet.about.name %></span> - <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> - <span itemprop="streetAddress"><%= current_extranet.about.address %></span><br> - <span itemprop="postalCode"><%= current_extranet.about.zipcode %></span> - <span itemprop="addressLocality"><%= current_extranet.about.city %></span><br> + <div class="col-md-6"> + <% if current_extranet.about.is_a?(Education::School) %> + <address itemscope itemtype="https://schema.org/CollegeOrUniversity"> + <span itemprop="name"><%= current_extranet.about.name %></span> + <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> + <span itemprop="streetAddress"><%= current_extranet.about.address %></span><br> + <span itemprop="postalCode"><%= current_extranet.about.zipcode %></span> + <span itemprop="addressLocality"><%= current_extranet.about.city %></span><br> + </div> + </address> + <% elsif current_extranet.about.is_a?(Education::Program) %> + <div itemscope itemtype="https://schema.org/EducationalOccupationalCredential"> + <span itemprop="name"><%= current_extranet.about.name %></span> </div> - </address> - <% elsif current_extranet.about.is_a?(Education::Program) %> - <div class="col-md-6" itemscope itemtype="https://schema.org/EducationalOccupationalCredential"> - <span itemprop="name"><%= current_extranet.about.name %></span> - </div> - <% end %> + <% end %> + <p class="my-5"><%= t 'extranet.osuny_html' %></p> + </div> <nav class="text-md-end col-md-6"> <%= link_to t('terms_of_service'), diff --git a/config/locales/extranet/en.yml b/config/locales/extranet/en.yml index e7aa2085e8ce6b895865ec33b7a11097940bf6fd..d8597928cd519d3c9a1861a35759054d14defb92 100644 --- a/config/locales/extranet/en.yml +++ b/config/locales/extranet/en.yml @@ -18,6 +18,8 @@ en: menu: Menu organization: experiences: Alumni in this organization (%{count}) + osuny_html: + Crafted with <a href="https://www.osuny.org" target="_blank" rel="noreferer">Osuny</a> personal_data: title: My personal data updated: Your personal data has been updated! diff --git a/config/locales/extranet/fr.yml b/config/locales/extranet/fr.yml index 552f0a3ca3c782d423643aef319b029518d43c39..68565aeed8035006e10af8667782723de398ea6b 100644 --- a/config/locales/extranet/fr.yml +++ b/config/locales/extranet/fr.yml @@ -19,6 +19,8 @@ fr: menu: Menu organization: experiences: Alumni dans cette organisation (%{count}) + osuny_html: + Développé avec <a href="https://www.osuny.org" target="_blank" rel="noreferer">Osuny</a> personal_data: edit: Modifier title: Mes données personnelles