show_alternatives.html.erb 527 B

123456789101112131415
  1. <main class="main main--error">
  2. <div class="container">
  3. <%= icon('mood-ok') %>
  4. <h1><%= zt "#{name} found" %></h1>
  5. <p><%= zt "But it's only available in these languages:" %></p>
  6. <ul>
  7. <% @alternative.translations.each do |translation| %>
  8. <li>
  9. <%= translation.kb_locale.system_locale.name %>:
  10. <%= link_to translation.title, custom_path_if_needed(url_for(locale: translation_locale_code(translation)), @knowledge_base) %>
  11. </li>
  12. <% end %>
  13. </ul>
  14. </div>
  15. </main>