Skip to content

Commit

Permalink
fix value template
Browse files Browse the repository at this point in the history
  • Loading branch information
stepapo committed May 19, 2021
1 parent bcb4e09 commit 848ba9d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/UI/Value/value.latte
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{templateType Stepapo\Dataset\UI\Value\ValueTemplate}

<a n:tag-if="$column->link" href="{plink $column->link->destination ...$linkArgs}"><span class="nobreak">{if $value !== null}{$column->prepend}{$column->latteFilter ? ($this->filters->{$column->latteFilter->name})($value, ...$column->latteFilter->args) : $value}{$column->append}{/}</span></a>
<a n:tag-if="$column->link" href="{plink $column->link->destination ...array_values($linkArgs)}"><span class="nobreak">{if $value !== null}{$column->prepend}{$column->latteFilter ? ($this->filters->{$column->latteFilter->name})($value, ...$column->latteFilter->args) : $value}{$column->append}{/}</span></a>

0 comments on commit 848ba9d

Please sign in to comment.