From b81c4f6ff49fba1b9ef99272766932116a4b7dd1 Mon Sep 17 00:00:00 2001 From: Oliver Davies Date: Sat, 12 Sep 2015 20:42:18 +0100 Subject: [PATCH] Use Bootstrap panel markup --- .../opdavies/oliverdavies/_layouts/default.html.twig | 8 ++------ .../oliverdavies/_partials/availability.html.twig | 6 +++--- 2 files changed, 5 insertions(+), 9 deletions(-) diff --git a/source/themes/opdavies/oliverdavies/_layouts/default.html.twig b/source/themes/opdavies/oliverdavies/_layouts/default.html.twig index 808d9661..a02f4eec 100644 --- a/source/themes/opdavies/oliverdavies/_layouts/default.html.twig +++ b/source/themes/opdavies/oliverdavies/_layouts/default.html.twig @@ -65,19 +65,15 @@ {% block sidebar_wrapper %}
{% block sidebar %} -
-

Drupal Association

+
Drupal Association Individual Member -
-
-

DrupalCon Barcelona

I’m attending DrupalCon Barcelona. -
+
{% include 'availability' %} {% endblock sidebar %} diff --git a/source/themes/opdavies/oliverdavies/_partials/availability.html.twig b/source/themes/opdavies/oliverdavies/_partials/availability.html.twig index caea524a..4f46cce0 100644 --- a/source/themes/opdavies/oliverdavies/_partials/availability.html.twig +++ b/source/themes/opdavies/oliverdavies/_partials/availability.html.twig @@ -1,7 +1,7 @@ -
-

Availability

+
+
Availability
-
+
{% set now = "now"|date('U') %} {% for type, data in site.availability.status %}