* 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 $bug->id;?></span>
<?php echo isonlybody() ? $bug->title : html::a($this->createLink('bug', 'view', 'bug=' . $bug->id), $bug->title);?>
<?php echo isonlybody() ? ('<span title="' . $bug->title . '">' . $bug->title . '</span>') : html::a($this->createLink('bug', 'view', 'bug=' . $bug->id), $bug->title);?>
<?php if(!isonlybody()):?>
<small><?php echo $lang->arrow . $lang->bug->activate;?></small>