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

icon fix

parent 248d08f8
No related branches found
No related tags found
No related merge requests found
......@@ -10,6 +10,9 @@ class Icon
COMMUNICATION_WEBSITE_PAGES = 'sitemap'
COMMUNICATION_WEBSITE_MENUS = 'bars'
COMMUNICATION_WEBSITE_ANALYTICS = 'chart-pie'
COMMUNICATION_WEBSITE_PREVIEW_MOBILE = 'mobile-alt'
COMMUNICATION_WEBSITE_PREVIEW_TABLET = 'tablet-alt'
COMMUNICATION_WEBSITE_PREVIEW_DESKTOP = 'laptop'
EDUCATION_DIPLOMA = 'graduation-cap'
EDUCATION_PROGRAM = 'chalkboard-teacher'
......
......@@ -8,15 +8,15 @@
<h5 class="modal-title h4"><%= t 'preview.title' %></h5>
<div class="btn-group m-auto" role="group" aria-label="Basic example">
<button type="button" class="btn btn-primary preview__button" data-mode="mobile">
<i class="fas fa-mobile-alt"></i>
<i class="fas fa-<%= Icon::COMMUNICATION_WEBSITE_PREVIEW_MOBILE %>"></i>
<%= t 'preview.mobile' %>
</button>
<button type="button" class="btn btn-light preview__button" data-mode="tablet">
<i class="fas fa-tablet-alt"></i>
<i class="fas fa-<%= Icon::COMMUNICATION_WEBSITE_PREVIEW_TABLET %>"></i>
<%= t 'preview.tablet' %>
</button>
<button type="button" class="btn btn-light preview__button" data-mode="desktop">
<i class="fas fa-desktop"></i>
<i class="fas fa-<%= Icon::COMMUNICATION_WEBSITE_PREVIEW_DESKTOP %>"></i>
<%= t 'preview.desktop' %>
</button>
</div>
......
......@@ -236,7 +236,7 @@ fr:
title: Prévisualisation
mobile: Mobile
tablet: Tablette
desktop: Ordinateur de bureau
desktop: Ordinateur
privacy_policy: Politique de confidentialité
privacy_policy_url: https://osuny.org/politique-de-confidentialite
properties:
......
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