Skip to content

Commit

Permalink
Fix current location slider
Browse files Browse the repository at this point in the history
  • Loading branch information
paulnagle committed Jan 28, 2024
1 parent 76ebd41 commit 47b4dbb
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div *ngIf="isExpandAll() === false">
<ion-list>
<ion-list class="no-padding">
<ion-item>
<ion-text>
<p class="ion-1x">&nbsp; {{ selectedDay | translate }} : {{ displayLower }} - {{ displayUpper }} </p>
Expand Down
4 changes: 4 additions & 0 deletions src/app/components/meeting-list/meeting-list.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -14,3 +14,7 @@ ion-accordion.accordion-expanded {
border-radius: 5px 5px 5px 5px;
border-color: var(--ion-color-primary);
}

ion-list {
padding: 0px;
}
2 changes: 0 additions & 2 deletions src/app/components/meeting-list/meeting-list.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,9 @@ export class MeetingListComponent implements OnInit, OnChanges {
this.localExpandAll = this.expandAll;

if (this.localExpandAll === "false") {
console.log("expand All === false");
this.accordionGroup.value = undefined;
this.accordionGroup.multiple = undefined;
} else {
console.log("expand All === true");
this.accordionGroup.value = ['1', '2', '3', '4', '5', '6', '7'];
this.accordionGroup.multiple = true;
}
Expand Down
15 changes: 7 additions & 8 deletions src/app/pages/location-search/location-search.page.html
Original file line number Diff line number Diff line change
Expand Up @@ -27,19 +27,18 @@
</div>
</ion-content>

<ion-footer no-padding>
<ion-toolbar no-padding>
<ion-footer class="no-padding">
<ion-toolbar class="no-padding">

<ion-item text-wrap>
<ion-item class="text-wrap">
<b>{{radius}} {{'MEETINGS_NEAREST' | translate}} {{ currentAddress }}</b>
</ion-item>
<ion-item text-wrap>
<ion-button expand="full" color="primary" id="LocationButton" (click)="locatePhone()" class="col text-center text-wrap">
<ion-icon name="locate-outline"></ion-icon>&nbsp;{{'LOCATIONSEARCH' | translate }}

<ion-button slot="end" expand="block" color="primary" id="LocationButton" (click)="locatePhone()" >
<ion-icon slot="end" name="locate-outline"></ion-icon>&nbsp;{{'LOCATIONSEARCH' | translate }}
</ion-button>
</ion-item>

<ion-range id="RadiusRange" min="5" max="50" (ionKnobMoveEnd)="getAllMeetings($event)" color="danger" pin="true" debounce="500">
<ion-range id="RadiusRange" min="5" max="50" [value]=radius (ionKnobMoveEnd)="getAllMeetings($event)" color="danger" pin="true" debounce="500">
<ion-label slot="start">5 {{'MEETINGS' | translate}}</ion-label>
<ion-label slot="end">50 {{'MEETINGS' | translate}}</ion-label>
</ion-range>
Expand Down
2 changes: 1 addition & 1 deletion src/assets/translations/en.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"MENU" : "Menu",
"HOME" : "Home",
"LOCATIONSEARCH" : "Current Location Search",
"LOCATIONSEARCH" : "Update Current Location",
"LOADINGMAP" : "Loading map...",
"LOCATION" : "",
"NO_LOCATION" : "Location not set",
Expand Down

0 comments on commit 47b4dbb

Please sign in to comment.