From d91b5d4aa3acae17333eb7300bc0f6621dab11b2 Mon Sep 17 00:00:00 2001 From: Frederic Guillot Date: Tue, 10 Mar 2015 22:37:09 -0400 Subject: Improve pull-request --- app/Template/file/show.php | 96 +++++++++++++++++++++------------------------- 1 file changed, 44 insertions(+), 52 deletions(-) (limited to 'app/Template/file') diff --git a/app/Template/file/show.php b/app/Template/file/show.php index 0f5bd4ee..b181ab54 100644 --- a/app/Template/file/show.php +++ b/app/Template/file/show.php @@ -1,56 +1,48 @@ - -
+ +
- - -

- -

-
    - -
  • -
    - <?= $this->e($file['name']) ?> -
    -

    - e($file['name']) ?> -

    - - a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?> + + +

    +
      + +
    • +
      + <?= $this->e($file['name']) ?> +
      +

      + e($file['name']) ?> +

      + + a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?> + a(t('remove'), 'file', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> + a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> + +
    • + +
    + + + +

    + + + + + + + + +
    + e($file['name']) ?> + + a(t('remove'), 'file', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> - - - - - -

    - -

    - - - - - - -
    - e($file['name']) ?> - - - a(t('remove'), 'file', 'confirm', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> - a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> - -
    - - - \ No newline at end of file +
    + +
+ \ No newline at end of file -- cgit v1.2.3