mirror of
https://github.com/moodle/moodle.git
synced 2025-05-30 20:39:25 +02:00
Merge branch 'wip-MDL-38887-m25' of git://github.com/marinaglancy/moodle
This commit is contained in:
commit
eeb47dbd30
File diff suppressed because one or more lines are too long
@ -363,10 +363,15 @@ BRANCH.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!link) {
|
if (!link) {
|
||||||
|
var branchspan = Y.Node.create('<span></span>');
|
||||||
if (branchicon) {
|
if (branchicon) {
|
||||||
branchp.appendChild(branchicon);
|
branchspan.appendChild(branchicon);
|
||||||
}
|
}
|
||||||
branchp.append(this.get('name'));
|
branchspan.append(this.get('name'));
|
||||||
|
if (this.get('hidden')) {
|
||||||
|
branchspan.addClass('dimmed_text');
|
||||||
|
}
|
||||||
|
branchp.appendChild(branchspan);
|
||||||
} else {
|
} else {
|
||||||
var branchlink = Y.Node.create('<a title="'+this.get('title')+'" href="'+link+'"></a>');
|
var branchlink = Y.Node.create('<a title="'+this.get('title')+'" href="'+link+'"></a>');
|
||||||
if (branchicon) {
|
if (branchicon) {
|
||||||
|
File diff suppressed because one or more lines are too long
@ -363,10 +363,15 @@ BRANCH.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!link) {
|
if (!link) {
|
||||||
|
var branchspan = Y.Node.create('<span></span>');
|
||||||
if (branchicon) {
|
if (branchicon) {
|
||||||
branchp.appendChild(branchicon);
|
branchspan.appendChild(branchicon);
|
||||||
}
|
}
|
||||||
branchp.append(this.get('name'));
|
branchspan.append(this.get('name'));
|
||||||
|
if (this.get('hidden')) {
|
||||||
|
branchspan.addClass('dimmed_text');
|
||||||
|
}
|
||||||
|
branchp.appendChild(branchspan);
|
||||||
} else {
|
} else {
|
||||||
var branchlink = Y.Node.create('<a title="'+this.get('title')+'" href="'+link+'"></a>');
|
var branchlink = Y.Node.create('<a title="'+this.get('title')+'" href="'+link+'"></a>');
|
||||||
if (branchicon) {
|
if (branchicon) {
|
||||||
|
@ -361,10 +361,15 @@ BRANCH.prototype = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (!link) {
|
if (!link) {
|
||||||
|
var branchspan = Y.Node.create('<span></span>');
|
||||||
if (branchicon) {
|
if (branchicon) {
|
||||||
branchp.appendChild(branchicon);
|
branchspan.appendChild(branchicon);
|
||||||
}
|
}
|
||||||
branchp.append(this.get('name'));
|
branchspan.append(this.get('name'));
|
||||||
|
if (this.get('hidden')) {
|
||||||
|
branchspan.addClass('dimmed_text');
|
||||||
|
}
|
||||||
|
branchp.appendChild(branchspan);
|
||||||
} else {
|
} else {
|
||||||
var branchlink = Y.Node.create('<a title="'+this.get('title')+'" href="'+link+'"></a>');
|
var branchlink = Y.Node.create('<a title="'+this.get('title')+'" href="'+link+'"></a>');
|
||||||
if (branchicon) {
|
if (branchicon) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user