poder ver la url de invitaciones públicas
This commit is contained in:
parent
569553c43c
commit
0fee18550b
3 changed files with 13 additions and 5 deletions
|
@ -18,11 +18,17 @@
|
|||
= t(".#{u.to_s}")
|
||||
.btn-group{role: 'group', 'aria-label': t('.actions')}
|
||||
- if @policy.invite?
|
||||
= link_to t('.invite.text'),
|
||||
= link_to t('.invite'),
|
||||
site_usuaries_invite_path(@site, invite_as: u.to_s),
|
||||
class: 'btn btn-success',
|
||||
data: { toggle: 'tooltip' },
|
||||
title: t('.help.invite', invite_as: u.to_s)
|
||||
- if policy(Collaboration.new(@site)).collaborate?
|
||||
= link_to t('.public_invite'),
|
||||
site_collaborate_path(@site),
|
||||
class: 'btn btn-info',
|
||||
data: { toggle: 'tooltip' },
|
||||
title: t('.help.public_invite')
|
||||
%p= t(".help.#{u.to_s}")
|
||||
%table.table.table-striped.table-condensed
|
||||
%tbody
|
||||
|
|
|
@ -277,6 +277,7 @@ en:
|
|||
demote: Removes privileges for this user
|
||||
promote: Gives privileges to this guest
|
||||
invite: 'Invites %{invite_as} to this site'
|
||||
public_invite: Copy this address and share it with everyone you want to accept public collaborations. These guests can only create and modify their own posts and any change needs to be approved.
|
||||
title: Users and Guests
|
||||
usuaries: Users
|
||||
invitades: Guests
|
||||
|
@ -291,8 +292,8 @@ en:
|
|||
promote:
|
||||
text: 'Convert to user'
|
||||
confirm: 'Convert to user? They will gain full access to self-manage this site.'
|
||||
invite:
|
||||
text: 'Invite'
|
||||
invite: 'Invite'
|
||||
public_invite: 'Open collaborations'
|
||||
invited: Awaiting confirmation
|
||||
invite:
|
||||
title: 'Invite %{invite_as}'
|
||||
|
|
|
@ -278,6 +278,7 @@ es:
|
|||
demote: Quita privilegios a este usuarie
|
||||
promote: Otorga privilegios a este invitade
|
||||
invite: 'Invita %{invite_as} a colaborar en este sitio'
|
||||
public_invite: Copia esta dirección para compartir con quien quieras y aceptar colaboraciones públicas. Les invitades solo podrán crear y modificar sus propios artículos y cualquier cambio deberá ser aprobado.
|
||||
title: Usuaries e invitades
|
||||
usuaries: Usuaries
|
||||
invitades: Invitades
|
||||
|
@ -292,9 +293,9 @@ es:
|
|||
promote:
|
||||
text: 'Convertir en usuarie'
|
||||
confirm: '¿Convertir en usuarie? Ganará acceso a la gestión completa del sitio.'
|
||||
invite:
|
||||
text: 'Invitar'
|
||||
invite: 'Invitar'
|
||||
invited: Esperando confirmación
|
||||
public_invite: 'Colaboración abierta'
|
||||
invite:
|
||||
title: 'Invitar %{invite_as}'
|
||||
help:
|
||||
|
|
Loading…
Reference in a new issue