list_next_bookings_today.html.ep 796 Bytes
Newer Older
Francesc Guasch's avatar
Francesc Guasch committed
1
2
3
4
5
6
7
8
9
10
11
<div class="card-body" ng-show="1">
<div ng-show="bookings_today.length" class="col-sm-12 d-inline-block mb-2">
<div class="card-header">
<h4>Today Schedule</h4>

    <p>
    This server has reservations for today. Machines from users out of
    the booking list will be shut down.
    </p>

    <table border="1" bordercolor="darkgray" cellpadding="5">
12
    <tr ng-repeat="booking in bookings_today">
Francesc Guasch's avatar
Francesc Guasch committed
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
        <th align="right">
        {{booking.title}}
        </th>
        <td>
        {{booking.time_start}} - {{booking.time_end}}
        </td>
        <td>
        <%= $_user->name %>
        <span ng-show="booking.user_allowed"><%=l 'allowed' %></span>
        <span ng-show="booking.user_allowed==0"><%=l 'not allowed' %></span>
        </td>
    </tr>
    </table>

</div>
</div>
</div>