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

Commit

Permalink
#1 ux/ux ticket categories
Browse files Browse the repository at this point in the history
  • Loading branch information
syjer committed Apr 4, 2019
1 parent 50a4717 commit 687fe2d
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 2 deletions.
18 changes: 18 additions & 0 deletions src/app/event-display/event-display.component.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,22 @@
display: block;
max-width: 100%;
height: auto;
}

.ticket-categories h3 {
font-size: 1rem;
font-weight: bold;
}

.ticket-categories .list-group-item {
border-left: none;
border-right: none;
}

.ticket-categories .list-group-item:first-child {
border-top: none;
}

.ticket-categories .list-group-item:last-child {
border-bottom: none;
}
4 changes: 2 additions & 2 deletions src/app/event-display/event-display.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ <h2 translate="show-event.tickets"></h2>
<div *ngIf="ticketCategories">
<form [formGroup]="reservationForm" (submit)="submitForm(event.shortName, reservationForm.value)">
<div>
<ul class="list-group">
<ul class="list-group ticket-categories">
<li *ngFor="let category of ticketCategories.categories;let counter = index" formArrayName="reservation" class="list-group-item">
<div [formGroupName]="counter" class="row">
<div class="col-sm-7">
<label>{{category.name}}</label>
<h3>{{category.name}}</h3>
<div translate="show-event.sales-end"></div>
<div [innerHtml]="category.description[translate.currentLang]"></div>
</div>
Expand Down

0 comments on commit 687fe2d

Please sign in to comment.