From: Nik Okuntseff Date: Tue, 20 Nov 2018 21:56:40 +0000 (+0000) Subject: Started to work on group editor for subgroups. X-Git-Tag: timetracker_1.19-1~595 X-Git-Url: http://wagnertech.de/git?a=commitdiff_plain;h=78ef5f9b455fc04a3fe8535f234d98bddf4de6c9;p=timetracker.git Started to work on group editor for subgroups. --- diff --git a/WEB-INF/templates/footer.tpl b/WEB-INF/templates/footer.tpl index 98ee48de..9a9be2d0 100644 --- a/WEB-INF/templates/footer.tpl +++ b/WEB-INF/templates/footer.tpl @@ -12,7 +12,7 @@
-
 Anuko Time Tracker 1.18.25.4476 | Copyright © Anuko | +  Anuko Time Tracker 1.18.25.4477 | Copyright © Anuko | {$i18n.footer.credits} | {$i18n.footer.license} | {$i18n.footer.improve} diff --git a/WEB-INF/templates/groups.tpl b/WEB-INF/templates/groups.tpl new file mode 100644 index 00000000..d9748bcb --- /dev/null +++ b/WEB-INF/templates/groups.tpl @@ -0,0 +1,31 @@ + + + + + + + + +{if $groups} + {foreach $groups as $group} + + + + + + {/foreach} +{/if} +
{$i18n.label.thing_name}{$i18n.label.edit}{$i18n.label.delete}
{$group.name|escape}{$i18n.label.edit}{$i18n.label.delete}
+ + + + + +
+
+
+ +
+
diff --git a/groups.php b/groups.php new file mode 100644 index 00000000..5a612c13 --- /dev/null +++ b/groups.php @@ -0,0 +1,45 @@ +assign('groups', $user->getGroups()); +$smarty->assign('title', $i18n->get('title.groups')); +$smarty->assign('content_page_name', 'groups.tpl'); +$smarty->display('index.tpl');