mirror of
https://github.com/OpenNebula/one.git
synced 2025-03-22 18:50:08 +03:00
(cherry picked from commit cf305de3ae856597818921b33fe1ecfc2bd32c9c)
This commit is contained in:
parent
2ea4b1f767
commit
e44f79a092
@ -224,10 +224,15 @@ define(function(require) {
|
||||
if (tabInfo.icon) {
|
||||
title += "<i class=\"fas fa-lg fa-fw " + tabInfo.icon + "\"></i> ";
|
||||
}
|
||||
|
||||
title += tabInfo.title;
|
||||
|
||||
if(title !== "undefined"){
|
||||
if (parent !== "") {
|
||||
liItem = "<li id=\"li_" + tabName + "\" class=\"" + tabClass + "\">" + "<a href=\"#\">" + title + "</a>" + "</li>";
|
||||
liItem = "<li id=\"li_" + tabName + "\" class=\"" + tabClass + "\">" +
|
||||
"<a title=\"" + tabInfo.title + "\" href=\"#\">" + title + "</a>" +
|
||||
"</li>";
|
||||
|
||||
if ($("#menu ul#navigation #li_" + parent + " .menu").length > 0) {
|
||||
$("#menu ul#navigation #li_" + parent + " .menu").append(liItem);
|
||||
} else {
|
||||
|
@ -38,6 +38,8 @@
|
||||
&.subTab > * {
|
||||
padding: 0.5rem 1rem;
|
||||
color: $dark-gray;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
&.navigation-active-li:not(.topTab) > a {
|
||||
|
Loading…
x
Reference in New Issue
Block a user