* adjust code.

This commit is contained in:
tanghucheng
2022-02-11 14:00:51 +08:00
parent 23fca1b799
commit ea1319a360
2 changed files with 2 additions and 2 deletions
@@ -131,7 +131,7 @@
<th><?php echo $lang->story->spec;?></th>
<td colspan="4">
<?php echo $this->fetch('user', 'ajaxPrintTemplates', 'type=story&link=spec');?>
<?php echo html::textarea('spec', $spec, "rows='9' class='form-control kindeditor disabled-ie-placeholder' hidefocus='true' placeholder='" . htmlSpecialString($lang->story->specTemplate . "\n" . $lang->noticePasteImg) . "'");?>
<?php echo html::textarea('spec', $spec, "rows='9' class='form-control kindeditor disabled-ie-placeholder' hidefocus='true' placeholder='" . htmlSpecialString($lang->noticePasteImg) . "'");?>
</td>
</tr>
<tr class='hide'>
+1 -1
View File
@@ -3889,7 +3889,7 @@ class storyModel extends model
}
break;
case 'taskCount':
$tasksLink = helper::createLink('story', 'tasks', "storyID=$story->id");
$tasksLink = helper::createLink('story', 'tasks', "storyID=$story->id&isonlybody=yes");
$storyTasks[$story->id] > 0 ? print(html::a($tasksLink, $storyTasks[$story->id], '', 'class="iframe"')) : print(0);
break;
case 'bugCount':