* add title attributes.

This commit is contained in:
Catouse
2018-07-09 15:35:56 +08:00
parent 1b48715818
commit 07dcbac2fe
37 changed files with 37 additions and 38 deletions
+1 -1
View File
@@ -17,7 +17,7 @@
<div class='main-header'>
<h2>
<span class='label label-id'><?php echo $task->id;?></span>
<?php echo isonlybody() ? $task->name : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?>
<?php echo isonlybody() ? ("<span title='$task->name'>" . $task->name . '</span>') : html::a($this->createLink('task', 'view', 'task=' . $task->id), $task->name);?>
<?php if(!isonlybody()):?>
<small><?php echo $lang->arrow . $lang->task->pause;?></small>
<?php endif;?>