if(invites.length > 0 || messages.length > 0) { ?>
if(num_personas > 0) { ?>
messages.each(function(msg) { ?>
-
=msg.subject?>
}); ?>
invites.each(function(inv) { ?>
inv.data || (inv.data = {}); ?>
-
if(inv.data.used_secret) { ?>
?>)
} else { ?>
?>)
} ?>
if(inv.from) { ?>
=inv.from.email?>
invited you to join a
=(inv.type != 'b' ? 'other' : 'board')?>
} else { ?>
=(inv.type != 'b' ? 'Other' : 'Board')?> invite
=inv.code?>
} ?>
if(inv.data.used_secret) { ?>
(locked invite, answer the question to unlock)
} ?>
}); ?>
} else { ?>
Add a persona
You have =invites.length?> invite(s), but you cannot accept them without a persona.
} ?>
} else { ?>
You have no pending invites.
} ?>