fixed labels
This commit is contained in:
parent
126a2bacb5
commit
73050858af
1 changed files with 2 additions and 1 deletions
|
|
@ -236,7 +236,8 @@ sub getTemplateVars {
|
||||||
|
|
||||||
### Download resolutions
|
### Download resolutions
|
||||||
for my $resolution ( @{ $self->getResolutions } ) {
|
for my $resolution ( @{ $self->getResolutions } ) {
|
||||||
( my $label ) = $resolution =~ /\.[^.]+$/; # Remove the trailing extention
|
my $label = $resolution;
|
||||||
|
$label =~ s/\.[^.]+$//;
|
||||||
my $downloadUrl = $self->getStorageLocation->getUrl( $resolution );
|
my $downloadUrl = $self->getStorageLocation->getUrl( $resolution );
|
||||||
push @{ $var->{ resolutions_loop } }, {
|
push @{ $var->{ resolutions_loop } }, {
|
||||||
resolution => $label,
|
resolution => $label,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue