treebird/perl/notifications.pm
nekobit 9069a17a41 Statuses
FossilOrigin-Name: cff813d2d65c0ce99156358724ecff352e0c5a25feb605f2a46f48b0869cf80b
2022-07-28 05:14:24 +00:00

20 lines
350 B
Perl

package notifications;
use strict;
use warnings;
use Exporter 'import';
our @EXPORT = qw( notification_compact );
use template_helpers 'to_template';
sub notification_compact
{
my ($ssn, $data, $notif) = @_;
my %vars = (
prefix => $ssn,
notif => $notif
);
to_template(\%vars, \$data->{'notif_compact.tt'});
}