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/board/files.php | 20 +++++---- app/Template/file/show.php | 96 ++++++++++++++++++++------------------------ 2 files changed, 53 insertions(+), 63 deletions(-) (limited to 'app/Template') diff --git a/app/Template/board/files.php b/app/Template/board/files.php index 61529434..851a118d 100644 --- a/app/Template/board/files.php +++ b/app/Template/board/files.php @@ -1,27 +1,25 @@
- + - - + -
- e($file['name']) - ?> + + + e($file['name']) ?> a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> - a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?> + a(t('open'), 'file', 'open', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id']), false, 'popover') ?>
- e($file['name']) - ?> + + + e($file['name']) ?> a(t('download'), 'file', 'download', array('task_id' => $task['id'], 'project_id' => $task['project_id'], 'file_id' => $file['id'])) ?> 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