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

refactoring i18n keys: export stats

This commit is contained in:
Sylvain 2019-12-17 18:09:36 +01:00
parent a7b423b151
commit a8e8ffa1d4

View File

@ -1,16 +1,16 @@
<div class="modal-header">
<img ng-src="{{logoBlack.custom_asset_file_attributes.attachment_url}}" alt="{{logo.custom_asset_file_attributes.attachment}}" class="modal-logo"/>
<h1 translate>{{ 'export_statistics_to_excel' }}</h1>
<h1 translate>{{ 'app.admin.statistics.export_statistics_to_excel' }}</h1>
</div>
<div class="modal-body">
<form>
<div class="radio">
<label><input type="radio" name="scope" ng-model="export.type" value="global" ng-change="setRequest()">{{ 'export_all_statistics' | translate }}</label>
<label><input type="radio" name="scope" ng-model="export.type" value="global" ng-change="setRequest()">{{ 'app.admin.statistics.export_all_statistics' | translate }}</label>
</div>
<div ng-show="export.type == 'global'">
<ul class="list-unstyled">
<li class="row">
<span class="col-md-4" translate>{{ 'start' }}</span>
<span class="col-md-4" translate>{{ 'app.admin.statistics.start' }}</span>
<div class="input-group black col-md-7 m-r" id="date_pick_start">
<input type="text"
class="form-control"
@ -22,7 +22,7 @@
max-date="exportStart.maxDate"
datepicker-options="exportStart.options"
show-button-bar="false"
placeholder="{{ 'start' | translate }}"
placeholder="{{ 'app.admin.statistics.start' | translate }}"
ng-click="toggleStartDatePicker($event)"
ng-change="setRequest()"
required="required"/>
@ -34,7 +34,7 @@
</div>
</li>
<li class="row">
<span class="col-md-4" translate>{{ 'end' }}</span>
<span class="col-md-4" translate>{{ 'app.admin.statistics.end' }}</span>
<div class="input-group black col-md-7 m-r" id="date_pick_end">
<input type="text"
class="form-control"
@ -46,7 +46,7 @@
max-date="exportEnd.maxDate"
datepicker-options="datePickerEnd.options"
show-button-bar="false"
placeholder="{{ 'end' | translate }}"
placeholder="{{ 'app.admin.statistics.end' | translate }}"
ng-click="toggleEndDatePicker($event)"
ng-change="setRequest()"
required="required"/>
@ -60,7 +60,7 @@
</ul>
</div>
<div class="radio">
<label><input type="radio" name="scope" ng-model="export.type" value="current" ng-change="setRequest()">{{ 'export_the_current_search_results' | translate }}</label>
<label><input type="radio" name="scope" ng-model="export.type" value="current" ng-change="setRequest()">{{ 'app.admin.statistics.export_the_current_search_results' | translate }}</label>
</div>
</form>
</div>
@ -70,7 +70,7 @@
<input name="_method" type="hidden" ng-value="method"/>
<input name="type_key" type="hidden" ng-value="typeKey"/>
<input name="body" type="hidden" ng-value="query"/>
<input type="submit" class="btn btn-info" value="{{ 'export' | translate }}" formtarget="export-frame"/>
<input type="submit" class="btn btn-info" value="{{ 'app.admin.statistics.export' | translate }}" formtarget="export-frame"/>
</form>
<button class="btn btn-default" ng-click="cancel()" translate>{{ 'cancel' }}</button>
<button class="btn btn-default" ng-click="cancel()" translate>{{ 'app.shared.buttons.cancel' }}</button>
</div>