diff options
author | Philip Häusler <msquare@notrademark.de> | 2014-03-09 13:39:04 +0100 |
---|---|---|
committer | Philip Häusler <msquare@notrademark.de> | 2014-03-09 13:39:04 +0100 |
commit | f40b78faace47a564e0efbc613fac85b69ed8b3a (patch) | |
tree | df06bef42b577e28b61ade91d5a79c824061755e /includes/view | |
parent | 98f355cd86828ccb8a24f24ab06c29d53bff530c (diff) |
angeltypes about section
Diffstat (limited to 'includes/view')
-rw-r--r-- | includes/view/AngelTypes_view.php | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/includes/view/AngelTypes_view.php b/includes/view/AngelTypes_view.php index e8e1f56d..08305930 100644 --- a/includes/view/AngelTypes_view.php +++ b/includes/view/AngelTypes_view.php @@ -117,4 +117,19 @@ function AngelTypes_list_view($angeltypes, $admin_angeltypes) { )); } +function AngelTypes_about_view($angeltypes) { + $content = array( + '<p>' . _("Here is the list of teams and their tasks:") . '</p>' + ); + $parsedown = new Parsedown(); + foreach ($angeltypes as $angeltype) { + $content[] = '<h2>' . $angeltype['name'] . '</h2>'; + if ($angeltype['restricted']) + $content[] = info(_("This angeltype is restricted by double-opt-in by a team coordinator. Please show up at the according introduction meetings."), true); + $content[] = $parsedown->parse($angeltype['description']); + } + + return page($content); +} + ?>
\ No newline at end of file |