From 27328255cd727f188e735c2202d0ee95db265677 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Sun, 26 Feb 2017 14:19:53 -0500 Subject: Display project list icons on the right --- app/Template/project_list/listing.php | 4 ++++ app/Template/project_list/project_details.php | 2 +- app/Template/project_list/project_icons.php | 23 +++++++++++++++++++++++ app/Template/project_list/project_title.php | 22 ---------------------- 4 files changed, 28 insertions(+), 23 deletions(-) create mode 100644 app/Template/project_list/project_icons.php (limited to 'app/Template/project_list') diff --git a/app/Template/project_list/listing.php b/app/Template/project_list/listing.php index 9c5dfe0e..f8c46729 100644 --- a/app/Template/project_list/listing.php +++ b/app/Template/project_list/listing.php @@ -39,6 +39,10 @@ render('project_list/project_details', array( 'project' => $project, )) ?> + + render('project_list/project_icons', array( + 'project' => $project, + )) ?> diff --git a/app/Template/project_list/project_details.php b/app/Template/project_list/project_details.php index 136afc92..e83c6c7f 100644 --- a/app/Template/project_list/project_details.php +++ b/app/Template/project_list/project_details.php @@ -1,4 +1,4 @@ -
+
    0): ?>
  • text->e($project['owner_name'] ?: $project['owner_username']) ?>
  • diff --git a/app/Template/project_list/project_icons.php b/app/Template/project_list/project_icons.php new file mode 100644 index 00000000..c7e9c4a9 --- /dev/null +++ b/app/Template/project_list/project_icons.php @@ -0,0 +1,23 @@ +
    + + + + + + + + + user->hasAccess('ProjectUserOverviewController', 'managers')): ?> +   + + + + + + + + + + + +
    diff --git a/app/Template/project_list/project_title.php b/app/Template/project_list/project_title.php index ddec4131..01c655cf 100644 --- a/app/Template/project_list/project_title.php +++ b/app/Template/project_list/project_title.php @@ -8,26 +8,4 @@ url->link($this->text->e($project['name']), 'BoardViewController', 'show', array('project_id' => $project['id'])) ?> - - - - - - - - - - user->hasAccess('ProjectUserOverviewController', 'managers')): ?> -   - - - - - - - - - - -
-- cgit v1.2.3