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

extranet footer

parent 52d1d91d
No related branches found
No related tags found
No related merge requests found
...@@ -4,14 +4,20 @@ ...@@ -4,14 +4,20 @@
<%= render 'logo' %> <%= render 'logo' %>
</div> </div>
<div class="row justify-space-between"> <div class="row justify-space-between">
<address class="col-md-6" itemscope itemtype="https://schema.org/CollegeOrUniversity"> <% if current_extranet.about.is_a?(Education::School) %>
<span itemprop="name">Institut de Journalisme Bordeaux Aquitaine</span> <address class="col-md-6" itemscope itemtype="https://schema.org/CollegeOrUniversity">
<div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress"> <span itemprop="name"><%= current_extranet.about.name %></span>
<span itemprop="streetAddress">1 rue Jacques Ellul</span><br> <div itemprop="address" itemscope itemtype="https://schema.org/PostalAddress">
<span itemprop="postalCode">33000</span> <span itemprop="streetAddress"><%= current_extranet.about.address %></span><br>
<span itemprop="addressLocality">Bordeaux</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 class="col-md-6" itemscope itemtype="https://schema.org/EducationalOccupationalCredential">
<span itemprop="name"><%= current_extranet.about.name %></span>
</div> </div>
</address> <% end %>
<nav class="text-md-end col-md-6"> <nav class="text-md-end col-md-6">
<%= link_to t('terms_of_service'), <%= link_to t('terms_of_service'),
......
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