mirror of
https://github.com/Karaka-Management/oms-QA.git
synced 2026-02-14 06:48:42 +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()
|
||||
->with('createdBy')
|
||||
->with('createdBy/account')
|
||||
->with('createdBy/image')
|
||||
->with('votes')
|
||||
->with('answers')
|
||||
->with('answers/votes')
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ echo $this->data['nav']->render(); ?>
|
|||
</div>
|
||||
</div>
|
||||
<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>
|
||||
|
|
@ -61,10 +61,10 @@ echo $this->data['nav']->render(); ?>
|
|||
<?php endforeach; ?>
|
||||
</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>
|
||||
<?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; ?>
|
||||
</a>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -23,7 +23,7 @@ echo $this->data['nav']->render();
|
|||
<div class="box wf-100">
|
||||
<div class="slider">
|
||||
<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>
|
||||
<tr>
|
||||
<td><?= $this->getHtml('ID', '0', '0'); ?>
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user