- createLink('bug', 'browse', "productID=$productID&branch=0&browseType=$browseType&moduleID=$moduleID"), " " . $lang->goback, '', "class='btn btn-link'");?>
+ createLink('bug', 'browse', "productID=$productID&branch=0&browseType=$browseType&moduleID=$moduleID"), " " . $lang->goback, '', "class='btn btn-link'");?>
diff --git a/module/doc/view/tablecontents.html.php b/module/doc/view/tablecontents.html.php
index 59ec416304..af2c7efee4 100644
--- a/module/doc/view/tablecontents.html.php
+++ b/module/doc/view/tablecontents.html.php
@@ -78,12 +78,12 @@ if(empty($type)) $type = 'product';
$html = '';
if($type == 'book' and common::hasPriv('doc', 'createLib'))
{
- $html = html::a(helper::createLink('doc', 'createLib', "type=$type&objectID=$objectID"), '' . $this->lang->doc->createBook, '', 'class="btn btn-info btn-wide iframe"');
+ $html = html::a(helper::createLink('doc', 'createLib', "type=$type&objectID=$objectID"), ' ' . $this->lang->doc->createBook, '', 'class="btn btn-info btn-wide iframe"');
}
elseif($libID and common::hasPriv('doc', 'create'))
{
$html = "
diff --git a/module/execution/view/bug.html.php b/module/execution/view/bug.html.php
index 2a87a5589a..84afd362bf 100644
--- a/module/execution/view/bug.html.php
+++ b/module/execution/view/bug.html.php
@@ -25,7 +25,7 @@
bug->search;?>
bug->report->common;?>
diff --git a/module/bug/view/view.html.php b/module/bug/view/view.html.php
index 6c0bf203ad..2f3277774f 100644
--- a/module/bug/view/view.html.php
+++ b/module/bug/view/view.html.php
@@ -32,7 +32,7 @@
app->openApp) !== false ? $this->app->openApp : 'qa';?>
- product}&branch={$bug->branch}&extra=moduleID={$bug->module},projectID={$bug->project},executionID={$bug->execution}", "" . $lang->bug->create, '', "class='btn btn-primary' data-app='$openApp'"); ?>
+ product}&branch={$bug->branch}&extra=moduleID={$bug->module},projectID={$bug->project},executionID={$bug->execution}", " " . $lang->bug->create, '', "class='btn btn-primary' data-app='$openApp'"); ?>
diff --git a/module/caselib/view/browse.html.php b/module/caselib/view/browse.html.php
index cf3f8f97b7..e4e94f5217 100644
--- a/module/caselib/view/browse.html.php
+++ b/module/caselib/view/browse.html.php
@@ -51,16 +51,16 @@ js::set('flow', $config->global->flow);
if(common::hasPriv('caselib', 'view'))
{
$link = helper::createLink('caselib', 'view', "libID=$libID");
- echo html::a($link, " " . $this->lang->caselib->view, '', "class='btn btn-link'");
+ echo html::a($link, " " . $this->lang->caselib->view, '', "class='btn btn-link'");
}
?>
- " . $lang->caselib->exportTemplet, '', "class='btn btn-link export' data-width='40%'");?>
- " . $lang->testcase->fileImport, '', "class='btn btn-link export'");?>
+ " . $lang->caselib->exportTemplet, '', "class='btn btn-link export' data-width='40%'");?>
+ " . $lang->testcase->fileImport, '', "class='btn btn-link export'");?>
- createLink('caselib', 'create'), " " . $lang->caselib->create, '', 'class="btn btn-secondary"');?>
+ createLink('caselib', 'create'), " " . $lang->caselib->create, '', 'class="btn btn-secondary"');?>
lang->doc->libTypeList;
if(empty($products)) unset($libTypeList['product']);
if(empty($projects)) unset($libTypeList['project']);
- if(empty($executions) or $type == 'custom') unset($libTypeList['execution']);
+ if(empty($executions) or ($type == 'custom' and $this->config->systemMode == 'new')) unset($libTypeList['execution']);
$this->view->groups = $this->loadModel('group')->getPairs();
$this->view->users = $this->user->getPairs('nocode');
diff --git a/module/doc/css/tablecontents.css b/module/doc/css/tablecontents.css
index fd491a5342..eb2e06adff 100644
--- a/module/doc/css/tablecontents.css
+++ b/module/doc/css/tablecontents.css
@@ -16,7 +16,7 @@
.tail-info, .doc-title, span.item {background: #fff;}
span.item>a {padding-left: 6px;}
span.dotted-line+a {display: block;}
-#modules li.doc:before, .chapterNode:before, .independent:before {content: " "; width: 100%; border-bottom: 1px dashed #b5b9c5; position: absolute; top: 50%; right: 0; left: 30px;}
+#modules li.doc:before, .chapterNode:before, .independent:before {content: " "; width: 100%; border-bottom: 1px dashed #b5b9c5; position: absolute; top: 13px; right: 0; left: 30px;}
.doc-title {display: inline-block !important; position: relative; padding-right: 10px;}
.tree li.has-list.open:before {content: unset;}
i.icon-file-text {color: #D0D2D6; font-size: 14px;}
diff --git a/module/doc/model.php b/module/doc/model.php
index a5f8a1f1e2..8ebb7a25eb 100644
--- a/module/doc/model.php
+++ b/module/doc/model.php
@@ -1734,12 +1734,12 @@ class docModel extends model
{
if($objectType == 'book')
{
- $html = html::a(helper::createLink('doc', 'createLib', "type=$objectType&objectID=$objectID"), '' . $this->lang->doc->createBook, '', 'class="btn btn-secondary iframe"');
+ $html = html::a(helper::createLink('doc', 'createLib', "type=$objectType&objectID=$objectID"), ' ' . $this->lang->doc->createBook, '', 'class="btn btn-secondary iframe"');
}
elseif($libID)
{
$html = "
";
- $html .= "";
+ $html .= "";
$html .= "
- ";
foreach($this->lang->doc->typeList as $typeKey => $typeName)
{
@@ -1798,7 +1798,7 @@ class docModel extends model
if($doc->type == 'project') $objectID = $doc->project;
if($doc->type == 'execution') $objectID = $doc->execution;
- $html .= '
- ' . html::a(inlink('objectLibs', "type={$doc->type}&objectID=$objectID&libID={$doc->lib}&docID={$doc->id}"), "" . $doc->title, '', "data-app='{$this->app->openApp}' title='{$doc->title}'") . ' '; + $html .= '
- ' . html::a(inlink('objectLibs', "type={$doc->type}&objectID=$objectID&libID={$doc->lib}&docID={$doc->id}"), " " . $doc->title, '', "data-app='{$this->app->openApp}' title='{$doc->title}'") . ' '; } $collectionCount = $this->dao->select('count(id) as count')->from(TABLE_DOC) @@ -1842,7 +1842,7 @@ class docModel extends model public function setFastMenu($fastLib) { $actions = ''; - $actions .= '' . $this->lang->doc->search . ''; + $actions .= ' ' . $this->lang->doc->search . ''; $actions .= "" . $fastLib . " "; $actions .= "
- " . $lang->doc->manageType);?> -
- " . $lang->doc->editlib, '', "class='iframe'");?> -
- " . $lang->doc->deleteLib, 'hiddenwin');?> +
- " . $lang->doc->manageType);?> +
- " . $lang->doc->editlib, '', "class='iframe'");?> +
- " . $lang->doc->deleteLib, 'hiddenwin');?>
- ";
foreach($this->lang->doc->fastMenuList as $key => $fastMenu)
diff --git a/module/doc/view/browsebygrid.html.php b/module/doc/view/browsebygrid.html.php
index 00ee23b6ea..ec84a042cb 100644
--- a/module/doc/view/browsebygrid.html.php
+++ b/module/doc/view/browsebygrid.html.php
@@ -20,9 +20,9 @@
-
-
title;?>
- objectType == 'requirement' ? $lang->file->requirement : $lang->{$file->objectType}->common) . ' : ';?>objectType), 'view', "objectID=$file->objectID");?>' title='objectType][$file->objectID];?>'>objectType][$file->objectID];?>
+ objectType == 'requirement' ? $lang->file->requirement : $lang->{$file->objectType}->common) . ' : ';?>objectType), 'view', "objectID=$file->objectID", '', true);?>' title='objectType][$file->objectID];?>' class='iframe' data-width='90%'>objectType][$file->objectID];?>
";
- $html .= "";
+ $html .= "";
$html .= "
- ";
foreach($this->lang->doc->typeList as $typeKey => $typeName)
{
diff --git a/module/execution/view/all.html.php b/module/execution/view/all.html.php
index eab25a40f5..af09f67cda 100644
--- a/module/execution/view/all.html.php
+++ b/module/execution/view/all.html.php
@@ -33,7 +33,7 @@ td.hours {text-align: right; overflow: hidden; text-overflow: ellipsis; white-sp
- " . $lang->export, '', "class='btn btn-link export'")?>
+ " . $lang->export, '', "class='btn btn-link export'")?>
createLink('execution', 'create', "projectID=$projectID"), " " . ((($from == 'execution') and ($config->systemMode == 'new')) ? $lang->execution->createExec : $lang->execution->create), '', "class='btn btn-primary' data-app='$from'");?>