-
-
Notifications
You must be signed in to change notification settings - Fork 150
Open
Labels
type:enhancementEnhancementEnhancement
Description
It would be nice if the debug toolbar also displayed info about current theme so developers know where to search for view files.
It should be enough to update file yii2-debug\src\views\default\panels\router\summary.php with this snippet:
<div class="yii-debug-toolbar__block">
<a href="<?= $panel->getUrl() ?>" title="Action: <?= Html::encode($panel->data['action']) ?>">
Theme
<span class="yii-debug-toolbar__label">
<?php echo str_ireplace(yii\helpers\Url::base(), '', Yii::$app->getView()->theme->baseUrl ?? "No theme"); ?>
</span>
</a>
</div>
PS: Also a list of all rendered views would be nice. So developer knows which views were involved and where to find them..
art40100, Juanrii and monta990
Metadata
Metadata
Assignees
Labels
type:enhancementEnhancementEnhancement