[DE mobile] [PE mobile] [SSE mobile] Display Collaboration in view mode
This commit is contained in:
parent
2fc00165c9
commit
739bfb5471
|
@ -253,9 +253,6 @@ define([
|
||||||
if(_stateDisplayMode == "Final" || _stateDisplayMode == "Original") {
|
if(_stateDisplayMode == "Final" || _stateDisplayMode == "Original") {
|
||||||
$('#settings-document').addClass('disabled');
|
$('#settings-document').addClass('disabled');
|
||||||
}
|
}
|
||||||
if(!_canReview) {
|
|
||||||
$('#settings-collaboration').hide();
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (!phone) { %>
|
<% if (!phone) { %>
|
||||||
<a href="#" id="toolbar-collaboration" class="link icon-only" style="display: none;">
|
<a href="#" id="toolbar-collaboration" class="link icon-only">
|
||||||
<i class="icon icon-collaboration"></i>
|
<i class="icon icon-collaboration"></i>
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -101,7 +101,7 @@ define([
|
||||||
|
|
||||||
setMode: function (mode) {
|
setMode: function (mode) {
|
||||||
if (mode.isEdit) {
|
if (mode.isEdit) {
|
||||||
$('#toolbar-edit, #toolbar-add, #toolbar-undo, #toolbar-redo, #toolbar-collaboration').show();
|
$('#toolbar-edit, #toolbar-add, #toolbar-undo, #toolbar-redo').show();
|
||||||
} else if (mode.canEdit && mode.canRequestEditRights){
|
} else if (mode.canEdit && mode.canRequestEditRights){
|
||||||
$('#toolbar-edit-document').show();
|
$('#toolbar-edit-document').show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (!phone) { %>
|
<% if (!phone) { %>
|
||||||
<a href="#" id="toolbar-collaboration" class="link icon-only" style="display: none;">
|
<a href="#" id="toolbar-collaboration" class="link icon-only">
|
||||||
<i class="icon icon-collaboration"></i>
|
<i class="icon icon-collaboration"></i>
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -102,7 +102,7 @@ define([
|
||||||
|
|
||||||
setMode: function (mode) {
|
setMode: function (mode) {
|
||||||
if (mode.isEdit) {
|
if (mode.isEdit) {
|
||||||
$('#toolbar-edit, #toolbar-add, #toolbar-undo, #toolbar-redo, #toolbar-collaboration').show();
|
$('#toolbar-edit, #toolbar-add, #toolbar-undo, #toolbar-redo').show();
|
||||||
} else if (mode.canEdit && mode.canRequestEditRights){
|
} else if (mode.canEdit && mode.canRequestEditRights){
|
||||||
$('#toolbar-edit-document').show();
|
$('#toolbar-edit-document').show();
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,7 +43,7 @@
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
<% if (!phone) { %>
|
<% if (!phone) { %>
|
||||||
<a href="#" id="toolbar-collaboration" class="link icon-only" style="display: none;">
|
<a href="#" id="toolbar-collaboration" class="link icon-only">
|
||||||
<i class="icon icon-collaboration"></i>
|
<i class="icon icon-collaboration"></i>
|
||||||
</a>
|
</a>
|
||||||
<% } %>
|
<% } %>
|
||||||
|
|
|
@ -94,7 +94,7 @@ define([
|
||||||
|
|
||||||
setMode: function (mode) {
|
setMode: function (mode) {
|
||||||
if (mode.isEdit) {
|
if (mode.isEdit) {
|
||||||
$('#toolbar-edit, #toolbar-add, #toolbar-undo, #toolbar-redo, #toolbar-collaboration').show();
|
$('#toolbar-edit, #toolbar-add, #toolbar-undo, #toolbar-redo').show();
|
||||||
} else if (mode.canEdit && mode.canRequestEditRights){
|
} else if (mode.canEdit && mode.canRequestEditRights){
|
||||||
$('#toolbar-edit-document').show();
|
$('#toolbar-edit-document').show();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue