From b792faf9b016f7871c6fa54ea2164e6c83ecb88e Mon Sep 17 00:00:00 2001 From: Eike Foken Date: Wed, 21 Sep 2011 01:21:18 +0200 Subject: [PATCH] Show edit functions only to project owners and admins --- application/views/projects/detail.php | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/application/views/projects/detail.php b/application/views/projects/detail.php index 96bc293..a2447cc 100644 --- a/application/views/projects/detail.php +++ b/application/views/projects/detail.php @@ -5,12 +5,14 @@

» -

+access->profile()->id || $this->access->isAdmin()): +?>

@@ -21,6 +23,14 @@

+ +

+ +
@@ -131,7 +141,6 @@