5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-07-01 21:26:08 +00:00

ayuda para los posts

This commit is contained in:
f 2018-02-26 20:16:17 -03:00
parent e378ede510
commit 0c5c1cb62e
No known key found for this signature in database
GPG key ID: F3FDAB97B5F9F7E7
3 changed files with 6 additions and 3 deletions

View file

@ -30,13 +30,14 @@
%br
%small
- post.categories.each do |c|
= link_to c, site_posts_path(@site, category: c)
= link_to c, site_posts_path(@site, category: c),
data: { toggle: 'tooltip' }, title: t('help.category')
%td
- if post.translations
%small
- post.translations.each do |pt|
= link_to pt.title, site_post_path(@site, pt, lang: pt.lang)
%span.badge.badge-info= t("i18n.#{pt.lang}")
= link_to pt.title, site_post_path(@site, pt, lang: pt.lang),
data: { toggle: 'tooltip' }, title: t("i18n.#{pt.lang}")
%br
%td= post.date.strftime('%F')

View file

@ -3,6 +3,7 @@ en:
argument_error: 'Argument `%{argument}` must be an instance of %{class}'
unknown_locale: 'Unknown %{locale} locale'
help:
category: 'Category'
logout: 'Close the session'
breadcrumbs: "What you see up here are the bread crumbs for this
site. When you enter a new section, you will see the previous ones

View file

@ -3,6 +3,7 @@ es:
argument_error: 'El argumento `%{argument}` debe ser una instancia de %{class}'
unknown_locale: 'El idioma %{locale} es desconocido'
help:
category: 'Categoría'
logout: 'Cierra la sesión'
breadcrumbs: 'Lo que ves arriba son las migas de pan de este sitio.
Cuando ingreses a una sección, podrás volver a las secciones