* [task#126383,doing,0.2h] Add the style of placement to click.
This commit is contained in:
@@ -25,6 +25,8 @@ class buildModel extends model
|
||||
*/
|
||||
public function getByID(int $buildID, bool $setImgSize = false): object|false
|
||||
{
|
||||
if(common::isTutorialMode()) return $this->loadModel('tutorial')->getBuild();
|
||||
|
||||
$build = $this->dao->select('t1.*, t2.name as executionName, t3.name as productName, t3.type as productType')
|
||||
->from(TABLE_BUILD)->alias('t1')
|
||||
->leftJoin(TABLE_EXECUTION)->alias('t2')->on('t1.execution = t2.id')
|
||||
|
||||
@@ -92,7 +92,7 @@ const stepPresenters =
|
||||
},
|
||||
click: function(step)
|
||||
{
|
||||
return highlightStepTarget((scope) => scope.$(step.target), step);
|
||||
return highlightStepTarget((scope) => scope.$(step.target), step, {placement: 'bottom'});
|
||||
},
|
||||
clickNavbar: function(step)
|
||||
{
|
||||
|
||||
@@ -610,6 +610,7 @@ class tutorialModel extends model
|
||||
$build->deleted = 0;
|
||||
$build->executionName = 'Test execution';
|
||||
$build->productName = 'Test product';
|
||||
$build->allBugs = '1';
|
||||
return $build;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user