From fbbea4eb5f8e72386a78c3b4639147b6e82a8535 Mon Sep 17 00:00:00 2001 From: msquare Date: Sat, 23 Dec 2017 11:59:13 +0100 Subject: [PATCH] add show on dashboard flag for angeltypes --- db/update.sql | 4 + includes/controller/angeltypes_controller.php | 1 + .../public_dashboard_controller.php | 65 +++++- includes/model/AngelType_model.php | 19 +- includes/model/Shifts_model.php | 2 +- includes/view/AngelTypes_view.php | 14 +- includes/view/PublicDashboard_view.php | 27 +-- locale/de_DE.UTF-8/LC_MESSAGES/default.mo | Bin 43309 -> 43370 bytes locale/de_DE.UTF-8/LC_MESSAGES/default.po | 199 +++++++++--------- 9 files changed, 201 insertions(+), 130 deletions(-) diff --git a/db/update.sql b/db/update.sql index b36ea522..6e1c6dc5 100644 --- a/db/update.sql +++ b/db/update.sql @@ -45,3 +45,7 @@ update Room set `from_frab`=(`FromPentabarf`='Y'); ALTER TABLE `Room` DROP `FromPentabarf`; ALTER TABLE `Room` ADD `map_url` VARCHAR(300) NULL AFTER `from_frab`; ALTER TABLE `Room` ADD `description` TEXT NULL AFTER `map_url`; + +-- Dashboard +ALTER TABLE `AngelTypes` ADD `show_on_dashboard` BOOLEAN NOT NULL AFTER `contact_email`; +UPDATE `AngelTypes` SET `show_on_dashboard`=TRUE; diff --git a/includes/controller/angeltypes_controller.php b/includes/controller/angeltypes_controller.php index 621b5cbd..48b81b9f 100644 --- a/includes/controller/angeltypes_controller.php +++ b/includes/controller/angeltypes_controller.php @@ -141,6 +141,7 @@ function angeltype_edit_controller() $angeltype['restricted'] = $request->has('restricted'); $angeltype['no_self_signup'] = $request->has('no_self_signup'); + $angeltype['show_on_dashboard'] = $request->has('show_on_dashboard'); $angeltype['requires_driver_license'] = $request->has('requires_driver_license'); } diff --git a/includes/controller/public_dashboard_controller.php b/includes/controller/public_dashboard_controller.php index 3cd85a50..4a36ea42 100644 --- a/includes/controller/public_dashboard_controller.php +++ b/includes/controller/public_dashboard_controller.php @@ -12,7 +12,14 @@ function public_dashboard_controller() 'hours-to-work' => stats_hours_to_work() ]; - $free_shifts = Shifts_free(time(), time() + 12 * 60 * 60); + $free_shifts_source = Shifts_free(time(), time() + 12 * 60 * 60); + $free_shifts = []; + foreach ($free_shifts_source as $shift) { + $free_shift = public_dashboard_controller_free_shift($shift); + if(count($free_shift['needed_angels']) > 0) { + $free_shifts[] = $free_shift; + } + } return [ _('Public Dashboard'), @@ -20,6 +27,62 @@ function public_dashboard_controller() ]; } +/** + * Gathers informations for free shifts to display. + * + * @param array $shift + */ +function public_dashboard_controller_free_shift($shift) +{ + $shifttype = ShiftType($shift['shifttype_id']); + $room = Room($shift['RID']); + + $free_shift = [ + 'style' => 'default', + 'start' => date('H:i', $shift['start']), + 'end' => date('H:i', $shift['end']), + 'duration' => round(($shift['end'] - $shift['start']) / 3600), + 'shifttype_name' => $shifttype['name'], + 'title' => $shift['title'], + 'room_name' => $room['Name'], + 'needed_angels' => [] + ]; + + if (time() + 3 * 60 * 60 > $shift['start']) { + $free_shift['style'] = 'warning'; + } + if (time() > $shift['start']) { + $free_shift['style'] = 'danger'; + } + + $free_shift['needed_angels'] = public_dashboard_needed_angels($shift['NeedAngels']); + + return $free_shift; +} + +/** + * Gathers informations for needed angels on dashboard + * + * @param array $needed_angels + */ +function public_dashboard_needed_angels($needed_angels) +{ + $result = []; + foreach ($needed_angels as $needed_angel) { + $need = $needed_angel['count'] - $needed_angel['taken']; + if ($need > 0) { + $angeltype = AngelType($needed_angel['TID']); + if ($angeltype['show_on_dashboard']) { + $result[] = [ + 'need' => $need, + 'angeltype_name' => $angeltype['name'] + ]; + } + } + } + return $result; +} + /** * Returns url to public dashboard */ diff --git a/includes/model/AngelType_model.php b/includes/model/AngelType_model.php index bdfb0e6e..f6e2a9cf 100644 --- a/includes/model/AngelType_model.php +++ b/includes/model/AngelType_model.php @@ -18,7 +18,8 @@ function AngelType_new() 'requires_driver_license' => false, 'contact_name' => null, 'contact_dect' => null, - 'contact_email' => null + 'contact_email' => null, + 'show_on_dashboard' => true ]; } @@ -65,7 +66,8 @@ function AngelType_update($angeltype) `no_self_signup` = ?, `contact_name` = ?, `contact_dect` = ?, - `contact_email` = ? + `contact_email` = ?, + `show_on_dashboard` = ? WHERE `id` = ?', [ $angeltype['name'], @@ -76,6 +78,7 @@ function AngelType_update($angeltype) $angeltype['contact_name'], $angeltype['contact_dect'], $angeltype['contact_email'], + (int)$angeltype['show_on_dashboard'], $angeltype['id'], ] ); @@ -86,7 +89,8 @@ function AngelType_update($angeltype) . ($angeltype['requires_driver_license'] ? ', requires driver license' : '') . ', ' . $angeltype['contact_name'] . ', ' . $angeltype['contact_dect'] . ', ' - . $angeltype['contact_email'] + . $angeltype['contact_email'] . ', ' + . $angeltype['show_on_dashboard'] ); } @@ -107,9 +111,10 @@ function AngelType_create($angeltype) `no_self_signup`, `contact_name`, `contact_dect`, - `contact_email` + `contact_email`, + `show_on_dashboard` ) - VALUES (?, ?, ?, ?, ?, ?, ?, ?) + VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) ', [ $angeltype['name'], @@ -120,6 +125,7 @@ function AngelType_create($angeltype) $angeltype['contact_name'], $angeltype['contact_dect'], $angeltype['contact_email'], + $angeltype['show_on_dashboard'] ] ); @@ -130,7 +136,8 @@ function AngelType_create($angeltype) . ($angeltype['requires_driver_license'] ? ', requires driver license' : '') . ', ' . $angeltype['contact_name'] . ', ' . $angeltype['contact_dect'] . ', ' - . $angeltype['contact_email'] + . $angeltype['contact_email'] . ', ' + . $angeltype['show_on_dashboard'] ); return $angeltype; } diff --git a/includes/model/Shifts_model.php b/includes/model/Shifts_model.php index ad64e9b9..caca2a33 100644 --- a/includes/model/Shifts_model.php +++ b/includes/model/Shifts_model.php @@ -27,7 +27,7 @@ function Shifts_by_angeltype($angeltype) { } /** - * Returns every shift with needed angels in the given time range. + * Returns every shift with needed angels in the given time range. */ function Shifts_free($start, $end) { diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php index a8b34df8..a5c10a38 100644 --- a/includes/view/AngelTypes_view.php +++ b/includes/view/AngelTypes_view.php @@ -84,6 +84,10 @@ function AngelType_edit_view($angeltype, $supporter_mode) $supporter_mode ? form_info(_('Restricted'), $angeltype['restricted'] ? _('Yes') : _('No')) : form_checkbox('restricted', _('Restricted'), $angeltype['restricted']), + form_info( + '', + _('Restricted angel types can only be used by an angel if enabled by a supporter (double opt-in).') + ), $supporter_mode ? form_info(_('No Self Sign Up'), $angeltype['no_self_signup'] ? _('Yes') : _('No')) : form_checkbox('no_self_signup', _('No Self Sign Up'), $angeltype['no_self_signup']), @@ -92,12 +96,10 @@ function AngelType_edit_view($angeltype, $supporter_mode) : form_checkbox( 'requires_driver_license', _('Requires driver license'), - $angeltype['requires_driver_license'] - ), - form_info( - '', - _('Restricted angel types can only be used by an angel if enabled by a supporter (double opt-in).') - ), + $angeltype['requires_driver_license']), + $supporter_mode + ? form_info(_('Show on dashboard'), $angeltype['show_on_dashboard'] ? _('Yes') : _('No')) + : form_checkbox('show_on_dashboard', _('Show on dashboard'), $angeltype['show_on_dashboard']), form_textarea('description', _('Description'), $angeltype['description']), form_info('', _('Please use markdown for the description.')), heading(_('Contact'), 3), diff --git a/includes/view/PublicDashboard_view.php b/includes/view/PublicDashboard_view.php index 7ae434a2..30f63d63 100644 --- a/includes/view/PublicDashboard_view.php +++ b/includes/view/PublicDashboard_view.php @@ -51,35 +51,22 @@ function public_dashboard_view($stats, $free_shifts) */ function public_dashborad_shift_render($shift) { - $style = 'default'; - if (time() + 3 * 60 * 60 > $shift['start']) { - $style = 'warning'; - } - if (time() > $shift['start']) { - $style = 'danger'; - } - - $panel_body = glyph('time') . date('H:i', $shift['start']) . ' - ' . date('H:i', $shift['end']); - $panel_body .= ' (' . round(($shift['end'] - $shift['start']) / 3600) . ' h)'; + $panel_body = glyph('time') . $shift['start'] . ' - ' . $shift['end']; + $panel_body .= ' (' . $shift['duration'] . ' h)'; - $panel_body .= '
' . glyph('tasks') . ShiftType($shift['shifttype_id'])['name']; + $panel_body .= '
' . glyph('tasks') . $shift['shifttype_name']; if (! empty($shift['title'])) { $panel_body .= ' (' . $shift['title'] . ')'; } - $panel_body .= '
' . glyph('map-marker') . Room($shift['RID'])['Name']; + $panel_body .= '
' . glyph('map-marker') . $shift['room_name']; - foreach ($shift['NeedAngels'] as $needed_angels) { - $need = $needed_angels['count'] - $needed_angels['taken']; - if ($need > 0) { - $panel_body .= '
' . glyph('user') . '' . $need . ' × ' . AngelType($needed_angels['TID'])['name'] . ''; - } + foreach ($shift['needed_angels'] as $needed_angels) { + $panel_body .= '
' . glyph('user') . '' . $needed_angels['need'] . ' × ' . $needed_angels['angeltype_name'] . ''; } - // $panel_body = '' . $panel_body . ''; - return div('col-md-3', [ - div('dashboard-panel panel panel-' . $style, [ + div('dashboard-panel panel panel-' . $shift['style'], [ div('panel-body', [ '', $panel_body diff --git a/locale/de_DE.UTF-8/LC_MESSAGES/default.mo b/locale/de_DE.UTF-8/LC_MESSAGES/default.mo index 538fe0e3786deaac3e74bb01ed3172b0c09e8c99..e66ec098334e584798d94847907f2304551f12cb 100644 GIT binary patch delta 10510 zcmYk=37k*W|Htt=`wV6`X8F#TeV;L=!7z3urVxHaBSeEyhDJ%Ud}j(-lI7YevQ{G` zLwjfnA%vohl**DHWl8$|!vFQ2d;A~2@8f@Zp3k}Wp5=4Sz2pDec*OI!BcARb!n_w* z{8BtED;C>?TGk2b4<@PAvJT~1ma2!bFkTS#_$kKYPpAPs?r>&WA7h9UQ3JI>O{_1fqlYjAN1!tK6o%nc zY=BElycU(IcQFWepj#e`e^h^uHYfkyR34{6K80H0WYo;(pi(>^wc@21j;oFDpic8X z)XFcQGV%{P^*(Sp{ZChT5s8a_aET#HK0kEj98q7GYwA}2GE zsI5syb{*o2dKznT;kIjJhwX zBl*|fCDEYwISqAV4ywZf)b$RiLwOhKY;-g6091z$qn;aO+8;+vV4{hqqwaeFm4PLw z`!{rSJ1g8mgJ$#|YQ>+J8$Uyx>f@+^e>3slsEPS?awb|IbzhV*&Dabza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WX z7888Y-uMw7qP*kIN{eq?!%pf$S`Kp8rxfkyfpD0%H548F4NkcGQCg#}6|{a!Sw?G& zeL@m-mo|M#bzG$sQ^wdQyo;A8Z&Pm4J`(r19n*_^PEz~XeKI}G>vMNcdK;gk#G72N zj2N#YZfr(c;Ge`ghT{ddcSdO9SJYmiq|tiIo^6FQh!iEu$%8Us-OUp9KHA;fpE;ALs?Jz zOYW@9h`>6W-Al`S$_95sX6UF&&RwN^O8Ng|E%6GW#19Y|49-Z-{ji<1R`e z^@Wtdly$^q_!@qMzHU@j%#ejd|9=c64zg{2j4R5Hd=zas1@9nj5v^1pX2&A7Trs~|!`CZh*+$&iz{ws-o zqa?Y(*)cwUQ+wWRoE_@fL2VzUEmvk>XNr!Nc$`vdW3}nWXQV3jc#(5K^tc4C(KeOx z10{`k4rLNWM}4mO_n1lBF@pZMK|gFyQMpcurLhTac0bF`_j!-nayK|9!mFm6krNYj znfQ0gzekC!A8?1{#CX+qr{}~3zf7BcHvT<)cD#_&HMycsm|t!}UXzxM8@qmE5^X(i PN24)UGI!*cH;MQkki}yl diff --git a/locale/de_DE.UTF-8/LC_MESSAGES/default.po b/locale/de_DE.UTF-8/LC_MESSAGES/default.po index 5fe64ee7..db98357b 100644 --- a/locale/de_DE.UTF-8/LC_MESSAGES/default.po +++ b/locale/de_DE.UTF-8/LC_MESSAGES/default.po @@ -1,8 +1,8 @@ msgid "" msgstr "" "Project-Id-Version: Engelsystem 2.0\n" -"POT-Creation-Date: 2017-12-20 23:11+0100\n" -"PO-Revision-Date: 2017-12-20 23:12+0100\n" +"POT-Creation-Date: 2017-12-23 11:35+0100\n" +"PO-Revision-Date: 2017-12-23 11:35+0100\n" "Last-Translator: msquare \n" "Language-Team: \n" "Language: de_DE\n" @@ -24,15 +24,15 @@ msgstr "Bitte auswählen..." #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:12 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:221 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:77 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:130 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:132 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:514 msgid "Angeltypes" msgstr "Engeltypen" #: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:68 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:503 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:488 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:587 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:490 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:589 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:130 msgid "Teams/Job description" msgstr "Team-/Aufgabenbeschreibung" @@ -52,28 +52,28 @@ msgstr "Lösche Engeltyp %s" msgid "Please check the name. Maybe it already exists." msgstr "Bitte überprüfe den Namen. Vielleicht ist er bereits vergeben." -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:167 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:168 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:75 #, php-format msgid "Edit %s" msgstr "%s bearbeiten" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:204 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:333 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:205 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:335 #, php-format msgid "Team %s" msgstr "Team %s" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:287 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:288 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:357 msgid "view" msgstr "ansehen" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:295 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:296 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:97 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_groups.php:43 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:25 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:163 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:165 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:92 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:124 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Shifts_view.php:132 @@ -82,14 +82,14 @@ msgstr "ansehen" msgid "edit" msgstr "bearbeiten" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:300 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:301 #: /Users/msquare/workspace/projects/engelsystem/includes/controller/shifts_controller.php:241 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_questions.php:58 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_questions.php:76 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:26 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:174 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:59 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:170 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:172 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Questions_view.php:15 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Questions_view.php:26 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftEntry_view.php:21 @@ -101,19 +101,19 @@ msgstr "bearbeiten" msgid "delete" msgstr "löschen" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:311 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:156 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:524 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:312 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:158 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:526 msgid "leave" msgstr "verlassen" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:317 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:140 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:529 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:318 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:142 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:531 msgid "join" msgstr "mitmachen" -#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:354 +#: /Users/msquare/workspace/projects/engelsystem/includes/controller/angeltypes_controller.php:355 msgid "Angeltype doesn't exist . " msgstr "Engeltyp existiert nicht." @@ -295,9 +295,9 @@ msgstr "Benötigte Engel" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:166 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_shifts.php:299 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_messages.php:76 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:168 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:257 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:111 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:180 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:269 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:113 #: /Users/msquare/workspace/projects/engelsystem/includes/view/EventConfig_view.php:150 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Questions_view.php:47 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftEntry_view.php:75 @@ -472,13 +472,13 @@ msgid "Removed supporter rights for %s from %s." msgstr "%s hat jetzt nicht mehr %s als Supporter." #: /Users/msquare/workspace/projects/engelsystem/includes/controller/user_angeltypes_controller.php:287 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:250 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:252 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:12 msgid "Add supporter rights" msgstr "Supporterrechte geben" #: /Users/msquare/workspace/projects/engelsystem/includes/controller/user_angeltypes_controller.php:287 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:233 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:235 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:12 msgid "Remove supporter rights" msgstr "Supporterrechte entfernen" @@ -800,8 +800,8 @@ msgstr "entferne t-shirt" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:195 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:210 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_arrive.php:225 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:411 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:419 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:413 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:421 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:218 msgid "Sum" msgstr "Summe" @@ -847,7 +847,7 @@ msgstr "Größe" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_active.php:278 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_shifts.php:11 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:344 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:346 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Rooms_view.php:33 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:522 msgid "Shifts" @@ -982,8 +982,8 @@ msgstr "Nur bestätigte" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:119 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:310 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:478 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:285 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:298 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:287 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:300 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:31 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:117 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:234 @@ -992,10 +992,10 @@ msgstr "Nick" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:121 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:366 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:109 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:286 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:299 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:468 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:111 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:288 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:301 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:470 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:50 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:237 msgid "DECT" @@ -1009,8 +1009,8 @@ msgstr "Jabber" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_free.php:123 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/guest_login.php:313 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:110 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:469 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:112 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:471 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:52 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:553 msgid "E-Mail" @@ -1027,9 +1027,9 @@ msgstr "Gruppenrechte" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:200 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:82 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:83 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:108 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:467 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:491 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:110 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:469 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:493 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:61 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:141 #: /Users/msquare/workspace/projects/engelsystem/includes/view/User_view.php:236 @@ -1208,19 +1208,19 @@ msgid "Author" msgstr "Autor" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:37 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:254 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:266 msgid "Subject" msgstr "Betreff" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:38 #: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_messages.php:119 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:167 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:255 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:179 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:267 msgid "Message" msgstr "Nachricht" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_news.php:39 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:256 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:268 msgid "Meeting" msgstr "Treffen" @@ -1307,8 +1307,8 @@ msgstr "" "Die Karten URL wird benutzt um auf der Raum-Seite ein iframe anzuzeigen." #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:154 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:101 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:390 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:103 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:392 #: /Users/msquare/workspace/projects/engelsystem/includes/view/Rooms_view.php:23 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:63 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:101 @@ -1317,7 +1317,7 @@ msgid "Description" msgstr "Beschreibung" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_rooms.php:155 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:102 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:104 #: /Users/msquare/workspace/projects/engelsystem/includes/view/ShiftTypes_view.php:64 msgid "Please use markdown for the description." msgstr "Bitte benutze Markdown für die Beschreibung." @@ -1441,15 +1441,17 @@ msgstr "Benutzer existiert nicht." #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:74 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:85 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:88 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:91 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:92 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:95 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:101 msgid "Yes" msgstr "Ja" #: /Users/msquare/workspace/projects/engelsystem/includes/pages/admin_user.php:75 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:85 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:88 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:91 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:92 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:95 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:101 msgid "No" msgstr "Nein" @@ -1769,24 +1771,24 @@ msgstr "News" msgid "Meetings" msgstr "Treffen" -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:103 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:115 msgid "Comments" msgstr "Kommentare" -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:144 -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:212 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:156 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:224 msgid "Entry saved." msgstr "Eintrag gespeichert." -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:165 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:177 msgid "New Comment:" msgstr "Neuer Kommentar:" -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:171 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:183 msgid "Invalid request." msgstr "Ungültige Abfrage." -#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:251 +#: /Users/msquare/workspace/projects/engelsystem/includes/pages/user_news.php:263 msgid "Create news:" msgstr "News anlegen:" @@ -1940,7 +1942,7 @@ msgid "No data found." msgstr "Nichts gefunden." #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:31 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:441 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:443 msgid "Unconfirmed" msgstr "Unbestätigt" @@ -1974,21 +1976,11 @@ msgstr "abbrechen" #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:85 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:86 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:492 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:494 msgid "Restricted" msgstr "Beschränkt" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:88 #: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:89 -msgid "No Self Sign Up" -msgstr "Kein Selbst-Eintragen" - -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:91 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:94 -msgid "Requires driver license" -msgstr "Benötigt Führerschein" - -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:99 msgid "" "Restricted angel types can only be used by an angel if enabled by a " "supporter (double opt-in)." @@ -1996,20 +1988,35 @@ msgstr "" "Beschränkte Engeltypen müssen von einem Supporter freigeschaltet werden " "(double-opt-in)." -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:103 -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:466 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:92 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:93 +msgid "No Self Sign Up" +msgstr "Kein Selbst-Eintragen" + +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:95 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:98 +msgid "Requires driver license" +msgstr "Benötigt Führerschein" + +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:101 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:102 +msgid "Show on dashboard" +msgstr "Auf dem Dashboard anzeigen" + +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:105 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:468 msgid "Contact" msgstr "Kontakt" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:106 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:108 msgid "Primary contact person/desk for user questions." msgstr "Ansprechpartner für Fragen." -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:134 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:136 msgid "my driving license" msgstr "Meine Führerschein-Infos" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:145 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:147 msgid "" "This angeltype requires a driver license. Please enter your driver license " "information!" @@ -2017,7 +2024,7 @@ msgstr "" "Dieser Engeltyp benötigt Führerschein-Infos. Bitte trage Deine Führerschein-" "Infos ein!" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:150 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:152 #, php-format msgid "" "You are unconfirmed for this angeltype. Please go to the introduction for %s " @@ -2026,86 +2033,86 @@ msgstr "" "Du bist noch nicht für diesen Engeltyp bestätigt. Bitte gehe zur Einführung " "für %s um bestätigt zu werden." -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:211 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:213 msgid "confirm" msgstr "bestätigen" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:219 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:221 msgid "deny" msgstr "ablehnen" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:257 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:259 msgid "remove" msgstr "entfernen" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:287 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:289 msgid "Driver" msgstr "Fahrer" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:288 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:290 msgid "Has car" msgstr "Hat Auto" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:289 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:291 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserDriverLicenses_view.php:29 msgid "Car" msgstr "Auto" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:290 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:292 msgid "3,5t Transporter" msgstr "3,5t Transporter" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:291 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:293 msgid "7,5t Truck" msgstr "7,5t LKW" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:292 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:294 msgid "12,5t Truck" msgstr "12,5t LKW" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:293 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:295 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserDriverLicenses_view.php:45 msgid "Forklift" msgstr "Gabelstapler" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:337 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:339 msgid "Info" msgstr "Info" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:405 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:407 msgid "Supporters" msgstr "Supporter" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:425 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:427 msgid "Members" msgstr "Mitglieder" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:433 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:435 #: /Users/msquare/workspace/projects/engelsystem/includes/view/UserAngelTypes_view.php:163 msgid "Add" msgstr "Hinzufügen" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:445 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:447 msgid "confirm all" msgstr "Alle bestätigen" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:449 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:451 msgid "deny all" msgstr "Alle ablehnen" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:486 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:488 msgid "New angeltype" msgstr "Neuer Engeltyp" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:493 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:495 msgid "Self Sign Up Allowed" msgstr "Selbst-Eintragen erlaubt" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:494 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:496 msgid "Membership" msgstr "Mitgliedschaft" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:538 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:540 msgid "" "This angeltype is restricted by double-opt-in by a team supporter. Please " "show up at the according introduction meetings." @@ -2113,11 +2120,11 @@ msgstr "" "Dieser Engeltyp muss zusätzlich von einem Team-Supporter freigeschaltet " "werden. Bitte komme zu den entsprechenden Einführungstreffen." -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:575 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:577 msgid "FAQ" msgstr "FAQ" -#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:580 +#: /Users/msquare/workspace/projects/engelsystem/includes/view/AngelTypes_view.php:582 msgid "" "Here is the list of teams and their tasks. If you have questions, read the " "FAQ."