- fix

parent 4bd6901d
...@@ -28,6 +28,7 @@ $caseCount = CoContent::find()->where([ ...@@ -28,6 +28,7 @@ $caseCount = CoContent::find()->where([
<div> <div>
<div class="others_project"> <div class="others_project">
<span class="others_project__subtitle"><?=$model->lang->title?></span> <span class="others_project__subtitle"><?=$model->lang->title?></span>
<a href="<?=Url::to(['/' . $model->url])?>" class="others_project__subtitle_a"><?=$model->lang->title?></a>
<p class="others_project__txt"><?=$model->lang->text?></p> <p class="others_project__txt"><?=$model->lang->text?></p>
<a href="<?=Url::to(['/' . $model->url])?>" class="others_project__bt"><?=Yii::t('projects', 'See more')?></a> <a href="<?=Url::to(['/' . $model->url])?>" class="others_project__bt"><?=Yii::t('projects', 'See more')?></a>
<a href="<?=Url::to(['/portfolio'])?>" class="others_project__link"><?=Yii::t('projects', 'All projects')?> <?if($caseCount>20){?>(<?=$caseCount;?>)<?}?></a> <a href="<?=Url::to(['/portfolio'])?>" class="others_project__link"><?=Yii::t('projects', 'All projects')?> <?if($caseCount>20){?>(<?=$caseCount;?>)<?}?></a>
......
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