5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 04:41:43 +00:00

esconder las traducciones por ahora

This commit is contained in:
f 2019-09-19 14:56:07 -03:00
parent ece8423ba5
commit 93e130a58a
No known key found for this signature in database
GPG key ID: 2AE5A13E321F953D

View file

@ -40,12 +40,6 @@
type: 'success',
link: site_path(site),
text: t('sites.posts')
- if policy(SiteTranslation.new(site)).edit?
= render 'layouts/btn_with_tooltip',
tooltip: t('help.sites.edit_translations'),
text: t('i18n.edit'),
type: 'info',
link: site_i18n_edit_path(site)
- if policy(SiteUsuarie.new(site, current_usuarie)).index?
= render 'layouts/btn_with_tooltip',
tooltip: t('usuaries.index.help.self'),