diff --git a/Models/QAQuestion.php b/Models/QAQuestion.php index 66894a8..2768813 100755 --- a/Models/QAQuestion.php +++ b/Models/QAQuestion.php @@ -60,6 +60,14 @@ class QAQuestion implements \JsonSerializable */ public string $question = ''; + /** + * Question. + * + * @var string + * @since 1.0.0 + */ + public string $questionRaw = ''; + /** * Category. * diff --git a/Theme/Backend/qa-question.tpl.php b/Theme/Backend/qa-question.tpl.php index eee588d..df2a9d8 100755 --- a/Theme/Backend/qa-question.tpl.php +++ b/Theme/Backend/qa-question.tpl.php @@ -22,9 +22,9 @@ echo $this->getData('nav')->render();
-
-

printHtml($question->name); ?>

-
+
+
printHtml($question->name); ?>
+
printHtml($question->question); ?>
@@ -39,8 +39,8 @@ echo $this->getData('nav')->render();
-
-
+
+
printHtml($answer->getAnswer()); ?>printHtml($answer->createdAt->format('Y-m-d')); ?>createdBy->getId(); ?>getStatus(); ?>printHtml((string) $answer->isAccepted()); ?>