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

button

parent 950da2c2
No related branches found
No related tags found
No related merge requests found
......@@ -87,10 +87,13 @@
<%= @page.text.to_s %>
<% end %>
<% content_for :action_bar_right do %>
<%= link_to 'static',
<% content_for :action_bar_left do %>
<%= link_to t('static'),
static_admin_communication_website_page_path(@page),
class: button_classes if can? :static, @page %>
class: button_classes('btn-light') if can? :static, @page %>
<% end %>
<% content_for :action_bar_right do %>
<%= preview_link %>
<%= edit_link @page %>
<% end %>
......@@ -147,6 +147,7 @@ en:
test_chars: "%{min_length} characters min."
show: Show
slug_error: can only contain downcase letters, numbers, and dashes.
static: Static file
terms_of_service: Terms of service
terms_of_service_url: https://osuny.org/conditions-d-utilisation
time:
......
......@@ -147,6 +147,7 @@ fr:
test_chars: "%{min_length} caractères min."
show: Voir
slug_error: ne peut contenir que des lettres minuscules, des chiffres et des traits d'union.
static: Fichier statique
terms_of_service: Conditions d'utilisation
terms_of_service_url: https://osuny.org/conditions-d-utilisation
time:
......
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