@@ 26-31 (lines=6) @@ | ||
23 | 'url' => ['index'], |
|
24 | ]; |
|
25 | ||
26 | if ($media) { |
|
27 | $this->params['breadcrumbs'][] = $media->id; |
|
28 | $this->title = Yii::t('writesdown', 'Media {media} Comments', [ |
|
29 | 'media' => $media->id, |
|
30 | ]); |
|
31 | } |
|
32 | ||
33 | $this->params['breadcrumbs'][] = Yii::t('writesdown', 'Comments'); |
|
34 | ?> |
@@ 24-30 (lines=7) @@ | ||
21 | $this->title = Yii::t('writesdown', '{postType} Comments', ['postType' => $postType->singular_name]); |
|
22 | $this->params['breadcrumbs'][] = ['label' => $postType->singular_name, 'url' => ['index', 'posttype' => $postType->id]]; |
|
23 | ||
24 | if ($post) { |
|
25 | $this->params['breadcrumbs'][] = $post->id; |
|
26 | $this->title = Yii::t('writesdown', '{postType} {post} Comments', [ |
|
27 | 'postType' => $postType->singular_name, |
|
28 | 'post' => $post->id, |
|
29 | ]); |
|
30 | } |
|
31 | ||
32 | $this->params['breadcrumbs'][] = Yii::t('writesdown', 'Comments'); |
|
33 | ?> |