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

extranet credit

parent 21f3b55b
No related branches found
No related tags found
No related merge requests found
......@@ -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'),
......
......@@ -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!
......@@ -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
......
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