@@ -15,63 +15,78 @@ <h2>Detailed Listing Information for</h2>
15
15
< div class ="subtitle " *ngIf ="listing ">
16
16
< div class ="column ">
17
17
< div class ="row ">
18
- < div class ="last-updated-container ">
19
- < strong > Platform Report Month: </ strong > {{listing.latestReportPeriodYm || '-'}}
20
- </ div >
21
- < div class ="platform-container ">
22
- < strong > Platform: </ strong > {{listing.offeringOrganizationNm || '-'}}
23
- </ div >
24
- </ div >
25
- < div class ="row ">
26
- < div class ="organization-container ">
18
+ < div >
27
19
< strong > Assigned to: </ strong > {{listing.managingOrganizationNm || '-'}}
28
20
</ div >
29
- < div class ="status-container " [ngSwitch] ="listing.listingStatusType ">
30
- < strong > Listing Status: </ strong >
31
- < span class ="status-item " *ngSwitchCase ="'N' "> New
32
- < span class ="status-circle status-new ">
33
- N
34
- </ span >
35
- </ span >
36
- < span class ="status-item " *ngSwitchCase ="'A' ">
37
- < span >
38
- Active
39
- </ span >
40
- < span class ="status-circle status-active ">
41
- A
42
- </ span >
43
- </ span >
44
- < span class ="status-item " *ngSwitchCase ="'I' ">
45
- < span >
46
- Inactive
47
- </ span >
48
- < span class ="status-circle status-inactive ">
49
- I
50
- </ span >
51
- </ span >
52
- < span class ="status-item " *ngIf ="listing.isLgTransferred ">
53
- < span >
54
- Reassigned
55
- </ span >
56
- < span class ="status-flag status-reassigned ">
57
- </ span >
58
- </ span >
59
- < span class ="status-item " *ngIf ="listing.isTakenDown ">
60
- < span >
61
- Takedown Complete
62
- </ span >
63
- < span class ="status-flag status-takedown-complete ">
64
- </ span >
65
- </ span >
66
- </ div >
67
21
</ div >
68
22
</ div >
69
23
< div class ="column ">
24
+ < button pButton (click) ="sendNoticeOfNonCompliance() " class ="p-button-outlined ">
25
+ < span class ="nonc-icon "> </ span > Send Notice Of
26
+ Non-Compliance </ button >
27
+ < button pButton (click) ="sendTakedownRequest() " class ="p-button-outlined "> < span class ="tdr-icon "> </ span > Send
28
+ Takedown
29
+ Request</ button >
70
30
</ div >
71
31
</ div >
72
32
< div class ="content " *ngIf ="listing ">
73
33
< div class ="main-block ">
74
- < p-panel class ="details-block " header ="Property Information ">
34
+ < p-panel class ="details-block prop-info ">
35
+ < ng-template pTemplate ="header ">
36
+ < div class ="property-info-container ">
37
+ < strong class ="panel-header-text "> Property Information</ strong >
38
+ < p-tag class ="platform-report-month ">
39
+ < strong class ="tag-text "> Platform Report Month:</ strong > {{listing.latestReportPeriodYm || '-'}}
40
+ </ p-tag >
41
+ </ div >
42
+ </ ng-template >
43
+ < div class ="row ">
44
+ < span class ="label "> Platform:</ span >
45
+ < span class ="value "> {{listing.offeringOrganizationNm || '-'}}</ span >
46
+ </ div >
47
+ < div class ="row ">
48
+ < div class ="status-container " [ngSwitch] ="listing.listingStatusType ">
49
+ < strong > Listing Status: </ strong >
50
+ < span class ="status-item " *ngSwitchCase ="'N' "> New
51
+ < span class ="status-circle status-new ">
52
+ N
53
+ </ span >
54
+ </ span >
55
+ < span class ="status-item " *ngSwitchCase ="'A' ">
56
+ < span >
57
+ Active
58
+ </ span >
59
+ < span class ="status-circle status-active ">
60
+ A
61
+ </ span >
62
+ </ span >
63
+ < span class ="status-item " *ngSwitchCase ="'I' ">
64
+ < span >
65
+ Inactive
66
+ </ span >
67
+ < span class ="status-circle status-inactive ">
68
+ I
69
+ </ span >
70
+ </ span >
71
+ < span class ="status-item " *ngIf ="listing.isLgTransferred ">
72
+ < span >
73
+ Reassigned
74
+ </ span >
75
+ < span class ="status-flag status-reassigned ">
76
+ </ span >
77
+ </ span >
78
+ < span class ="status-item " *ngIf ="listing.isTakenDown ">
79
+ < span >
80
+ Takedown Complete
81
+ </ span >
82
+ < span class ="status-flag status-takedown-complete ">
83
+ </ span >
84
+ </ span >
85
+ </ div >
86
+ </ div >
87
+
88
+ < div class ="spacer-hr "> </ div >
89
+
75
90
< div class ="row address ">
76
91
< span class ="label "> Address (Best Match):</ span >
77
92
< span class ="value "
@@ -100,15 +115,16 @@ <h2>Detailed Listing Information for</h2>
100
115
< span class ="label "> Number of Bedrooms (Platform Listing):</ span >
101
116
< span class ="value "> {{listing.availableBedroomsQty}}</ span >
102
117
</ div >
103
- </ p-panel >
104
- < p-panel class ="details-block " header ="Business Licence Information ">
118
+
119
+ < div class ="spacer-hr "> </ div >
120
+
105
121
< div class ="row ">
106
- < span class ="label "> BL (Platform Listing) :</ span >
122
+ < span class ="label "> Business Licence on Listing:</ span >
107
123
< span class ="value "> {{listing.businessLicenceNo}}</ span >
108
124
</ div >
109
- </ p-panel >
110
125
111
- < p-panel class ="details-block " header ="Hosts " *ngIf ="listing.hosts ">
126
+ < div class ="spacer-hr "> </ div >
127
+
112
128
< ng-template ngFor let-host [ngForOf] ="listing.hosts " let-i ="index ">
113
129
< div class ="row ">
114
130
< span class ="label "> {{host.isPropertyOwner?'Property':'STR'}} Host (Platform Listing):</ span >
@@ -123,17 +139,20 @@ <h2>Detailed Listing Information for</h2>
123
139
< span class ="value "> {{host.emailAddressDsc}}</ span >
124
140
</ div >
125
141
< div class ="row ">
126
- < span class ="label "> Phone</ span >
142
+ < span class ="label "> Phone: </ span >
127
143
< span class ="value "> {{host.phoneNo}}</ span >
128
144
</ div >
129
145
< ng-template [ngIf] ="i !== (listing.hosts.length-1) ">
130
- < br >
146
+ < div class =" spacer-hr " > </ div >
131
147
</ ng-template >
132
148
</ ng-template >
133
- </ p-panel >
134
149
135
- < p-panel class ="details-block " header ="Listing History (for This Listing ID) ">
136
- < div class ="row ">
150
+ < div class ="spacer-hr "> </ div >
151
+
152
+ < div class ="row header-row ">
153
+ Listing History (for This Listing ID)
154
+ </ div >
155
+ < div class ="row night-stayed-row ">
137
156
< span class ="label "> Night Stayed YTD:</ span >
138
157
< span class ="value "> {{listing.nightsBookedYtdQty}}</ span >
139
158
</ div >
@@ -169,9 +188,10 @@ <h2>Detailed Listing Information for</h2>
169
188
</ ng-template >
170
189
</ p-table >
171
190
</ div >
191
+
172
192
</ p-panel >
173
193
174
- < p-panel class ="details-block " header ="Address History ">
194
+ < p-panel class ="details-block address-history " header ="Address History ">
175
195
< div class ="row ">
176
196
< p-table [value] ="listing.addressChangeHistory " [paginator] ="listing.addressChangeHistory.length>12 "
177
197
[showPageLinks] ="false " currentPageReportTemplate ="{first}-{last} of {totalRecords} "
@@ -209,17 +229,7 @@ <h2>Detailed Listing Information for</h2>
209
229
</ p-panel >
210
230
</ div >
211
231
< div class ="sidebar ">
212
- < p-panel class ="details-block " header ="Actions " *ngIf ="!isCEU ">
213
- < div class ="row ">
214
- < button pButton (click) ="sendNoticeOfNonCompliance() " class ="p-button-link "> Send Notice Of
215
- Non-Compliance </ button >
216
- </ div >
217
- < div class ="row ">
218
- < button pButton (click) ="sendTakedownRequest() " class ="p-button-link "> Send Takedown
219
- Request</ button >
220
- </ div >
221
- </ p-panel >
222
- < p-panel class ="details-block " header ="Action History ">
232
+ < p-panel class ="details-block action-history " header ="Action History ">
223
233
< p-table [value] ="listing.actionHistory " styleClass ="p-datatable-sm ">
224
234
< ng-template pTemplate ="header ">
225
235
< tr >
@@ -244,15 +254,19 @@ <h2>Detailed Listing Information for</h2>
244
254
</ ng-template >
245
255
</ p-table >
246
256
</ p-panel >
247
- < p-panel class ="details-block bl-info " header ="Business Licence Information ">
257
+ < p-panel class ="details-block bl-info ">
258
+ < ng-template pTemplate ="header ">
259
+ < div class ="property-info-container ">
260
+ < strong class ="panel-header-text "> Business Licence Information</ strong >
261
+ < p-tag class ="last-bl-update-date " *ngIf ="blInfo?.updDtm ">
262
+ < strong class ="tag-text "> Last Update Date:</ strong > {{blInfo.updDtm |date:'YYYY-MM-dd' }}
263
+ </ p-tag >
264
+ </ div >
265
+ </ ng-template >
248
266
< div *ngIf ="!blInfo; else else_block " class ="row no-bl-data ">
249
267
< strong > We were unable to find a business licence that matched this listing in our system.</ strong >
250
268
</ div >
251
269
< ng-template #else_block >
252
- < div *ngIf ="blInfo?.updDtm " class ="row ">
253
- < strong > Last Update Date:</ strong > < span > {{blInfo.updDtm |date:'YYYY-MM-dd' }}</ span >
254
- </ div >
255
-
256
270
< div *ngIf ="blInfo?.businessNm ||
257
271
blInfo?.physicalRentalAddressTxt " class ="spacer-hr "> </ div >
258
272
0 commit comments