if(personas.length > 0 || invites.length > 0) { ?>
personas.each(function(p) { ?>
if(!p || !p.privs || !p.privs.p) { return; } ?>
-
=p.email?>
if(p.privs && p.privs.i) { ?>
- invite pending
} ?>
(has =(p.privs.p == 2 ? 'write' : 'read')?> permissions)
}); ?>
invites.each(function(i) { ?>
-
=i.email?>
- invite pending
(has =(i.p == 2 ? 'write' : 'read')?> permissions)
}); ?>
} else { ?>
You have not shared this board with anyone.
} ?>