Projekt

Allgemein

Profil

« Zurück | Weiter » 

Revision 412f76c9

Von Moritz Bunkus vor etwa 7 Jahren hinzugefügt

  • ID 412f76c91f08e0f828f9f070abd883b1af7022ae
  • Vorgänger ffb2fb4c
  • Nachfolger cf7153b0

ActionBar: normale Link-Elemente nun doch als DIVs rendern & als Buttons stylen

Unterschiede anzeigen:

SL/Layout/ActionBar/Link.pm
14 14
  my ($self) = @_;
15 15

  
16 16
  return $self->p->html_tag(
17
    'a', $self->text,
18
    %{ $self->params // {} },
17
    'div', $self->text,
19 18
    id    => $self->id,
20
    class => 'layout-actionbar-link',
19
    class => 'layout-actionbar-action layout-actionbar-link',
21 20
  );
22 21
}
23 22

  

Auch abrufbar als: Unified diff