Skip to content

fix: Table UI without implicit this #4466

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<UiCheckbox @class="toggle" @checked={{this.extraRecords.isFeatured}} @onChange={{action this.props.actions.toggleFeatured this.record}} />
<UiCheckbox @class="toggle" @checked={{this.extraRecords.isFeatured}} @onChange={{action this.props.actions.toggleFeatured record}} />
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<UiCheckbox @class="toggle" @checked={{this.extraRecords.isPromoted}} @onChange={{action this.props.actions.togglePromoted this.record}} />
<UiCheckbox @class="toggle" @checked={{this.extraRecords.isPromoted}} @onChange={{action this.props.actions.togglePromoted record}} />
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{moment-from-now this.record}}
{{moment-from-now record}}
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@
{{this.extraRecords.subject}}
</h5>
<span>
{{sanitize this.record}}
{{sanitize record}}
</span>
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if (or this.record.firstName this.record.lastName)}}
{{this.record.firstName}} {{this.record.lastName}}
{{#if (or record.firstName record.lastName)}}
{{record.firstName}} {{record.lastName}}
{{else}}
{{t 'No Name Provided'}}
{{/if}}
<div class="muted text">{{this.record.email}}</div>
<div class="muted text">{{record.email}}</div>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{sanitize this.record}}
{{sanitize record}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{moment-from-now this.record}}
{{moment-from-now record}}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<span>
US$ {{format-money this.record}}
US$ {{format-money record}}
</span>
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
<div class="ui vertical compact basic buttons">
<UiPopup @tagName="a" @click={{action this.moveToUserDetails this.record.id}} @content={{t "View"}} @class="ui icon button">
<UiPopup @tagName="a" @click={{action this.moveToUserDetails record.id}} @content={{t "View"}} @class="ui icon button">
<i class="unhide icon"></i>
</UiPopup>
{{#unless this.record.isSuperAdmin}}
{{#if (not this.record.deletedAt)}}
<UiPopup @content={{t "Edit"}} @click={{action this.openEditModal this.record}} @class="ui icon button">
{{#unless record.isSuperAdmin}}
{{#if (not record.deletedAt)}}
<UiPopup @content={{t "Edit"}} @click={{action this.openEditModal record}} @class="ui icon button">
<i class="edit icon"></i>
</UiPopup>
{{/if}}
{{#if (and this.hasRestorePrivileges this.record.deletedAt)}}
<UiPopup @content={{t "Restore"}} @click={{action this.restoreUser this.record}} @class="ui icon button" @position="left center">
{{#if (and this.hasRestorePrivileges record.deletedAt)}}
<UiPopup @content={{t "Restore"}} @click={{action this.restoreUser record}} @class="ui icon button" @position="left center">
<i class="undo icon"></i>
</UiPopup>
{{else}}
<UiPopup @content={{t "Delete"}} @click={{action (confirm (t "Are you sure you would like to delete this user?") (action this.deleteUser this.record))}} @class="ui icon button">
<UiPopup @content={{t "Delete"}} @click={{action (confirm (t "Are you sure you would like to delete this user?") (action this.deleteUser record))}} @class="ui icon button">
<i class="trash icon"></i>
</UiPopup>
{{/if}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<span>
{{moment-from-now this.record}}
{{moment-from-now record}}
</span>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="ui bulleted list">
{{#if (or this.extraRecords.isAdmin this.record)}}
{{#if (or this.extraRecords.isAdmin record)}}
{{t 'User has administrative privileges, he has privileges of the following roles for all the events:'}}
<div class="item">
<span class="ui tiny basic green label">{{t 'Owner'}}</span>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<span>{{this.record}}</span>
<span>{{record}}</span>
<div class="ui hidden divider"></div>
<div class="ui horizontal compact basic buttons">
<UiPopup @tagName="a" @click={{action this.props.actions.moveToUserDetails this.extraRecords.id}} @content={{t "View"}} @class="ui icon button">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if (eq this.record 'active')}}
{{#if (eq record 'active')}}
<div class="ui green label">{{t 'Active'}}</div>
{{else if (eq this.record 'inactive')}}
{{else if (eq record 'inactive')}}
<div class="ui yellow label">{{t 'Inactive'}}</div>
{{else}}
<div class="ui red label">{{t 'Deleted'}}</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="ui unordered list">
{{#if this.record}}
{{#if record}}
<div class="item">
{{t 'Super Admin'}}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
<div class="ui ordered list">
<div class="item">
<LinkTo @route="admin.users.view.sessions.list" @models={{array this.record 'upcoming'}}> {{t 'Sessions'}} </LinkTo>
<LinkTo @route="admin.users.view.sessions.list" @models={{array record 'upcoming'}}> {{t 'Sessions'}} </LinkTo>
</div>
<div class="item">
<LinkTo @route="admin.users.view.events" @model={{this.record}}> {{t 'Events'}} </LinkTo>
<LinkTo @route="admin.users.view.events" @model={{record}}> {{t 'Events'}} </LinkTo>
</div>
<div class="item">
<LinkTo @route="admin.users.view.tickets" @model={{this.record}}> {{t 'Tickets'}} </LinkTo>
<LinkTo @route="admin.users.view.tickets" @model={{record}}> {{t 'Tickets'}} </LinkTo>
</div>
<div class="item">
<LinkTo @route="admin.users.view.account.profile" @model={{this.record}}> {{t 'Accounts'}} </LinkTo>
<LinkTo @route="admin.users.view.account.profile" @model={{record}}> {{t 'Accounts'}} </LinkTo>
</div>
</div>
10 changes: 5 additions & 5 deletions app/templates/components/ui-table/cell/cell-buttons.hbs
Original file line number Diff line number Diff line change
@@ -1,16 +1,16 @@
<div class="ui {{if this.device.isMobile 'horizontal' 'vertical'}} compact basic buttons">
<UiPopup @tagName="a" @click={{action this.moveToDetails this.record.identifier}} @content={{t "View"}} @class="ui icon button" @position="left center">
<UiPopup @tagName="a" @click={{action this.moveToDetails record.identifier}} @content={{t "View"}} @class="ui icon button" @position="left center">
<i class="unhide icon"></i>
</UiPopup>
<UiPopup @content={{t "Edit"}} @click={{action this.editEvent this.record.identifier}} @class="ui icon button" @position="left center">
<UiPopup @content={{t "Edit"}} @click={{action this.editEvent record.identifier}} @class="ui icon button" @position="left center">
<i class="edit icon"></i>
</UiPopup>
{{#if (and this.hasRestorePrivileges (get this.record this.column.propertyName))}}
<UiPopup @content={{t "Restore"}} @click={{action this.restoreEvent this.record}} @class="ui icon button" @position="left center">
{{#if (and this.hasRestorePrivileges (get record this.column.propertyName))}}
<UiPopup @content={{t "Restore"}} @click={{action this.restoreEvent record}} @class="ui icon button" @position="left center">
<i class="undo icon"></i>
</UiPopup>
{{else}}
<UiPopup @content={{t "Delete"}} @click={{action this.openDeleteEventModal this.record.identifier this.record.name}} @class="ui icon button" @position="left center">
<UiPopup @content={{t "Delete"}} @click={{action this.openDeleteEventModal record.identifier record.name}} @class="ui icon button" @position="left center">
<i class="trash icon"></i>
</UiPopup>
{{/if}}
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/ui-table/cell/cell-event-date.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{{#if this.record}}
{{#if record}}
{{#if this.extraRecords.endsAt}}
<div>
{{general-date this.record this.extraRecords.timezone}}
{{general-date record this.extraRecords.timezone}}
</div>
(to)
<div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="ui header weight-400">
<img src="{{if this.extraRecords.logoUrl this.extraRecords.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{this.record}}
<img src="{{if this.extraRecords.logoUrl this.extraRecords.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{record}}
</div>
<div class="ui horizontal large basic buttons">
<UiPopup @tagName="a" @click={{action this.props.actions.moveToDetails this.extraRecords.identifier}} @content={{t "Event Dashboard"}} @class="ui icon button" @position="top center">
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{get this.record this.column.propertyName}}
{{get record this.column.propertyName}}
4 changes: 2 additions & 2 deletions app/templates/components/ui-table/cell/cell-event.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="ui header weight-400">
<img src="{{if this.extraRecords.logoUrl this.extraRecords.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{this.record}}
<img src="{{if this.extraRecords.logoUrl this.extraRecords.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{record}}
</div>

<div class="ui horizontal compact basic buttons">
Expand All @@ -14,7 +14,7 @@
<i class="undo icon"></i>
</UiPopup>
{{else}}
<UiPopup @content={{t "Delete"}} @click={{action this.props.actions.openDeleteEventModal this.extraRecords.identifier this.record}} @class="ui icon button" @position="left center">
<UiPopup @content={{t "Delete"}} @click={{action this.props.actions.openDeleteEventModal this.extraRecords.identifier record}} @class="ui icon button" @position="left center">
<i class="trash icon"></i>
</UiPopup>
{{/if}}
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/ui-table/cell/cell-image.hbs
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<img class="ui tiny image" src="{{if this.record.logoUrl this.record.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event logo">
<img class="ui tiny image" src="{{if record.logoUrl record.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event logo">
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="inline field">
<Input @value={{this.record.quantity}} @type="number" @min="0" />
<Input @value={{record.quantity}} @type="number" @min="0" />
</div>
2 changes: 1 addition & 1 deletion app/templates/components/ui-table/cell/cell-label.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
{{#if this.extraRecords.isExpired}}
<a href="#" class="ui red label">{{t 'Expired'}}</a>
{{else}}
{{#if this.record}}
{{#if record}}
<a href="#" class="ui green label">{{t 'Active'}}</a>
{{else}}
<a href="#" class="ui yellow label">{{t 'Inactive'}}</a>
Expand Down
4 changes: 2 additions & 2 deletions app/templates/components/ui-table/cell/cell-link.hbs
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<a href="{{this.record}}">
{{this.record}}
<a href="{{record}}">
{{record}}
</a>
2 changes: 1 addition & 1 deletion app/templates/components/ui-table/cell/cell-roles.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="ui ordered list">
<div class="item">{{this.record.email}} ({{t 'Owner'}})</div>
<div class="item">{{record.email}} ({{t 'Owner'}})</div>
{{#each this.extraRecords.organizers as |role|}}
<div class="item">{{role.email}} ({{t 'Organizer'}})</div>
{{/each}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui list">
<div class="item">{{t 'Submitted'}}: {{this.record.sessions}}</div>
<div class="item">{{t 'Accepted'}}: {{this.record.sessionsAccepted}}</div>
<div class="item">{{t 'Confirmed'}}: {{this.record.sessionsConfirmed}}</div>
<div class="item">{{t 'Pending'}}: {{this.record.sessionsPending}}</div>
<div class="item">{{t 'Rejected'}}: {{this.record.sessionsRejected}}</div>
<div class="item">{{t 'Submitted'}}: {{record.sessions}}</div>
<div class="item">{{t 'Accepted'}}: {{record.sessionsAccepted}}</div>
<div class="item">{{t 'Confirmed'}}: {{record.sessionsConfirmed}}</div>
<div class="item">{{t 'Pending'}}: {{record.sessionsPending}}</div>
<div class="item">{{t 'Rejected'}}: {{record.sessionsRejected}}</div>
</div>
10 changes: 5 additions & 5 deletions app/templates/components/ui-table/cell/cell-sessions.hbs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui list">
<div class="item">{{t 'Submitted'}}: {{this.record.sessions}}</div>
<div class="item">{{t 'Accepted'}}: {{this.record.sessionsAccepted}}</div>
<div class="item">{{t 'Confirmed'}}: {{this.record.sessionsConfirmed}}</div>
<div class="item">{{t 'Pending'}}: {{this.record.sessionsPending}}</div>
<div class="item">{{t 'Rejected'}}: {{this.record.sessionsRejected}}</div>
<div class="item">{{t 'Submitted'}}: {{record.sessions}}</div>
<div class="item">{{t 'Accepted'}}: {{record.sessionsAccepted}}</div>
<div class="item">{{t 'Confirmed'}}: {{record.sessionsConfirmed}}</div>
<div class="item">{{t 'Pending'}}: {{record.sessionsPending}}</div>
<div class="item">{{t 'Rejected'}}: {{record.sessionsRejected}}</div>
</div>
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div class="ui vertical compact basic buttons">
<UiPopup @content={{t "View Session"}} @class="ui icon button" @click={{action this.props.actions.viewSession this.record}} @position="left center">
<UiPopup @content={{t "View Session"}} @class="ui icon button" @click={{action this.props.actions.viewSession record}} @position="left center">
<i class="unhide icon"></i>
</UiPopup>
<UiPopup @content={{t "Edit Session"}} @class="ui icon button" @click={{action this.props.actions.editSession this.record this.extraRecords.event.id}} @position="left center">
<UiPopup @content={{t "Edit Session"}} @class="ui icon button" @click={{action this.props.actions.editSession record this.extraRecords.event.id}} @position="left center">
<i class="edit icon"></i>
</UiPopup>
<UiPopup @content={{t "Delete Session"}} @click={{action (confirm (t "Are you sure you would like to delete this Session?") (action this.props.actions.deleteSession this.record))}} @class="ui icon button" @position="left center">
<UiPopup @content={{t "Delete Session"}} @click={{action (confirm (t "Are you sure you would like to delete this Session?") (action this.props.actions.deleteSession record))}} @class="ui icon button" @position="left center">
<i class="trash icon"></i>
</UiPopup>
</div>
6 changes: 3 additions & 3 deletions app/templates/components/ui-table/cell/cell-simple-date.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{#if this.extraRecords.timezone}}
<span>
{{general-date this.record this.extraRecords.timezone}}
{{general-date record this.extraRecords.timezone}}
</span>
{{else if this.record}}
{{else if record}}
<span>
{{moment-format this.record (if this.props.options.dateFormat this.props.options.dateFormat 'MMMM DD, YYYY - HH:mm A')}}
{{moment-format record (if this.props.options.dateFormat this.props.options.dateFormat 'MMMM DD, YYYY - HH:mm A')}}
</span>
{{/if}}
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<div class="ui list">
<div class="item">{{t 'Total'}}: {{this.record.speakers}}</div>
<div class="item">{{t 'Accepted'}}: {{this.record.speakersAccepted}}</div>
<div class="item">{{t 'Confirmed'}}: {{this.record.speakersConfirmed}}</div>
<div class="item">{{t 'Pending'}}: {{this.record.speakersPending}}</div>
<div class="item">{{t 'Rejected'}}: {{this.record.speakersRejected}}</div>
<div class="item">{{t 'Total'}}: {{record.speakers}}</div>
<div class="item">{{t 'Accepted'}}: {{record.speakersAccepted}}</div>
<div class="item">{{t 'Confirmed'}}: {{record.speakersConfirmed}}</div>
<div class="item">{{t 'Pending'}}: {{record.speakersPending}}</div>
<div class="item">{{t 'Rejected'}}: {{record.speakersRejected}}</div>
</div>
2 changes: 1 addition & 1 deletion app/templates/components/ui-table/cell/cell-speakers.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<div class="ui list">
{{#each this.record as |speaker|}}
{{#each record as |speaker|}}
<div class="item">
{{speaker.name}}
</div>
Expand Down
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<img class="ui tiny image" src="{{if this.record this.record '/images/placeholders/Other.jpg'}}" alt="Event logo">
<img class="ui tiny image" src="{{if record record '/images/placeholders/Other.jpg'}}" alt="Event logo">
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
<UiPopup @content={{t "Edit"}} @click={{action this.props.actions.editSponsor}} @class="ui icon button" @position="left center">
<i class="edit icon"></i>
</UiPopup>
<UiPopup @content={{t "Delete"}} @click={{action (confirm (t "Are you sure you would like to delete this Sponsor?") (action this.props.actions.deleteSponsor this.record))}} @class="ui icon button" @position="left center">
<UiPopup @content={{t "Delete"}} @click={{action (confirm (t "Are you sure you would like to delete this Sponsor?") (action this.props.actions.deleteSponsor record))}} @class="ui icon button" @position="left center">
<i class="trash icon"></i>
</UiPopup>
</div>
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{{#if this.record}}
{{sanitize this.record}}
{{#if record}}
{{sanitize record}}
{{/if}}
4 changes: 2 additions & 2 deletions app/templates/components/ui-table/cell/cell-tickets.hbs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{{#if this.record}}
{{#if record}}
<div class="ui list">
{{#each this.record as |ticket|}}
{{#each record as |ticket|}}
<div class="item">{{ticket.name}} ({{add ticket.orderStatistics.tickets.completed ticket.orderStatistics.tickets.placed}}/{{ticket.quantity}}) <span class="item muted text">[{{ticket.type}}]</span></div>
{{/each}}
</div>
Expand Down
6 changes: 3 additions & 3 deletions app/templates/components/ui-table/cell/cell-title-message.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
{{/if}}
<div class="description">
{{#if (eq this.props.options.message 'emailMessage')}}
<p>{{sanitize this.record}}</p>
<p>{{sanitize record}}</p>
{{else if (eq this.props.options.message 'notificationMessage')}}
{{#if this.record}}
<p>{{sanitize this.record}}</p>
{{#if record}}
<p>{{sanitize record}}</p>
{{/if}}
{{/if}}
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/templates/components/ui-table/cell/cell-validity.hbs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<span>
{{moment-format this.record 'MMMM DD, YYYY - h:mm A'}}
{{moment-format record 'MMMM DD, YYYY - h:mm A'}}
<br>To<br>
{{moment-format this.extraRecords.validTill 'MMMM DD, YYYY - h:mm A'}}
</span>
4 changes: 2 additions & 2 deletions app/templates/components/ui-table/cell/events/cell-action.hbs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{{#if (eq this.extraRecords.status 'due')}}
<LinkTo @route="event-invoice.review" @model={{this.record}} class="ui blue button">
<LinkTo @route="event-invoice.review" @model={{record}} class="ui blue button">
{{t 'Review and Pay'}}
</LinkTo>
{{else}}
<LinkTo @route="event-invoice.paid" @model={{this.record}} class="ui green button">
<LinkTo @route="event-invoice.paid" @model={{record}} class="ui green button">
{{t 'See Payment'}}
</LinkTo>
{{/if}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{{currency-symbol this.extraRecords.event.paymentCurrency}} {{format-money this.record}}
{{currency-symbol this.extraRecords.event.paymentCurrency}} {{format-money record}}
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
<div class="ui header weight-400">
<img src="{{if this.record.logoUrl this.record.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{this.record.name}}
<img src="{{if record.logoUrl record.logoUrl '/images/placeholders/Other.jpg'}}" alt="Event Logo" class="ui image"> <br> {{record.name}}
</div>
Original file line number Diff line number Diff line change
Expand Up @@ -3,26 +3,26 @@
<UiDropdown @class="ui icon right pointing dropdown button">
<i class="green checkmark icon"></i>
<div class="menu">
<a href="#" role="button" class="item" {{action this.props.actions.acceptProposal this.record true}}>{{t 'With email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.acceptProposal this.record false}}>{{t 'Without email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.acceptProposal record true}}>{{t 'With email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.acceptProposal record false}}>{{t 'Without email'}}</a>
</div>
</UiDropdown>
{{/if}}
{{#if (eq this.extraRecords.status 'accepted')}}
<UiDropdown @class="ui icon right pointing dropdown button">
<i class="blue checkmark icon"></i>
<div class="menu">
<a href="#" role="button" class="item" {{action this.props.actions.confirmProposal this.record true}}>{{t 'With email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.confirmProposal this.record false}}>{{t 'Without email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.confirmProposal record true}}>{{t 'With email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.confirmProposal record false}}>{{t 'Without email'}}</a>
</div>
</UiDropdown>
{{/if}}
{{#if (or (eq this.extraRecords.status 'confirmed') (eq this.extraRecords.status 'pending') (eq this.extraRecords.status 'accepted'))}}
<UiDropdown @class="ui icon right pointing dropdown button">
<i class="red remove icon"></i>
<div class="menu">
<a href="#" role="button" class="item" {{action this.props.actions.rejectProposal this.record true}}>{{t 'With email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.rejectProposal this.record false}}>{{t 'Without email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.rejectProposal record true}}>{{t 'With email'}}</a>
<a href="#" role="button" class="item" {{action this.props.actions.rejectProposal record false}}>{{t 'Without email'}}</a>
</div>
</UiDropdown>
{{/if}}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<span>
{{#if this.record}}
{{#if record}}
{{t 'Yes'}}
{{else}}
{{t 'No'}}
Expand Down
Loading