[DE] locked action for 'status' label
This commit is contained in:
parent
c1c6ce3061
commit
360cca6601
|
@ -71,7 +71,7 @@ define([
|
||||||
|
|
||||||
var templateRightBox = '<section>' +
|
var templateRightBox = '<section>' +
|
||||||
'<label id="rib-doc-name" class="status-label"></label>' +
|
'<label id="rib-doc-name" class="status-label"></label>' +
|
||||||
'<a href="#" id="rib-save-status" class="status-label">All changes saved</a>' +
|
'<a href="#" id="rib-save-status" class="status-label locked">All changes saved</a>' +
|
||||||
'<div class="elset">' +
|
'<div class="elset">' +
|
||||||
// '<span class="btn-slot text" id="slot-btn-users"></span>' +
|
// '<span class="btn-slot text" id="slot-btn-users"></span>' +
|
||||||
'<section id="tlb-box-users" class="box-cousers dropdown"">' +
|
'<section id="tlb-box-users" class="box-cousers dropdown"">' +
|
||||||
|
@ -241,9 +241,9 @@ define([
|
||||||
|
|
||||||
$saveStatus.attr('data-width', this.textSaveExpander);
|
$saveStatus.attr('data-width', this.textSaveExpander);
|
||||||
if ( appConfig.canUseHistory ) {
|
if ( appConfig.canUseHistory ) {
|
||||||
$saveStatus.on('click', function(e) {
|
// $saveStatus.on('click', function(e) {
|
||||||
me.fireEvent('history:show', ['header']);
|
// me.fireEvent('history:show', ['header']);
|
||||||
});
|
// });
|
||||||
} else {
|
} else {
|
||||||
$saveStatus.addClass('locked');
|
$saveStatus.addClass('locked');
|
||||||
}
|
}
|
||||||
|
|
|
@ -87,7 +87,7 @@
|
||||||
#rib-save-status {
|
#rib-save-status {
|
||||||
&.locked {
|
&.locked {
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
color: @gray-deep;
|
color: @gray-darker;
|
||||||
cursor: default;
|
cursor: default;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue