This commit is contained in:
liuhong
2022-12-26 04:15:11 +00:00
parent 3e9aee30f5
commit 8c1b9bf90d
+1 -1
View File
@@ -115,7 +115,7 @@ foreach(explode(',', $config->task->create->requiredFields) as $field)
<div class='input-group <?php if(empty($stories)) echo "hidden";?>'>
<?php echo html::select('story', $stories, $task->story, "class='form-control chosen' onchange='setStoryRelated();'");?>
<?php if(common::hasPriv('execution', 'storyView')):?>
<span class='input-group-btn' id='preview'><a href='#' class='btn iframe'><?php echo $lang->preview;?></a></span>
<span class='input-group-btn' id='preview'><a href='#' class='btn iframe' data-width="85%" data-height="300px"><?php echo $lang->preview;?></a></span>
<?php endif;?>
</div>
</td>