* add jump-link in xuanxuan_card which can jump to zentao_extension_page
This commit is contained in:
@@ -34,6 +34,9 @@
|
||||
<strong>
|
||||
<?php echo $this->execution->getByID($execution->id)->name ?>
|
||||
</strong>
|
||||
<div class="linkButton" onclick="linkButtonClicked()">
|
||||
<i class="icon icon-import icon-rotate-270"></i>
|
||||
</div>
|
||||
</div>
|
||||
<?php endif;?>
|
||||
<div id="mainContent">
|
||||
@@ -200,4 +203,12 @@
|
||||
</div>
|
||||
<?php js::set('replaceID', 'bugList');?>
|
||||
<?php js::set('browseType', $type);?>
|
||||
<script>
|
||||
function linkButtonClicked()
|
||||
{
|
||||
$url = window.location.href;
|
||||
$xxcUrl = "xxc:openInApp/zentao-integrated/" + encodeURIComponent($url.replace(/.display=card/, ''));
|
||||
window.open($xxcUrl);
|
||||
}
|
||||
</script>
|
||||
<?php include '../../common/view/footer.html.php';?>
|
||||
|
||||
Reference in New Issue
Block a user