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

footer

parent bcf6fcf0
No related branches found
No related tags found
No related merge requests found
<footer> <footer class="text-center small">
<div class="container small"> <div class="mb-5">
<%= current_university %> <%= image_tag 'osuny-black.svg', width: 80 %>
<p>Is University? <%= is_university? %></p>
<p>Is website? <%= is_website? %></p>
</div> </div>
<%= current_university %> |
<%= link_to t('terms_of_service'), '' %> |
<%= link_to t('privacy_policy'), '' %>
</footer> </footer>
...@@ -15,7 +15,13 @@ ...@@ -15,7 +15,13 @@
<div class="row"> <div class="row">
<div class="col-sm-10 mx-auto"> <div class="col-sm-10 mx-auto">
<h1 class="my-5 py-5 text-center"> <h1 class="my-5 py-5 text-center">
<%= link_to current_university, root_path %> <%= link_to root_path do %>
<% if current_university.logo.attached? %>
<%= image_tag current_university.logo, width: 200, alt: current_university.to_s %>
<% else %>
<%= current_university %>
<% end %>
<% end %>
</h1> </h1>
<div class="card"> <div class="card">
<div class="card-body text-start"> <div class="card-body text-start">
...@@ -31,6 +37,7 @@ ...@@ -31,6 +37,7 @@
</div> </div>
</div> </div>
</div> </div>
<%= render 'footer' %>
<%= render 'bugsnag' %> <%= render 'bugsnag' %>
</body> </body>
</html> </html>
...@@ -69,6 +69,7 @@ en: ...@@ -69,6 +69,7 @@ en:
not_registered_yet_details: Register if you have no account yet. not_registered_yet_details: Register if you have no account yet.
subtitle: Sign in to your account to continue subtitle: Sign in to your account to continue
please-confirm: Are you sure? please-confirm: Are you sure?
privacy_policy: Privacy policy
simple_form: simple_form:
error_notification: error_notification:
default_message: "Please review the problems below:" default_message: "Please review the problems below:"
...@@ -78,5 +79,6 @@ en: ...@@ -78,5 +79,6 @@ en:
simple_form_password_with_hints: simple_form_password_with_hints:
test_chars: "%{min_length} characters min." test_chars: "%{min_length} characters min."
show: Show show: Show
terms_of_service: Terms of service
true: Yes true: Yes
validate: Validate validate: Validate
...@@ -69,6 +69,7 @@ fr: ...@@ -69,6 +69,7 @@ fr:
not_registered_yet_details: Inscrivez-vous si vous n'avez pas encore de compte. not_registered_yet_details: Inscrivez-vous si vous n'avez pas encore de compte.
subtitle: Vous devez être authentifié pour continuer subtitle: Vous devez être authentifié pour continuer
please-confirm: Est-ce que vous confirmez ? please-confirm: Est-ce que vous confirmez ?
privacy_policy: Politique de confidentialité
simple_form: simple_form:
error_notification: error_notification:
default_message: "Les erreurs ci-dessous empêchent la validation :" default_message: "Les erreurs ci-dessous empêchent la validation :"
...@@ -78,5 +79,6 @@ fr: ...@@ -78,5 +79,6 @@ fr:
simple_form_password_with_hints: simple_form_password_with_hints:
test_chars: "%{min_length} caractères min." test_chars: "%{min_length} caractères min."
show: Voir show: Voir
terms_of_service: Conditions d'utilisation
true: Oui true: Oui
validate: Valider validate: Valider
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