Commit 37665559 authored by Tobias Munk's avatar Tobias Munk

added arrow icon for relation link in view

parent 7ec1bfc7
......@@ -138,7 +138,9 @@ EOS;
[
'format' => 'html',
'attribute' => '$column->name',
'value' => (\$model->{$relationGetter}->one() ? Html::a(\$model->{$relationGetter}->one()->{$title}, ['{$route}', {$paramArrayItems}]) : '<span class="label label-warning">?</span>'),
'value' => (\$model->{$relationGetter}->one() ?
Html::a('<i class="glyphicon glyphicon-circle-arrow-right"></i>'.\$model->{$relationGetter}->one()->{$title}, ['{$route}', {$paramArrayItems}]) :
'<span class="label label-warning">?</span>'),
]
EOS;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment