From 23417da7638868962e23667791b4b3c43c76195f Mon Sep 17 00:00:00 2001 From: Frédéric Guillot Date: Tue, 19 Feb 2019 14:45:01 -0800 Subject: Replace accordion Javascript component by
HTML element --- app/Template/project_overview/activity.php | 8 +++----- app/Template/project_overview/attachments.php | 8 +++----- app/Template/project_overview/description.php | 8 +++----- app/Template/project_overview/information.php | 8 +++----- app/Template/subtask/show.php | 8 +++----- app/Template/task/description.php | 8 +++----- app/Template/task_comments/show.php | 8 +++----- app/Template/task_external_link/show.php | 8 +++----- app/Template/task_file/show.php | 8 +++----- app/Template/task_internal_link/show.php | 8 +++----- 10 files changed, 30 insertions(+), 50 deletions(-) (limited to 'app/Template') diff --git a/app/Template/project_overview/activity.php b/app/Template/project_overview/activity.php index 2eb7a193..d3a8e55e 100644 --- a/app/Template/project_overview/activity.php +++ b/app/Template/project_overview/activity.php @@ -1,8 +1,6 @@ -
-
-

-
+
> +
render('event/events', array('events' => $events)) ?>
-
\ No newline at end of file +
\ No newline at end of file diff --git a/app/Template/project_overview/attachments.php b/app/Template/project_overview/attachments.php index b8baadd0..745b0a70 100644 --- a/app/Template/project_overview/attachments.php +++ b/app/Template/project_overview/attachments.php @@ -1,7 +1,5 @@ -
-
-

-
+
> +
user->hasProjectAccess('ProjectFileController', 'create', $project['id'])): ?>
@@ -12,4 +10,4 @@ render('project_overview/images', array('project' => $project, 'images' => $images)) ?> render('project_overview/files', array('project' => $project, 'files' => $files)) ?>
-
+ diff --git a/app/Template/project_overview/description.php b/app/Template/project_overview/description.php index 80b93efe..38deda95 100644 --- a/app/Template/project_overview/description.php +++ b/app/Template/project_overview/description.php @@ -1,7 +1,5 @@ -
-
-

-
+
> +
user->hasProjectAccess('ProjectEditController', 'show', $project['id'])): ?>
@@ -12,4 +10,4 @@ text->markdown($project['description']) ?>
-
+ diff --git a/app/Template/project_overview/information.php b/app/Template/project_overview/information.php index e8c20903..13e1af01 100644 --- a/app/Template/project_overview/information.php +++ b/app/Template/project_overview/information.php @@ -1,7 +1,5 @@ -
-
-

-
+
+
    @@ -36,4 +34,4 @@
-
+ diff --git a/app/Template/subtask/show.php b/app/Template/subtask/show.php index fe436d51..e5d3860a 100644 --- a/app/Template/subtask/show.php +++ b/app/Template/subtask/show.php @@ -1,7 +1,5 @@ -
-
-

-
+
> +
render('subtask/table', array( 'subtasks' => $subtasks, @@ -9,4 +7,4 @@ 'editable' => $editable )) ?>
-
+ diff --git a/app/Template/task/description.php b/app/Template/task/description.php index f8e313dd..241b837a 100644 --- a/app/Template/task/description.php +++ b/app/Template/task/description.php @@ -1,10 +1,8 @@ -
-
-

-
+
> +
text->markdown($task['description'], isset($is_public) && $is_public) ?>
-
+ diff --git a/app/Template/task_comments/show.php b/app/Template/task_comments/show.php index 47bb5ff2..9010437c 100644 --- a/app/Template/task_comments/show.php +++ b/app/Template/task_comments/show.php @@ -1,7 +1,5 @@ -
-
-

-
+
> +
@@ -35,4 +33,4 @@ )) ?>
-
+ diff --git a/app/Template/task_external_link/show.php b/app/Template/task_external_link/show.php index 8ed11803..1bb89970 100644 --- a/app/Template/task_external_link/show.php +++ b/app/Template/task_external_link/show.php @@ -1,7 +1,5 @@ -
-
-

-
+
> +
render('task_external_link/table', array( 'links' => $links, @@ -9,4 +7,4 @@ 'project' => $project, )) ?>
-
+ diff --git a/app/Template/task_file/show.php b/app/Template/task_file/show.php index df69605d..e9723f0d 100644 --- a/app/Template/task_file/show.php +++ b/app/Template/task_file/show.php @@ -1,9 +1,7 @@ -
-
-

-
+
> +
render('task_file/images', array('task' => $task, 'images' => $images)) ?> render('task_file/files', array('task' => $task, 'files' => $files)) ?>
-
+ diff --git a/app/Template/task_internal_link/show.php b/app/Template/task_internal_link/show.php index cc05429c..e5c03898 100644 --- a/app/Template/task_internal_link/show.php +++ b/app/Template/task_internal_link/show.php @@ -1,7 +1,5 @@ -
-
-

-
+
> +
render('task_internal_link/table', array( 'links' => $links, @@ -11,4 +9,4 @@ 'is_public' => $is_public, )) ?>
-
+ -- cgit v1.2.3