mirror of
https://github.com/Karaka-Management/oms-Knowledgebase.git
synced 2026-01-11 09:28:40 +00:00
bug fixes
This commit is contained in:
parent
f6f3cf312a
commit
4db0f4d541
2
.github/workflows/greetings.yml
vendored
2
.github/workflows/greetings.yml
vendored
|
|
@ -9,5 +9,5 @@ jobs:
|
|||
- uses: actions/first-interaction@v1
|
||||
with:
|
||||
repo-token: ${{ secrets.GITHUB_TOKEN }}
|
||||
issue-message: 'Thank you for createing this issue. We will check it as soon as possible.'
|
||||
issue-message: 'Thank you for creating this issue. We will check it as soon as possible.'
|
||||
pr-message: 'Thank you for your pull request. We will check it as soon as possible.'
|
||||
|
|
|
|||
|
|
@ -23,6 +23,7 @@ return [
|
|||
'dest' => '\Modules\Knowledgebase\Controller\SearchController:searchGeneral',
|
||||
'verb' => RouteVerb::ANY,
|
||||
'active' => true,
|
||||
'order' => 7,
|
||||
'permission' => [
|
||||
'module' => SearchController::NAME,
|
||||
'type' => PermissionType::READ,
|
||||
|
|
|
|||
|
|
@ -168,9 +168,11 @@ final class ApiController extends Controller
|
|||
$doc->language = ISO639x1Enum::tryFromValue($request->getDataString('language')) ?? $request->header->l11n->language;
|
||||
$doc->status = WikiStatus::tryFromValue($request->getDataInt('status')) ?? WikiStatus::INACTIVE;
|
||||
|
||||
/*
|
||||
if ($request->hasData('tags')) {
|
||||
$doc->tags = $this->app->moduleManager->get('Tag', 'Api')->createTagsFromRequest($request);
|
||||
}
|
||||
*/
|
||||
|
||||
return $doc;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -31,7 +31,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="row">
|
||||
<?php foreach ($documents as $doc) : $url = UriFactory::build('{/base}/wiki/doc/view?id=' . $doc->id); ?>
|
||||
<div class="col-xs-12 plain-grid">
|
||||
<div class="portlet">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head"><a href="<?= $url; ?>"><?= $this->printHtml($doc->name); ?></a></div>
|
||||
<div class="portlet-body">
|
||||
<article>
|
||||
|
|
@ -49,7 +49,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="portlet-foot">
|
||||
<a href="<?= $url; ?>" class="button rf"><?= $this->getHtml('More', '0', '0'); ?></a>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<?php endforeach; ?>
|
||||
<?php if (empty($documents)) : ?>
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<div class="col-xs-12 col-md-8 col-lg-9">
|
||||
<div class="row">
|
||||
<div class="col-xs-12">
|
||||
<div class="portlet">
|
||||
<section class="portlet">
|
||||
<div class="portlet-head">
|
||||
<?= $this->getHtml('Docs'); ?>
|
||||
<i class="g-icon download btn end-xs">download</i>
|
||||
|
|
@ -53,7 +53,7 @@ echo $this->data['nav']->render(); ?>
|
|||
<?php endif; ?>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user