Skip to content

Commit 40a10d4

Browse files
fix: Adjust table in Organizers Attendees Overview Page (#5672)
1 parent 5d34f21 commit 40a10d4

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

app/controllers/events/view/tickets/attendees/list.js

Lines changed: 10 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,19 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
1616
},
1717
{
1818
name : 'Ticket Name',
19-
width : 110,
19+
width : 80,
2020
valuePath : 'ticket.name'
2121
},
22+
{
23+
name : 'Date and Time',
24+
width : 140,
25+
valuePath : 'order',
26+
cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-date'
27+
},
2228
{
2329
name : 'Ticket Price',
2430
valuePath : 'ticket.price',
25-
width : 100,
31+
width : 90,
2632
extraValuePaths : ['event', 'discountCode'],
2733
cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-price'
2834
},
@@ -39,12 +45,12 @@ export default class extends Controller.extend(EmberTableControllerMixin) {
3945
{
4046
name : 'Email',
4147
valuePath : 'email',
42-
width : 160
48+
width : 120
4349
},
4450
{
4551
name : 'Actions',
4652
valuePath : 'id',
47-
width : 130,
53+
width : 90,
4854
extraValuePaths : ['order', 'isCheckedIn'],
4955
cellComponent : 'ui-table/cell/events/view/tickets/attendees/cell-action',
5056
actions : {
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{{#if (eq @record.status 'completed')}}
2+
{{moment-format @record.completedAt 'MMMM DD, YYYY - hh:mm A'}}
3+
{{else}}
4+
{{moment-format @record.createdAt 'MMMM DD, YYYY - hh:mm A'}}
5+
{{/if}}
Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
<div class="ui tiny header">
22
<LinkTo @route="orders.view" @model={{this.record.identifier}}>{{this.record.identifier}}</LinkTo>
3-
<span class="weight-400">
4-
{{t 'by'}}
5-
{{this.extraRecords.user.email}}
6-
</span>
73
<div class="ui basic mini {{order-color this.record.status}} label attendees-margin">
84
{{this.record.status}}
95
</div>
@@ -13,12 +9,5 @@
139
{{t 'Payment via'}} {{this.record.paidVia}}
1410
</span>
1511
{{/if}}
16-
{{#if (eq this.record.status 'completed')}}
17-
{{moment-format this.record.completedAt 'MMMM Do YYYY, h:mm A -'}}
18-
{{moment-from-now this.record.completedAt}}
19-
{{else}}
20-
{{moment-format this.record.createdAt 'MMMM Do YYYY, h:mm A -'}}
21-
{{moment-from-now this.record.createdAt}}
22-
{{/if}}
2312
</div>
2413
</div>

0 commit comments

Comments
 (0)