Index: lams_central/web/css/_authoring_base.scss
===================================================================
diff -u -r7b0401fe54636737b72030c60fd9292956e79487 -re164e44c32f289241cf208fc9f8ab4c73a61008d
--- lams_central/web/css/_authoring_base.scss (.../_authoring_base.scss) (revision 7b0401fe54636737b72030c60fd9292956e79487)
+++ lams_central/web/css/_authoring_base.scss (.../_authoring_base.scss) (revision e164e44c32f289241cf208fc9f8ab4c73a61008d)
@@ -230,8 +230,8 @@
overflow: auto;
}
-div#ldStoreDialogContents div#ldStoreDialogTree .readOnly {
- font-style: italic;
+div#ldStoreDialogContents div#ldStoreDialogTree .ygtvhtml .fa-lock {
+ color: red;
}
div#ldStoreDialogContents #ldStoreDialogAccessCell {
Index: lams_central/web/includes/javascript/authoring/authoringGeneral.js
===================================================================
diff -u -r7b0401fe54636737b72030c60fd9292956e79487 -re164e44c32f289241cf208fc9f8ab4c73a61008d
--- lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision 7b0401fe54636737b72030c60fd9292956e79487)
+++ lams_central/web/includes/javascript/authoring/authoringGeneral.js (.../authoringGeneral.js) (revision e164e44c32f289241cf208fc9f8ab4c73a61008d)
@@ -953,7 +953,7 @@
if (childNodeData) {
$.each(childNodeData, function(){
// create and add a leaf
- new YAHOO.widget.TextNode(this, node);
+ new YAHOO.widget.HTMLNode(this, node);
});
}
Index: lams_central/web/includes/javascript/authoring/authoringMenu.js
===================================================================
diff -u -r7b0401fe54636737b72030c60fd9292956e79487 -re164e44c32f289241cf208fc9f8ab4c73a61008d
--- lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision 7b0401fe54636737b72030c60fd9292956e79487)
+++ lams_central/web/includes/javascript/authoring/authoringMenu.js (.../authoringMenu.js) (revision e164e44c32f289241cf208fc9f8ab4c73a61008d)
@@ -358,30 +358,28 @@
$.each(response.folders, function(index){
// folderID == -2 is courses folder
var canSave = this.folderID > 0 && !this.isRunSequencesFolder;
- result.push({'type' : 'text',
- 'label' : this.isRunSequencesFolder ?
- LABELS.RUN_SEQUENCES_FOLDER : this.name,
+ result.push({'type' : 'html',
+ 'html' : (this.isRunSequencesFolder ? LABELS.RUN_SEQUENCES_FOLDER : this.name)
+ + (canSave ? '' : ' '),
'folderID' : this.folderID,
'isRunSequenceFolder' : this.isRunSequencesFolder,
// either take parent's setting or take 2nd (courses) and 3rd (public) folder
'canHaveReadOnly' : folderID ? canHaveReadOnly : index > 0,
'canSave' : canSave,
- 'canModify' : this.canModify && !this.isRunSequenceFolder,
- 'labelStyle' : 'ygtvlabel' + (!canSave ? ' readOnly' : '')
- });
+ 'canModify' : this.canModify && !this.isRunSequenceFolder
+ });
});
}
if (response.learningDesigns) {
$.each(response.learningDesigns, function(){
var canModify = canSave && this.canModify;
- result.push({'type' : 'text',
- 'label' : this.name,
+ result.push({'type' : 'html',
+ 'html' : this.name + (this.readOnly || !canModify ? ' ' : ''),
'isLeaf' : true,
'learningDesignId' : this.learningDesignId,
'canHaveReadOnly' : canHaveReadOnly,
'canModify' : canModify,
- 'readOnly' : this.readOnly,
- 'labelStyle' : 'ygtvlabel' + (this.readOnly || !canModify ? ' readOnly' : '')
+ 'readOnly' : this.readOnly
});
});
}