Skip to content
This repository has been archived by the owner on Dec 12, 2024. It is now read-only.

Commit

Permalink
#1 improve mobile ui for view ticket
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Jun 16, 2019
1 parent ae6b009 commit d7c06d8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
12 changes: 6 additions & 6 deletions src/app/view-ticket/view-ticket.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -5,24 +5,24 @@

<div class="ticket">
<div class="row">
<div class="col-8">
<div class="col-md-8 col-12">
<app-event-summary [event]="event" [dateValidityProvider]="ticketInfo"></app-event-summary>
</div>
<div class="col-4">
<div class="col-md-4 col-12">
<img src="/api/v2/public/event/{{event.shortName}}/ticket/{{ticketInfo.uuid}}/code.png" class="img-responsive img-center">
</div>
</div>

<div class="wMarginTop30px wMarginBottom30px">
<h2 translate="ticket.ticket"></h2>
<dl class="row">
<dt class="col-sm-3 text-align-right" translate="ticket.holder"></dt>
<dt class="col-sm-3 align-right-mobile-aware" translate="ticket.holder"></dt>
<dd class="col-sm-9">{{ticketInfo.fullName}} &lt;{{ticketInfo.email}}&gt;</dd>
<dt class="col-sm-3 text-align-right" translate="ticket.type"></dt>
<dt class="col-sm-3 align-right-mobile-aware" translate="ticket.type"></dt>
<dd class="col-sm-9">{{ticketInfo.ticketCategoryName}}</dd>
<dt class="col-sm-3 text-align-right" translate="ticket.reference-number"></dt>
<dt class="col-sm-3 align-right-mobile-aware" translate="ticket.reference-number"></dt>
<dd class="col-sm-9">{{ticketInfo.uuid}}</dd>
<dt class="col-sm-3 text-align-right" translate="ticket.order-information"></dt>
<dt class="col-sm-3 align-right-mobile-aware" translate="ticket.order-information"></dt>
<dd class="col-sm-9">{{'ticket.order-information-values' | translate: {'0': ticketInfo.reservationId, '1': ticketInfo.reservationFullName} }}</dd>
</dl>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ body {
}

@media (min-width: 576px) {
label.col-form-label {
label.col-form-label, dt.align-right-mobile-aware {
text-align: right;
}
}
Expand Down

0 comments on commit d7c06d8

Please sign in to comment.