-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Alistair Laing <[email protected]>p
- Loading branch information
Showing
7 changed files
with
110 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.overlap-details { | ||
margin: 0; | ||
} | ||
|
||
.overlap-details__key, | ||
.overlap-details__value { | ||
margin: 0; | ||
display: inline; | ||
} | ||
|
||
.overlap-details__row--inline { | ||
display: inline; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
{% macro overlapDetails(params) %} | ||
<dl class="overlap-details"> | ||
<div class="overlap-details__row"> | ||
<dt class="overlap-details__key"> | ||
CRN: | ||
</dt> | ||
<dd class="overlap-details__value">{{ params.overlap.crn }}</dd> | ||
</div> | ||
<div class="overlap-details__row overlap-details__row--inline"> | ||
<dt class="overlap-details__key govuk-visually-hidden"> | ||
Overlap: | ||
</dt> | ||
<dd class="overlap-details__value">{{ params.overlap.overlapDays }}</dd> | ||
</div> | ||
</dl> | ||
<a class="govuk-link" | ||
href="{{ addPlaceContext(paths.bookings.show({premisesId: params.premisesId, roomId: params.overlap.roomId, bookingId: params.overlap.bookingId})) }}"> | ||
View booking | ||
</a> | ||
{% endmacro %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters