5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-06-26 15:26:07 +00:00

no mostrar traducciones si hay un solo idioma

This commit is contained in:
f 2020-05-26 16:47:16 -03:00
parent a9ee06f1a3
commit 6c33569f12

View file

@ -36,6 +36,7 @@
-#
TODO: Pensar una interfaz mejor para cuando haya más de tres
idiomas
- unless @site.locales.length == 1
.locales
- @site.locales.each do |locale|
= link_to t("locales.#{locale}.name"), site_posts_path(@site, locale: locale),