forked from 0x2620/pandora
only add rights button if we have a rights page
This commit is contained in:
parent
166b566fde
commit
894e5c5064
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ pandora.renderRightsLevel = function(that, $rightsLevel, data, isMixed, isMultip
|
||||||
.data({OxColor: $element.data('OxColor')})
|
.data({OxColor: $element.data('OxColor')})
|
||||||
.appendTo($line);
|
.appendTo($line);
|
||||||
});
|
});
|
||||||
if (!canEdit) {
|
if (!canEdit && Ox.getObjectById(pandora.site.sitePages, 'rights')) {
|
||||||
Ox.Button({
|
Ox.Button({
|
||||||
title: Ox._('Help'),
|
title: Ox._('Help'),
|
||||||
tooltip: Ox._('About Rights'),
|
tooltip: Ox._('About Rights'),
|
||||||
|
|
Loading…
Reference in a new issue