1 package SL::Layout::ActionBar::Link;
4 use parent qw(SL::Layout::ActionBar::Action);
7 my ($class, $data) = @_;
9 my ($text, %params) = @$data;
11 return if exists($params{only_if}) && !$params{only_if};
12 return if exists($params{not_if}) && $params{not_if};
13 return SL::Layout::ActionBar::Link->new(text => $text, params => \%params);
19 return $self->p->html_tag(
22 class => 'layout-actionbar-action layout-actionbar-link',