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

better loca

parent ce27b2bc
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,9 @@
<%= link_to @website.domain_url, @website.domain_url, target: :_blank %><br>
<% end %>
<%= I18n.t("activerecord.attributes.communication/website.about_#{@website.about_type}") %>
(<%= link_to @website.about, [:admin, @website.about] unless @website.about.nil? %>)
<% if @website.about %>
(<%= link_to @website.about, [:admin, @website.about] unless @website.about.nil? %>)
<% end %>
<% end %>
<div class="card mt-5">
......
......@@ -38,7 +38,7 @@ en:
name: Name
domain: Domain
about_type: About
about_: Nothing (independent website)
about_: Independent website (no specific subject)
about_Research::Journal: Journal website
about_Education::School: School website
communication/website/imported/medium:
......
......@@ -38,7 +38,7 @@ fr:
name: Nom
domain: Domaine
about_type: Sujet du site
about_: Aucun sujet (site indépendant)
about_: Site indépendant (aucun sujet)
about_Research::Journal: Site de revue scientifique
about_Education::School: Site d'école
communication/website/imported/medium:
......
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