diff --git a/frontend/themes/material/modules/challenge/views/default/view.php b/frontend/themes/material/modules/challenge/views/default/view.php index b4e470978..98c4bf986 100644 --- a/frontend/themes/material/modules/challenge/views/default/view.php +++ b/frontend/themes/material/modules/challenge/views/default/view.php @@ -24,7 +24,7 @@

name.' (ID#'.$model->id.')'?> completed):?> \Yii::t('app','Hey check this out, I completed the challenge ').Html::encode($model->name)]);?>\Yii::t('app','I currently grinding the challenge ').Html::encode($model->name)]);?>

category);?> / difficulty)?> / points));?>pts

- filename) !== '' ? '

'.\Yii::t('app','Challenge file:').' '.Html::a($model->filename, [\Yii::$app->sys->challenge_root.$model->filename], ['data-pjax'=>"0"]).'

' : ''?> + filename) !== '' ? '

'.\Yii::t('app','Challenge file:').' '.Html::a($model->filename, [Yii::getAlias(\Yii::$app->sys->challenge_root).'/'.$model->filename], ['data-pjax'=>"0"]).'

' : ''?> completed):?>
$solver,'id'=>$model->id,'action'=>['/game/default/rate-solver','id'=>$model->id]]);?>