Revision 47a61292
Von Moritz Bunkus vor etwa 9 Jahren hinzugefügt
SL/Controller/SellPriceInformation.pm | ||
---|---|---|
|
||
push @texts, [ $::locale->text('Type'), $::locale->text($filter->{order}{type}) ] if $filter->{order}{type};
|
||
push @texts, [ $::locale->text('Sort By'), $column_defs->{$self->{sort_by}}{text} ] if $column_defs->{$self->{sort_by}}{text};
|
||
push @texts, [ $::locale->text('Page'), $::locale->text($self->{pages}{cur}) ] if $self->{pages}{cur} != 1;
|
||
push @texts, [ $::locale->text('Page'), $::locale->text($self->{pages}{cur}) ] if $self->{pages}{cur} > 1;
|
||
|
||
return join '; ', map { "$_->[0]: $_->[1]" } @texts;
|
||
}
|
Auch abrufbar als: Unified diff
Verkaufspreisinformationen: »Seite:« nicht anzeigen, wenn es nur eine gibt
In dem Fall ist $self->{pages}{cur} 0 oder undef und nicht 1.