mirror of
https://github.com/Karaka-Management/oms-Help.git
synced 2026-02-14 20:18:41 +00:00
update
This commit is contained in:
parent
371d861db6
commit
1efa4edce4
|
|
@ -57,8 +57,7 @@ $tableView->setObjects($modules);
|
||||||
|
|
||||||
++$count;
|
++$count;
|
||||||
$url = UriFactory::build(
|
$url = UriFactory::build(
|
||||||
'{/lang}/backend/help/module/single?id={$module}',
|
'{/lang}/backend/help/module/single?id=' . $module->getInternalName()
|
||||||
['$module' => $module->getInternalName()]
|
|
||||||
);
|
);
|
||||||
?>
|
?>
|
||||||
<tr tabindex="0" data-href="<?= $url; ?>">
|
<tr tabindex="0" data-href="<?= $url; ?>">
|
||||||
|
|
|
||||||
|
|
@ -2,7 +2,11 @@
|
||||||
<div class="col-xs-12 col-md-8 col-lg-9">
|
<div class="col-xs-12 col-md-8 col-lg-9">
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<article><?= $this->data['content']; ?></article>
|
<?php if (empty($this->data['content'])) : ?>
|
||||||
|
<img height="100%" width="100%" src="Web/Backend/img/under_construction.svg">
|
||||||
|
<?php else : ?>
|
||||||
|
<article><?= $this->data['content']; ?></article>
|
||||||
|
<?php endif; ?>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -12,7 +16,7 @@
|
||||||
<a tabindex="0" class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/help/module/single?id={?id}'); ?>"><?= $this->getHtml('Module'); ?></a>
|
<a tabindex="0" class="button" href="<?= \phpOMS\Uri\UriFactory::build('{/lang}/backend/help/module/single?id={?id}'); ?>"><?= $this->getHtml('Module'); ?></a>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<?php if ($this->hasData('navigation')) : ?>
|
<?php if (!empty($this->data['navigation'] ?? '')) : ?>
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<article><?= $this->data['navigation']; ?></article>
|
<article><?= $this->data['navigation']; ?></article>
|
||||||
|
|
@ -20,7 +24,7 @@
|
||||||
</section>
|
</section>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
|
|
||||||
<?php if ($this->hasData('devNavigation')) : ?>
|
<?php if (!empty($this->data['devNavigation'] ?? '')) : ?>
|
||||||
<section class="portlet">
|
<section class="portlet">
|
||||||
<div class="portlet-body">
|
<div class="portlet-body">
|
||||||
<article><?= $this->data['devNavigation']; ?></article>
|
<article><?= $this->data['devNavigation']; ?></article>
|
||||||
|
|
|
||||||
|
|
@ -100,6 +100,6 @@ final class SearchControllerTest extends \PHPUnit\Framework\TestCase
|
||||||
$request->setData('search', ':help introduction');
|
$request->setData('search', ':help introduction');
|
||||||
|
|
||||||
$this->module->searchHelp($request, $response);
|
$this->module->searchHelp($request, $response);
|
||||||
self::assertGreaterThan(0, \count($response->get('')));
|
self::assertGreaterThan(0, \count($response->getData('')));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user