Skip to content

Commit

Permalink
Reduce Smarty warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
asmecher committed May 30, 2024
1 parent 85812a2 commit 552cac9
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion templates/controllers/grid/grid.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
{if $column->hasFlag('alignment')}
{assign var=alignment value=$column->getFlag('alignment')}
{else}
{assign var=alignment value=\PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT}
{assign var=alignment value=PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT}
{/if}
<th scope="col" style="text-align: {$alignment};">
{$column->getLocalizedTitle()}
Expand Down
2 changes: 1 addition & 1 deletion templates/controllers/listbuilder/listbuilderTable.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
{if $column->hasFlag('alignment')}
{assign var=alignment value=$column->getFlag('alignment')}
{else}
{assign var=alignment value=\PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT}
{assign var=alignment value=PKP\controllers\grid\GridColumn::COLUMN_ALIGNMENT_LEFT}
{/if}
<th scope="col" style="text-align: {$alignment};">
{$column->getLocalizedTitle()|escape}
Expand Down

0 comments on commit 552cac9

Please sign in to comment.