mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-18618 - browse feedbacks in a better way
This commit is contained in:
parent
a934bd23ff
commit
028e1e4f55
2 changed files with 4 additions and 4 deletions
|
@ -265,13 +265,12 @@ if($do_show == 'showoneentry') {
|
|||
if(is_array($feedbackitems)){
|
||||
$align = right_to_left() ? 'right' : 'left';
|
||||
$usr = $DB->get_record('user', array('id'=>$userid));
|
||||
echo $OUTPUT->box_start('feedback_info');
|
||||
|
||||
if($feedbackcompleted) {
|
||||
echo UserDate($feedbackcompleted->timemodified).'<br />('.fullname($usr).')';
|
||||
echo $OUTPUT->heading(UserDate($feedbackcompleted->timemodified).' ('.fullname($usr).')', 3);
|
||||
} else {
|
||||
echo get_string('not_completed_yet','feedback');
|
||||
echo $OUTPUT->heading(get_string('not_completed_yet','feedback'), 3);
|
||||
}
|
||||
echo $OUTPUT->box_end();
|
||||
|
||||
echo $OUTPUT->box_start('feedback_items');
|
||||
$itemnr = 0;
|
||||
|
|
|
@ -138,6 +138,7 @@ if(!$showcompleted) {
|
|||
|
||||
if(is_array($feedbackcompleteds)) {
|
||||
echo $OUTPUT->box_start('generalbox boxaligncenter boxwidthwide');
|
||||
echo $OUTPUT->heading(get_string('anonymous_entries', 'feedback'), 3);
|
||||
foreach($feedbackcompleteds as $compl) {
|
||||
$data = array();
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue