Commit 9d707d20 authored by Benoit Lavenier's avatar Benoit Lavenier

[fix] Pages: fix search page on small device + add filter options popover

parent 0836a2b6
......@@ -167,7 +167,7 @@
"BTN_ADVANCED_SEARCH": "Recherche avancée",
"BTN_OPTIONS": "Recherche avancée",
"TYPE": "Type de page",
"LOCATION_HELP": "Où : Ville, Code postal",
"LOCATION_HELP": "Où : Code postal, Ville",
"RESULTS": "Résultats",
"RESULT_COUNT_LOCATION": "{{count}} résultat{{count>0?'s':''}}, près de {{location}}",
"RESULT_COUNT": "{{count}} résultat{{count>0?'s':''}}",
......
<ion-view left-buttons="leftButtons">
<ion-nav-title>
<span class="hidden-xs" translate>REGISTRY.SEARCH.TITLE</span>
<span class="visible-xs" translate>REGISTRY.SEARCH.TITLE_SMALL_DEVICE</span>
<span translate>REGISTRY.SEARCH.TITLE</span>
</ion-nav-title>
<ion-nav-buttons side="secondary">
<button class="button button-icon button-clear icon ion-loop visible-xs visible-sm" ng-click="doUpdate()">
</button>
<button class="button button-bar button-icon button-clear icon ion-android-funnel visible-xs visible-sm"
ng-click="showFiltersPopover($event)">
</button>
</ion-nav-buttons>
<ion-content class="lookupForm padding no-padding-xs">
<ng-include src="::'plugins/es/templates/registry/lookup_form.html'"></ng-include>
......
<!-- removeIf(device) -->
<div class="item item-icon-left item-icon-right item-input stable-bg"
remove-if="device"
ng-click="showRecordTypeModal($event)"
ng-if="!smallscreen && search.advanced && !search.type">
ng-if="search.advanced && !search.type">
<b class="icon-secondary ion-help gray" style="left:10px; top: -8px;"></b>
<b class="icon-secondary cion-page-association gray" style="left:14px; top: 2px;"></b>
<b class="icon-secondary cion-page-company gray" style="left:28px; top: -6px;"></b>
......@@ -13,9 +11,8 @@
</div>
<div class="item item-icon-left item-icon-right item-input stable-bg"
remove-if="device"
ng-click="showCategoryModal($event)"
ng-if="!smallscreen && search.advanced && !search.category">
ng-if="search.advanced && !search.category">
<i class="icon ion-flag gray"></i>
<span class="input-label item-icon-left-padding" translate>REGISTRY.CATEGORY</span>
<i class="gray icon ion-ios-arrow-right"></i>
......@@ -29,4 +26,4 @@
ng-options="i as (geoDistanceLabels[i].labelKey | translate:geoDistanceLabels[i].labelParams ) for i in geoDistances track by i">
</select>
</label>
</div>
</div>
\ No newline at end of file
<ion-view left-buttons="leftButtons" class="view-registry-search">
<ion-nav-title>
<span class="hidden-xs" translate>REGISTRY.SEARCH.TITLE</span>
<span class="visible-xs" translate>REGISTRY.SEARCH.TITLE_SMALL_DEVICE</span>
<span translate>REGISTRY.SEARCH.TITLE</span>
</ion-nav-title>
<ion-content class="lookupForm padding no-padding-xs stable-100-bg">
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment