From 09da289c2fb18475f372bee24e885617da484e0b Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 17 Oct 2015 22:19:49 -0400 Subject: Move slack, hipchat and jabber integrations to plugins --- app/Template/user/integrations.php | 13 +++++++++++++ app/Template/user/sidebar.php | 3 +++ 2 files changed, 16 insertions(+) create mode 100644 app/Template/user/integrations.php (limited to 'app/Template/user') diff --git a/app/Template/user/integrations.php b/app/Template/user/integrations.php new file mode 100644 index 00000000..ef9d8e71 --- /dev/null +++ b/app/Template/user/integrations.php @@ -0,0 +1,13 @@ + + +
+ form->csrf() ?> + hook->render('template:user:integrations', array('values' => $values)) ?> + + + +

+ +
diff --git a/app/Template/user/sidebar.php b/app/Template/user/sidebar.php index ca1e0621..167c8054 100644 --- a/app/Template/user/sidebar.php +++ b/app/Template/user/sidebar.php @@ -56,6 +56,9 @@
  • app->getRouterController() === 'user' && $this->app->getRouterAction() === 'external' ? 'class="active"' : '' ?>> url->link(t('External accounts'), 'user', 'external', array('user_id' => $user['id'])) ?>
  • +
  • app->getRouterController() === 'user' && $this->app->getRouterAction() === 'integrations' ? 'class="active"' : '' ?>> + url->link(t('Integrations'), 'user', 'integrations', array('user_id' => $user['id'])) ?> +
  • user->isAdmin()): ?> -- cgit v1.2.3