Removed alt from achievements images
This commit is contained in:
parent
1d4cf536e5
commit
243a42fe5a
@ -103,7 +103,7 @@ $this->params['breadcrumbs'][] = $this->title;
|
||||
href="<? echo \yii\helpers\Url::to(['/achievements/achievements/view', 'id' => $achievement['achievement']->id]);?>"
|
||||
class="btn btn-default btn-sm">
|
||||
<?= Html::tag('img', null,
|
||||
['src' => $achievement['achievement']->img, 'height' => '50px', 'width' => '50px', 'alt'=> $achievement['achievement']->title]
|
||||
['src' => $achievement['achievement']->img, 'height' => '50px', 'width' => '50px']
|
||||
) ?>
|
||||
<?= $achievement['achievement']->title; ?>
|
||||
</a>
|
||||
|
@ -44,7 +44,7 @@ $this->title = 'Профиль';
|
||||
href="<? echo \yii\helpers\Url::to(['/achievements/achievements/view', 'id' => $achievement['achievement']->id]);?>"
|
||||
class="btn btn-default btn-sm">
|
||||
<?= Html::tag('img', null,
|
||||
['src' => $achievement['achievement']->img, 'height' => '50px','width' => '50px', 'alt'=> $achievement['achievement']->title]
|
||||
['src' => $achievement['achievement']->img, 'height' => '50px','width' => '50px']
|
||||
) ?>
|
||||
<?= $achievement['achievement']->title; ?>
|
||||
</a>
|
||||
|
Loading…
Reference in New Issue
Block a user