Commit cfa555b5 by Tobias Skarhed Committed by Torkel Ödegaard

Add folder name to dashboard title (#12545)

* Add folder name to dashboard title. No display on medium displays and below

* Compare folderId instead

* folderId bigger than 0
parent 4d2dd220
......@@ -3,7 +3,7 @@
<div>
<a class="navbar-page-btn" ng-click="ctrl.showSearch()">
<i class="gicon gicon-dashboard"></i>
{{ctrl.dashboard.title}}
<span ng-if="ctrl.dashboard.meta.folderId > 0" class="navbar-page-btn--folder">{{ctrl.dashboard.meta.folderTitle}} / </span>{{ctrl.dashboard.title}}
<i class="fa fa-caret-down"></i>
</a>
</div>
......
......@@ -85,6 +85,14 @@
// icon hidden on smaller screens
display: none;
}
&--folder {
color: $text-color-weak;
@include media-breakpoint-down(md) {
display: none;
}
}
}
.navbar-buttons {
......
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