Minor - format code

pull/3814/head
Julio Montoya 5 years ago
parent f187da24c9
commit e3bf500339
  1. 3
      main/work/pending.php
  2. 3
      main/work/view.php

@ -212,12 +212,9 @@ $(function() {
{ width:500 } // search options { width:500 } // search options
); );
}); });
</script> </script>
<?php <?php
/*$actionsLeft = null;
echo Display::toolbarAction('toolbar-worklist', [$actionsLeft]);*/
echo Display::page_header(get_lang('StudentPublicationToCorrect')); echo Display::page_header(get_lang('StudentPublicationToCorrect'));
echo Display::return_message(get_lang('StudentPublicationCorrectionWarning'), 'warning'); echo Display::return_message(get_lang('StudentPublicationCorrectionWarning'), 'warning');
echo $content; echo $content;

@ -59,8 +59,7 @@ $isDrhOfCourse = CourseManager::isUserSubscribedInCourseAsDrh(
); );
$isDrhOfSession = !empty(SessionManager::getSessionFollowedByDrh($currentUserId, $work['session_id'])); $isDrhOfSession = !empty(SessionManager::getSessionFollowedByDrh($currentUserId, $work['session_id']));
if (($isDrhOfCourse || $allowEdition || $isDrhOfSession || user_is_author($id)) ||
if (($isDrhOfCourse || $allowEdition || $isDrhOfSession || user_is_author($id)) ||
( (
0 == $courseInfo['show_score'] && 0 == $courseInfo['show_score'] &&
1 == $work['active'] && 1 == $work['active'] &&

Loading…
Cancel
Save