summaryrefslogtreecommitdiff
path: root/includes/view
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-12-22 18:06:58 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-12-22 18:06:58 +0100
commitc12e5336fbe93c4596bd26c2bc4c9ee7390759fc (patch)
tree528ba766e5fb4817a9864c92d1fcc1829674beb3 /includes/view
parent6a05c3d9deb306eb7f64b275f54ec9dffec31023 (diff)
display shifts with title
Diffstat (limited to 'includes/view')
-rw-r--r--includes/view/Shifts_view.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/includes/view/Shifts_view.php b/includes/view/Shifts_view.php
index c796b13e..91a553ec 100644
--- a/includes/view/Shifts_view.php
+++ b/includes/view/Shifts_view.php
@@ -48,6 +48,10 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source,
]) : '',
div('row', [
div('col-sm-3 col-xs-6', [
+ '<h4>' . _('Title') . '</h4>',
+ '<p class="lead">' . ($shift['URL'] != '' ? '<a href="' . $shift['URL'] . '">' . $shift['title'] . '</a>' : $shift['title']) . '</p>'
+ ]),
+ div('col-sm-3 col-xs-6', [
'<h4>' . _('Start') . '</h4>',
'<p class="lead">',
date('y-m-d', $shift['start']),
@@ -66,10 +70,6 @@ function Shift_view($shift, $shifttype, $room, $shift_admin, $angeltypes_source,
div('col-sm-3 col-xs-6', [
'<h4>' . _('Location') . '</h4>',
'<p class="lead">' . $room['Name'] . '</p>'
- ]),
- div('col-sm-3 col-xs-6', [
- '<h4>' . _('More info') . '</h4>',
- $shift['URL'] != '' ? '<a href="' . $shift['URL'] . '">' . $shift['URL'] . '</a>' : ''
])
]),
div('row', [