* change for print blok.
This commit is contained in:
@@ -20,8 +20,11 @@
|
||||
</tr>
|
||||
</thead>
|
||||
<?php foreach($bugs as $bug):?>
|
||||
<?php $appid = isset($_GET['entry']) ? "class='app-btn' data-id='{$this->get->entry}'" : ''?>
|
||||
<tr data-url='<?php echo $sso . $sign . 'referer=' . base64_encode($this->createLink('bug', 'view', "bugID={$bug->id}")); ?>' <?php echo $appid?>>
|
||||
<?php
|
||||
$appid = isset($_GET['entry']) ? "class='app-btn' data-id='{$this->get->entry}'" : '';
|
||||
$viewLink = $this->createLink('bug', 'view', "bugID={$bug->id}");
|
||||
?>
|
||||
<tr data-url='<?php echo empty($sso) ? $viewLink : $sso . $sign . 'referer=' . base64_encode($viewLink); ?>' <?php echo $appid?>>
|
||||
<td><?php echo $bug->id;?></td>
|
||||
<td><?php echo zget($lang->bug->severityList, $bug->severity, $bug->severity)?></td>
|
||||
<td><?php echo zget($lang->bug->priList, $bug->pri, $bug->pri)?></td>
|
||||
@@ -29,8 +32,6 @@
|
||||
</tr>
|
||||
<?php endforeach;?>
|
||||
</table>
|
||||
<p class='hide block-bug-link'><?php echo $listLink;?></p>
|
||||
<script>
|
||||
$('.block-bug').dataTable();
|
||||
$('.block-bug-link').closest('.panel').find('.panel-heading .more').attr('href', $('.block-bug-link').html());
|
||||
if(typeof(dataTable) == 'function')$('.block-bug').dataTable();
|
||||
</script>
|
||||
|
||||
Reference in New Issue
Block a user