1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-01-17 06:52:27 +01:00

add notice about availabilities export

This commit is contained in:
Sylvain 2017-03-02 13:39:49 +01:00
parent d8b8c39cb3
commit 853a3160d3
3 changed files with 9 additions and 1 deletions

View File

@ -31,7 +31,13 @@
<div class="col-sm-12 col-md-12 col-lg-3">
<div class="m text-center">
<a class="btn btn-default" ng-href="api/availabilities/export_index.xlsx" target="export-frame" ng-click="alertExport('index')">
<a class="btn btn-default"
ng-href="api/availabilities/export_index.xlsx"
target="export-frame"
ng-click="alertExport('index')"
uib-popover="{{ 'admin_calendar.availabilities_notice' | translate}}"
popover-trigger="mouseenter"
popover-placement="bottom">
<i class="fa fa-file-excel-o"></i> {{ 'admin_calendar.availabilities' | translate }}
</a>
<iframe name="export-frame" height="0" width="0" class="none"></iframe>

View File

@ -19,6 +19,7 @@ en:
machines: "Machines"
spaces: "Spaces"
availabilities: "Availabilities"
availabilities_notice: "Export to an Excel workbook every slots available for reservation, and their occupancy rate."
ongoing_reservations: "Ongoing reservations"
no_reservations: "No reservations"
confirmation_required: "Confirmation required"

View File

@ -19,6 +19,7 @@ fr:
machines: "Machines"
spaces: "Espaces"
availabilities: "Disponibilités"
availabilities_notice: "Exporter dans un classeur Excel tous les créneaux ouverts à la réservation et leurs taux d'occupation."
ongoing_reservations: "Réservations en cours"
no_reservations: "Aucune réservation"
confirmation_required: "Confirmation requise"