Skip to content
Merged
Changes from 2 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
10 changes: 5 additions & 5 deletions app/templates/orders/view.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -31,14 +31,14 @@
@data={{this.model.order}} />
<br/>
{{#if (eq this.model.order.user.id this.authManager.currentUser.id)}}
<div class="d-flex space-between">
<button class="ui labeled icon {{if this.isLoadingTickets 'loading'}} {{if this.device.isMobile 'fluid'}} button"
<div class="ui padded grid">
<button class="ui labeled icon left floated seven wide column {{if this.isLoadingTickets 'loading'}} {{if this.device.isMobile 'fluid'}} button"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please use flexbox with different style. Your solution is not responsive

{{action this.downloadTickets this.model.event.name this.model.order.identifier}}>
<i class="ticket alternate icon"></i>
{{t 'Download Tickets'}}
<i class="download icon"></i>
{{t 'All Tickets'}}
</button>
<button {{action 'downloadInvoice' this.model.event.name this.model.order.identifier }}
class="ui labeled icon blue {{if this.isLoadingInvoice 'loading'}} {{if this.device.isMobile 'fluid'}} button">
class="ui labeled icon blue right floated eight wide column {{if this.isLoadingInvoice 'loading'}} {{if this.device.isMobile 'fluid'}} button">
<i class="file alternate icon"></i>
{{t 'Download Invoice'}}
</button>
Expand Down