From 9a5e00c84290007911e593c8f6208eca384891fe Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Mon, 10 Aug 2015 02:13:56 +0100 Subject: [PATCH] Issue #11: Added messages --- source/_partials/availability.html.twig | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/source/_partials/availability.html.twig b/source/_partials/availability.html.twig index e69de29b..9b179466 100644 --- a/source/_partials/availability.html.twig +++ b/source/_partials/availability.html.twig @@ -0,0 +1,19 @@ +
+

Availability

+
+ {% if (site.availability.day.available == 'no') %} +

Not available for day contract work.

+ {% else %} +

Available for day contract work.

+ {% endif %} + + {% if (site.availability.evenings.available == 'yes') %} +

Available for weekend/evening freelance work.

+ {% elseif (site.availability.evenings.available == 'limited') %} +

Limited availability for weekend/evening freelance work.

+ {% else %} +

Not available for weekend/evening freelance work.

+ {% endif %} + +
+