Skip to content

Commit

Permalink
一覧へボタンの追加
Browse files Browse the repository at this point in the history
  • Loading branch information
s-nakajima committed Aug 29, 2016
1 parent 5ce85c4 commit 026cd72
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions View/TaskContents/view.ctp
Expand Up @@ -17,7 +17,7 @@ echo $this->NetCommonsHtml->css('/tasks/css/tasks.css');

<header class="clearfix">
<div class="pull-left">
<?php echo $this->Workflow->label($taskContent['TaskContent']['status']); ?>
<?php echo $this->LinkButton->toList(); ?>
</div>
<div class="pull-right">
<?php if ($this->Workflow->canEdit('Tasks.TaskContent', $taskContent)) : ?>
Expand All @@ -38,7 +38,11 @@ echo $this->NetCommonsHtml->css('/tasks/css/tasks.css');

<article>
<div class="clearfix task-word-break">
<?php echo $this->NetCommonsHtml->blockTitle($taskContent['TaskContent']['title']); ?>
<?php echo $this->NetCommonsHtml->blockTitle(
$taskContent['TaskContent']['title'],
null,
array('status' => $this->Workflow->label($taskContent['TaskContent']['status']))
); ?>
</div>

<div class="clearfix task-content-margin-2">
Expand Down

0 comments on commit 026cd72

Please sign in to comment.