From 73c47d9461cbfea88c84f3f2b01cdeb2d22c2f87 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Fri, 19 Jun 2015 19:38:23 -0400 Subject: Add RSS feed for users and change address of project feeds --- app/Template/feed/project.php | 27 +++++++++++++++++++++++++++ app/Template/feed/user.php | 27 +++++++++++++++++++++++++++ 2 files changed, 54 insertions(+) create mode 100644 app/Template/feed/project.php create mode 100644 app/Template/feed/user.php (limited to 'app/Template/feed') diff --git a/app/Template/feed/project.php b/app/Template/feed/project.php new file mode 100644 index 00000000..60b7ee96 --- /dev/null +++ b/app/Template/feed/project.php @@ -0,0 +1,27 @@ +' ?> + + <?= t('%s\'s activity', $project['name']) ?> + + + + url->base().$this->url->href('feed', 'project', array('token' => $project['token'])) ?> + url->base() ?>assets/img/favicon.png + + + + <?= $e['event_title'] ?> + + + + + + e($e['author']) ?> + + + + ]]> + + + + \ No newline at end of file diff --git a/app/Template/feed/user.php b/app/Template/feed/user.php new file mode 100644 index 00000000..b3279a0c --- /dev/null +++ b/app/Template/feed/user.php @@ -0,0 +1,27 @@ +' ?> + + <?= t('Project activities for %s', $user['name'] ?: $user['username']) ?> + + + + url->base().$this->url->href('feed', 'user', array('token' => $user['token'])) ?> + url->base() ?>assets/img/favicon.png + + + + <?= $e['event_title'] ?> + + + + + + e($e['author']) ?> + + + + ]]> + + + + \ No newline at end of file -- cgit v1.2.3