Merge pull request #2819 from FinnStutzenstein/Issue2661
disable edit button if it is not possible to edit
This commit is contained in:
commit
da66db7bec
@ -133,8 +133,9 @@
|
|||||||
<div os-perms="core.can_manage_projector" class="nobr">
|
<div os-perms="core.can_manage_projector" class="nobr">
|
||||||
<!-- edit -->
|
<!-- edit -->
|
||||||
<a ng-click="editCurrentSlide(projector)"
|
<a ng-click="editCurrentSlide(projector)"
|
||||||
class="btn btn-default btn-sm"
|
ng-disabled="!projector.getStateForCurrentSlide()"
|
||||||
title="{{ 'Edit current slide' | translate}}">
|
class="btn btn-default btn-sm"
|
||||||
|
title="{{ 'Edit current slide' | translate}}">
|
||||||
<i class="fa fa-pencil"></i>
|
<i class="fa fa-pencil"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -86,8 +86,9 @@
|
|||||||
<div os-perms="core.can_manage_projector" class="nobr">
|
<div os-perms="core.can_manage_projector" class="nobr">
|
||||||
<!-- edit -->
|
<!-- edit -->
|
||||||
<a ng-click="editCurrentSlide(active_projector)"
|
<a ng-click="editCurrentSlide(active_projector)"
|
||||||
class="btn btn-default btn-sm"
|
ng-disabled="!active_projector.getStateForCurrentSlide()"
|
||||||
title="{{ 'Edit current slide' | translate}}">
|
class="btn btn-default btn-sm"
|
||||||
|
title="{{ 'Edit current slide' | translate}}">
|
||||||
<i class="fa fa-pencil"></i>
|
<i class="fa fa-pencil"></i>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user