* finish task #2747.

This commit is contained in:
chenfeiCF
2016-11-21 16:26:06 +08:00
parent c8897865bc
commit a37904c148
4 changed files with 19 additions and 0 deletions
+4
View File
@@ -47,8 +47,12 @@
<th><?php echo $lang->task->story;?></th>
<td colspan='3'>
<div class='input-group'>
<?php if(empty($stories)):?>
<span id='story'><?php printf($lang->task->noticeLinkStory, html::a($this->createLink('project', 'linkStory', "projectID=$project->id"), $lang->project->linkStory, '_blank'), html::a("javascript:loadStories($project->id)", $lang->refresh));?></span>
<?php else:?>
<?php echo html::select('story', $stories, $task->story, "class='form-control chosen' onchange='setStoryRelated();'");?>
<span class='input-group-btn' id='preview'><a href='#' class='btn iframe'><?php echo $lang->preview;?></a></span>
<?php endif;?>
</div>
</td>
</tr>