Skip to content
Snippets Groups Projects
Commit 2361674c authored by Friederike Schwager's avatar Friederike Schwager Committed by Friederike Schwager
Browse files

change breakpoint: question column to the right/under the document

parent 0d0727b8
No related branches found
No related tags found
No related merge requests found
......@@ -80,7 +80,7 @@ class comment implements \renderable, \templatable {
}
if (!empty($comment->modifiedby) && ($comment->modifiedby != $comment->userid) && ($comment->userid != 0)) {
$comment->modifiedby = get_string('modifiedby', 'pdfannotator') . pdfannotator_get_username($comment->modifiedby);
$comment->modifiedby = get_string('modifiedby', 'pdfannotator') . ' '. pdfannotator_get_username($comment->modifiedby);
} else {
$comment->modifiedby = null;
}
......
......@@ -341,7 +341,6 @@ $string['error:openprintview'] = 'An error has occured while trying to open the
$string['error:printcomments'] = 'An error has occured while trying to open the comments in a pdf.';
$string['error:editcomment'] = 'An error has occured while trying to edit a comment.';
$string['error:hideComment'] = "An error has occured while trying to hide the comment from participants' view.";
$string['error:redihideCommentsplayComment'] = 'Beim Wiedereinblenden des Kommentars für Teilnehmer ist ein Fehler aufgetreten.';
$string['error:closequestion'] = 'An error has occured while closing/openingthe question.';
$string['error:markcorrectanswer'] = 'An error has occured while marking the answer as correct.';
$string['error:settimespan'] = "An error has occured while trying to set the timespan for new questions.";
......
......@@ -138,11 +138,11 @@ class pdfannotator_statistics {
$ret[] = array('row' => array(get_string('questions', 'pdfannotator'), $this->get_comments_annotator('1'), $this->get_comments_course('1')));
$ret[] = array('row' => array(get_string('myquestions', 'pdfannotator'), $this->get_comments_annotator('1', true), $this->get_comments_course('1', true)));
$ret[] = array('row' => array(get_string('average_questions', 'pdfannotator').'<a class="btn btn-link p-a-0" role="button" data-container="body" data-toggle="popover" data-placement="right" data-content="'.get_string('average_help', 'pdfannotator').'" data-html="true" tabindex="0" data-trigger="focus"><li class="icon fa fa-question-circle text-info fa-fw" aria-hidden="true" title="'.get_string('entity_helptitle', 'pdfannotator').get_string('average_help', 'pdfannotator').'"></li></a>'
$ret[] = array('row' => array(get_string('average_questions', 'pdfannotator').'<a class="btn btn-link p-a-0" role="button" data-container="body" data-toggle="popover" data-placement="right" data-content="'.get_string('average_help', 'pdfannotator').'" data-html="true" tabindex="0" data-trigger="focus"><li class="icon fa fa-question-circle text-info fa-fw" aria-hidden="true" title="'.get_string('entity_helptitle', 'pdfannotator').' '.get_string('average', 'pdfannotator').'"></li></a>'
, round($this->get_comments_average_annotator('1'), 2), round($this->get_comments_average_course('1'), 2)));
$ret[] = array('row' => array(get_string('answers', 'pdfannotator'), $this->get_comments_annotator('0'), $this->get_comments_course('0')));
$ret[] = array('row' => array(get_string('myanswers', 'pdfannotator'), $this->get_comments_annotator('0', true), $this->get_comments_course('0', true)));
$ret[] = array('row' => array(get_string('average_answers', 'pdfannotator').'<a class="btn btn-link p-a-0" role="button" data-container="body" data-toggle="popover" data-placement="right" data-content="'.get_string('average_help', 'pdfannotator').'" data-html="true" tabindex="0" data-trigger="focus"><li class="icon fa fa-question-circle text-info fa-fw" aria-hidden="true" title="'.get_string('entity_helptitle', 'pdfannotator').get_string('average_help', 'pdfannotator').'"></li></a>'
$ret[] = array('row' => array(get_string('average_answers', 'pdfannotator').'<a class="btn btn-link p-a-0" role="button" data-container="body" data-toggle="popover" data-placement="right" data-content="'.get_string('average_help', 'pdfannotator').'" data-html="true" tabindex="0" data-trigger="focus"><li class="icon fa fa-question-circle text-info fa-fw" aria-hidden="true" title="'.get_string('entity_helptitle', 'pdfannotator').' '.get_string('average', 'pdfannotator').'"></li></a>'
, round($this->get_comments_average_annotator('0'), 2), round($this->get_comments_average_course('0'), 2)));
if ($this->isteacher) {
$ret[] = array('row' => array(get_string('reports', 'pdfannotator'), $this->get_reports_annotator(), $this->get_reports_course()));
......
This diff is collapsed.
......@@ -103,10 +103,10 @@
<div class="row-fluid row" id="body-wrapper">
<div class="span8 col-md-8" id="content-wrapper">
<div class="span8 col-lg-8" id="content-wrapper">
<div id="viewer" class="pdfViewer"></div>
</div>
<div class="span4 col-md-4" id="comment-wrapper">
<div class="span4 col-lg-4" id="comment-wrapper">
<h4>{{# str }} questionstitle, pdfannotator {{/ str }}</h4>
<div id="comment-nav">
<button id="allQuestions" class="btn-link" title="{{#str}}allquestionsimgtitle, pdfannotator{{/str}}">
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment