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

missing text

parent 477f89c2
No related branches found
No related tags found
No related merge requests found
......@@ -17,6 +17,7 @@ end
<p>
<% if value.blank? %>
<i class="fa fa-exclamation-circle text-danger"></i>
<%= t 'properties.text.missing' %>
<% else %>
<%= strip_tags(value).truncate(200).html_safe %>
<% end %>
......
......@@ -9,7 +9,6 @@
</div>
<div class="card-body">
<%= render 'admin/application/property/text', object: @post, property: :description_short %>
<%= render 'admin/application/property/text', object: @post, property: :text %>
<%= render 'admin/application/property/summernote_embeds', object: @post, property: :medias %>
</div>
</div>
......
......@@ -236,6 +236,9 @@ en:
desktop: Desktop
privacy_policy: Privacy policy
privacy_policy_url: https://osuny.org/politique-de-confidentialite
properties:
text:
missing: Missing text
quit: Quit
remove: Remove
reset: Reset
......
......@@ -239,6 +239,9 @@ fr:
desktop: Ordinateur de bureau
privacy_policy: Politique de confidentialité
privacy_policy_url: https://osuny.org/politique-de-confidentialite
properties:
text:
missing: Texte manquant
quit: Quitter
remove: Retirer
reset: Réinitialiser
......
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