Skip to content
Snippets Groups Projects
Commit 3010e49e authored by Alex ORLUC's avatar Alex ORLUC
Browse files

FEAT #11275 TIME 0:25 fix address

parent 670cf983
No related branches found
No related tags found
No related merge requests found
...@@ -42,8 +42,8 @@ ...@@ -42,8 +42,8 @@
[title]="lang.contactsParameters_department"></mat-icon> [title]="lang.contactsParameters_department"></mat-icon>
<p mat-line class="contact-content" [title]="option.department"> <p mat-line class="contact-content" [title]="option.department">
{{option.department}} </p> {{option.department}} </p>
<p mat-line class="contact-content" *ngIf="!empty(option.occupancy)" <p mat-line class="contact-content" *ngIf="!empty(option.addressAdditional1)"
[title]="option.occupancy"> ({{option.occupancy}}) </p> [title]="option.addressAdditional1"> ({{option.addressAdditional1}}) </p>
</mat-list-item> </mat-list-item>
<mat-list-item class="contact-item" *ngIf="!empty(option.email)"> <mat-list-item class="contact-item" *ngIf="!empty(option.email)">
<mat-icon mat-list-icon class="contact-group far fa-envelope" [title]="lang.email"> <mat-icon mat-list-icon class="contact-group far fa-envelope" [title]="lang.email">
...@@ -57,19 +57,19 @@ ...@@ -57,19 +57,19 @@
<p mat-line class="contact-content" [title]="option.phone"> {{option.phone}} </p> <p mat-line class="contact-content" [title]="option.phone"> {{option.phone}} </p>
</mat-list-item> </mat-list-item>
<mat-list-item class="contact-address" [title]="lang.address" <mat-list-item class="contact-address" [title]="lang.address"
*ngIf="!empty(option.number) || !empty(option.street) || !empty(option.complement) || !empty(option.postalCode) || !empty(option.town) || !empty(option.country)"> *ngIf="!empty(option.number) || !empty(option.addressStreet) || !empty(option.addressAdditional2) || !empty(option.addressPostcode) || !empty(option.addressTown) || !empty(option.addressCountry)">
<mat-icon mat-list-icon class="contact-group fas fa-map-marker-alt"></mat-icon> <mat-icon mat-list-icon class="contact-group fas fa-map-marker-alt"></mat-icon>
<p mat-line class="contact-content" <p mat-line class="contact-content"
*ngIf="!empty(option.number) || !empty(option.street)" [title]="option.street"> *ngIf="!empty(option.number) || !empty(option.addressStreet)" [title]="option.addressStreet">
{{option.number}} {{option.street}} </p> {{option.number}} {{option.addressStreet}} </p>
<p mat-line class="contact-content" *ngIf="!empty(option.complement)" <p mat-line class="contact-content" *ngIf="!empty(option.addressAdditional2)"
[title]="option.complement"> ({{option.complement}}) </p> [title]="option.addressAdditional2"> ({{option.addressAdditional2}}) </p>
<p mat-line class="contact-content" <p mat-line class="contact-content"
*ngIf="!empty(option.postalCode) || !empty(option.town)" *ngIf="!empty(option.addressPostcode) || !empty(option.addressTown)"
[title]="option.postalCode + ' ' + option.town"> {{option.postalCode}} [title]="option.addressPostcode + ' ' + option.addressTown"> {{option.addressPostcode}}
{{option.town}} </p> {{option.addressTown}} </p>
<p mat-line class="contact-content" *ngIf="!empty(option.country)" <p mat-line class="contact-content" *ngIf="!empty(option.addressCountry)"
[title]="option.country"> {{option.country}} </p> [title]="option.addressCountry"> {{option.addressCountry}} </p>
</mat-list-item> </mat-list-item>
</mat-list> </mat-list>
</mat-card-content> </mat-card-content>
......
...@@ -150,6 +150,9 @@ ...@@ -150,6 +150,9 @@
} }
.contact-address { .contact-address {
height: auto !important;
padding-top: 5px;
padding-bottom: 5px;
::ng-deep.mat-list-item-content { ::ng-deep.mat-list-item-content {
padding-top: 0px !important; padding-top: 0px !important;
padding-bottom: 0px !important; padding-bottom: 0px !important;
...@@ -159,4 +162,6 @@ ...@@ -159,4 +162,6 @@
.contact-filling { .contact-filling {
position: absolute; position: absolute;
right: 8px; right: 8px;
border-radius: 10px;
box-shadow: 0px 0px 1px 0px rgba(0,0,0,0.75);
} }
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment