diff --git a/app/models/label/base.rb b/app/models/label/base.rb index bf61696b5..28a83b740 100644 --- a/app/models/label/base.rb +++ b/app/models/label/base.rb @@ -126,10 +126,6 @@ def to_literal end def to_s - if (language.presence || 'none') != I18n.locale.to_s - value.to_s + " [#{I18n.t('txt.common.translation_missing_for')} '#{I18n.locale}']" - else value.to_s - end end end diff --git a/app/views/partials/concept/_edit_link_base.html.erb b/app/views/partials/concept/_edit_link_base.html.erb index 25fd446eb..99ecbfb1c 100644 --- a/app/views/partials/concept/_edit_link_base.html.erb +++ b/app/views/partials/concept/_edit_link_base.html.erb @@ -1,5 +1,5 @@ -<% label = item.pref_label.to_s.presence || ":#{item.origin} [#{t("txt.common.translation_missing_for")} #{[I18n.locale.to_s, Iqvoc::Concept.pref_labeling_languages.first.to_s].uniq.join(", ")}]" %> +<% label = item.pref_label.to_s.presence || ":#{item.origin}" %> <%= link_to truncate(label, :length => 45), (item.published? ? concept_path(:id => item.origin) : concept_path(:published => 0, :id => item.origin)) %> -<%- if (item.additional_info) -%> +<%- if item.additional_info -%> (<%= item.additional_info %>) <%- end -%>