Changed ReservationStatus handling a bit.

This commit is contained in:
Markus Birth 2016-08-11 01:00:53 +02:00
parent 4993a29013
commit b708c0431e
4 changed files with 7 additions and 7 deletions

View File

@ -13,7 +13,7 @@ Content-Type: text/html; charset=utf-8
<p>
<div itemscope itemtype="http://schema.org/EventReservation">
Reservation number: <span itemprop="reservationNumber">{{reservationNumber.value}}</span><br/>
<link itemprop="reservationStatus" href="{{reservationStatus.value}}"/>
<link itemprop="reservationStatus" href="http://schema.org/{{reservationStatus.value}}"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="{{underName_name.value}}"/>
<meta itemprop="email" content="{{underName_email.value}}"/>

View File

@ -13,7 +13,7 @@ Content-Type: text/html; charset=utf-8
<p>
<div itemscope itemtype="http://schema.org/FlightReservation">
Reservation number: <span itemprop="reservationNumber">{{reservationNumber.value}}</span><br/>
<link itemprop="reservationStatus" href="{{reservationStatus.value}}"/>
<link itemprop="reservationStatus" href="http://schema.org/{{reservationStatus.value}}"/>
<link itemprop="url" href="{{url.value}}"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
<meta itemprop="name" content="{{underName_name.value}}"/>

View File

@ -13,7 +13,7 @@ Content-Type: text/html; charset=utf-8
<p>
<div itemscope itemtype="http://schema.org/LodgingReservation">
Reservation number: <span itemprop="reservationNumber">{{reservationNumber.value}}</span><br/>
<link itemprop="reservationStatus" href="{{reservationStatus.value}}"/>
<link itemprop="reservationStatus" href="http://schema.org/{{reservationStatus.value}}"/>
<div itemprop="underName" itemscope itemtype="http://schema.org/Person">
Reserved for: <span itemprop="name">{{underName_name.value}}</span>, <span itemprop="email">{{underName_email.value}}</span><br/>
</div>

View File

@ -2,10 +2,10 @@
<!-- https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2 -->
<select id="{{field_id}}" name="{{field_id}}" {{#required}}required{{/required}} size="1" class="mdlext-selectfield__select" data-value="{{value}}">
<option value=""></option>
<option value="http://schema.org/Confirmed">Confirmed</option>
<option value="http://schema.org/Cancelled">Cancelled</option>
<option value="http://schema.org/Pending">Pending</option>
<option value="http://schema.org/Hold">Hold</option>
<option value="Confirmed">Confirmed</option>
<option value="Cancelled">Cancelled</option>
<option value="Pending">Pending</option>
<option value="Hold">Hold</option>
</select>
<label for="{{field_id}}" class="mdlext-selectfield__label">{{title}}</label>
<span class="mdlext-selectfield__error">Please select a status!</span>