From 8f6b3295e89af4c877f5522b9941fafd51b795c7 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sat, 11 Mar 2017 19:36:48 -0500 Subject: Move dashboard menu for calendar and activity stream --- app/Template/calendar/project.php | 6 ++++++ app/Template/calendar/show.php | 9 --------- app/Template/calendar/user.php | 4 ++++ 3 files changed, 10 insertions(+), 9 deletions(-) create mode 100644 app/Template/calendar/project.php delete mode 100644 app/Template/calendar/show.php create mode 100644 app/Template/calendar/user.php (limited to 'app/Template/calendar') diff --git a/app/Template/calendar/project.php b/app/Template/calendar/project.php new file mode 100644 index 00000000..769e019b --- /dev/null +++ b/app/Template/calendar/project.php @@ -0,0 +1,6 @@ +projectHeader->render($project, 'CalendarController', 'show') ?> + +calendar->render( + $this->url->href('CalendarController', 'projectEvents', array('project_id' => $project['id'])), + $this->url->href('CalendarController', 'save', array('project_id' => $project['id'])) +) ?> diff --git a/app/Template/calendar/show.php b/app/Template/calendar/show.php deleted file mode 100644 index 009fc07e..00000000 --- a/app/Template/calendar/show.php +++ /dev/null @@ -1,9 +0,0 @@ -
- projectHeader->render($project, 'CalendarController', 'show') ?> - - calendar->render( - $this->url->href('CalendarController', 'project', array('project_id' => $project['id'])), - $this->url->href('CalendarController', 'save', array('project_id' => $project['id'])) - ) ?> - -
diff --git a/app/Template/calendar/user.php b/app/Template/calendar/user.php new file mode 100644 index 00000000..c68bd32d --- /dev/null +++ b/app/Template/calendar/user.php @@ -0,0 +1,4 @@ +calendar->render( + $this->url->href('CalendarController', 'userEvents', array('user_id' => $user['id'])), + $this->url->href('CalendarController', 'save') +) ?> -- cgit v1.2.3