1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-11-29 10:24:20 +01:00

add button to open reservations

This commit is contained in:
Sylvain 2021-06-17 11:56:00 +02:00
parent 4aa3fdff0e
commit 67ed329dd7

View File

@ -11,9 +11,22 @@
</section>
</div>
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md" ng-if="isAuthorized('admin')">
<div class="col-xs-12 col-sm-12 col-md-3 b-t hide-b-md">
<section class="heading-actions wrapper">
<a class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs" ui-sref="app.admin.machines_new" role="button" translate>{{ 'app.public.machines_list.add_a_machine' }}</a>
<a ng-if="isAuthorized('admin')"
role="button"
class="btn btn-lg btn-warning bg-white b-2x rounded m-t-xs"
ui-sref="app.admin.machines_new"
title="{{'app.public.machines_list.add_a_machine' | translate}}">
<i class="fas fa-plus"></i>
</a>
<a ng-if="isAuthorized(['admin', 'manager'])"
role="button"
ui-sref="app.admin.calendar"
class="btn btn-lg btn-default rounded b-2x m-t-xs"
title="{{'app.public.machines_list.new_availability' | translate}}">
<i class="fa fa-calendar-check-o" aria-hidden="true"></i>
</a>
</section>
</div>
</div>