This commit is contained in:
tanghucheng
2022-11-21 11:19:59 +08:00
parent cfc43ece4f
commit bacdc498f8
4 changed files with 4 additions and 1 deletions
@@ -90,6 +90,7 @@ class product extends control
$product = $this->product->getById($productID);
/* Get stories. */
if($browseType == 'reviewing') $browseType = 'reviewingstory';
$stories = $this->product->getStories($productID, $branchID, $browseType, $queryID, $moduleID, $storyType, $sort, $pager);
/* Display status of branch. */
@@ -39,6 +39,7 @@ js::set('rawModule', $this->app->rawModule);
js::set('productType', $this->app->tab == 'product' ? $product->type : '');
js::set('projectHasProduct', $projectHasProduct);
js::set('URAndSR', $this->config->URAndSR);
js::set('vision', $this->config->vision);
?>
<style>
.btn-group .icon-close:before {font-size: 5px; vertical-align: 25%;}
+1 -1
View File
@@ -5,7 +5,7 @@ $(function()
$('#navbar .nav li').removeClass('active');
$("#navbar .nav li[data-id=" + storyType + ']').addClass('active');
if(rawModule == 'projectstory' && !projectHasProduct && URAndSR)
if(vision != 'lite' && rawModule == 'projectstory' && !projectHasProduct && URAndSR)
{
$('#navbar .nav>li[data-id=story]').addClass('active');
$('#navbar .nav>li[data-id=story]>a').html($('.active [data-id=' + storyType + ']').text() + '<span class="caret"></span>');
+1
View File
@@ -38,6 +38,7 @@ js::set('unfoldStories', $unfoldStories);
js::set('unfoldAll', $lang->execution->treeLevel['all']);
js::set('foldAll', $lang->execution->treeLevel['root']);
js::set('storyType', $storyType);
js::set('vision', $this->config->vision);
?>
<style>
.btn-group .icon-close:before {font-size: 5px; vertical-align: 25%;}