Show Grafana version and build in Help menu

* establishes Help as the single place to look for the Grafana version
* version is passed as menu sub-title to side menu
* added rendering of sub-title, plus styles
* sub-title was used by profile menu (its value is the login string),
but was not shown; now showing this value on condition that login name
is different from user name
This commit is contained in:
David Kaltschmidt
2018-04-16 13:37:05 +02:00
parent ee303c03e9
commit 712212d6aa
3 changed files with 19 additions and 2 deletions

View File

@@ -70,9 +70,12 @@
{{::child.text}}
</a>
</li>
<li ng-if="item.subTitle" class="side-menu-subtitle">
<span class="sidemenu-item-text">{{::item.subTitle}}</span>
</li>
<li class="side-menu-header">
<span class="sidemenu-item-text">{{::item.text}}</span>
</li>
</ul>
</div>
</div>
</div>