mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-18 16:48:40 +00:00
continue implementation
This commit is contained in:
parent
772b384c27
commit
5093fb7ed0
|
|
@ -75,6 +75,7 @@ final class BackendController extends Controller
|
||||||
$list = QAQuestionMapper::getAll()
|
$list = QAQuestionMapper::getAll()
|
||||||
->with('createdBy')
|
->with('createdBy')
|
||||||
->with('createdBy/account')
|
->with('createdBy/account')
|
||||||
|
->with('createdBy/image')
|
||||||
->with('votes')
|
->with('votes')
|
||||||
->with('answers')
|
->with('answers')
|
||||||
->with('answers/votes')
|
->with('answers/votes')
|
||||||
|
|
|
||||||
|
|
@ -50,7 +50,7 @@ echo $this->data['nav']->render(); ?>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<a href="<?= UriFactory::build('{/base}/qa/question?{?}&id=' . $question->id); ?>"><?= $this->printHtml($question->name); ?></a>
|
<a href="<?= UriFactory::build('{/app}/qa/question?{?}&id=' . $question->id); ?>"><?= $this->printHtml($question->name); ?></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
@ -61,10 +61,10 @@ echo $this->data['nav']->render(); ?>
|
||||||
<?php endforeach; ?>
|
<?php endforeach; ?>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<a class="account-info" href="<?= UriFactory::build('{/base}/profile/single?{?}&id=' . $question->createdBy->id); ?>">
|
<a class="account-info" href="<?= UriFactory::build('{/app}/profile/single?{?}&id=' . $question->createdBy->id); ?>">
|
||||||
<span class="name content"><?= $this->printHtml($question->createdBy->account->name2); ?> <?= $this->printHtml($question->createdBy->account->name1); ?></span>
|
<span class="name content"><?= $this->printHtml($question->createdBy->account->name2); ?> <?= $this->printHtml($question->createdBy->account->name1); ?></span>
|
||||||
<?php if ($question->createdBy->image->id > 0) : ?>
|
<?php if ($question->createdBy->image->id > 0) : ?>
|
||||||
<img width="40px" alt="<?= $this->getHtml('AccountImage', '0', '0'); ?>" loading="lazy" src="<?= UriFactory::build('{/base}/' . $question->createdBy->image->getPath()); ?>">
|
<img width="40px" alt="<?= $this->getHtml('AccountImage', '0', '0'); ?>" loading="lazy" src="<?= UriFactory::build($question->createdBy->image->getPath()); ?>">
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -23,7 +23,7 @@ echo $this->data['nav']->render();
|
||||||
<div class="box wf-100">
|
<div class="box wf-100">
|
||||||
<div class="slider">
|
<div class="slider">
|
||||||
<table class="default sticky">
|
<table class="default sticky">
|
||||||
<caption><?= $this->getHtml('Badges'); ?><i class="fa fa-download floatRight download btn"></i></caption>
|
<caption><?= $this->getHtml('Badges'); ?><i class="fa fa-download end-xs download btn"></i></caption>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user