Revision 5a55ac86
Von Sven Schöling vor etwa 7 Jahren hinzugefügt
SL/Layout/ActionBar/Link.pm | ||
---|---|---|
3 | 3 |
use strict; |
4 | 4 |
use parent qw(SL::Layout::ActionBar::Action); |
5 | 5 |
|
6 |
use SL::Presenter::Tag qw(html_tag); |
|
7 |
|
|
6 | 8 |
sub from_params { |
7 | 9 |
my ($class, $data) = @_; |
8 | 10 |
|
... | ... | |
16 | 18 |
sub render { |
17 | 19 |
my ($self) = @_; |
18 | 20 |
|
19 |
return $self->p->html_tag(
|
|
21 |
html_tag( |
|
20 | 22 |
'div', $self->text, |
21 | 23 |
id => $self->id, |
22 | 24 |
class => 'layout-actionbar-action layout-actionbar-link', |
Auch abrufbar als: Unified diff
Presenter: Neue Struktur im Layout umgesetzt