summaryrefslogtreecommitdiff
path: root/includes/view/AngelTypes_view.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-03-09 13:39:04 +0100
committerPhilip Häusler <msquare@notrademark.de>2014-03-09 13:39:04 +0100
commitf40b78faace47a564e0efbc613fac85b69ed8b3a (patch)
treedf06bef42b577e28b61ade91d5a79c824061755e /includes/view/AngelTypes_view.php
parent98f355cd86828ccb8a24f24ab06c29d53bff530c (diff)
angeltypes about section
Diffstat (limited to 'includes/view/AngelTypes_view.php')
-rw-r--r--includes/view/AngelTypes_view.php15
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