Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Prototype for starting evaluations as evasys coordinator #71

Merged
merged 55 commits into from
Jun 7, 2024

Conversation

justusdieckmann
Copy link
Contributor

No description provided.

Copy link
Contributor

@Laur0r Laur0r left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you! I have already added some review comments. Please have a look at the secondary navigation for all pages, this is not needed here.

@justusdieckmann justusdieckmann force-pushed the feature/automatic-eval-request branch from b941b73 to f738b1f Compare April 6, 2023 16:40
@justusdieckmann justusdieckmann force-pushed the feature/automatic-eval-request branch 2 times, most recently from d748ba0 to 7c03595 Compare May 11, 2023 13:25
@justusdieckmann justusdieckmann force-pushed the feature/automatic-eval-request branch from 7c03595 to 4978bc5 Compare May 12, 2023 14:27
@justusdieckmann justusdieckmann force-pushed the feature/automatic-eval-request branch from 4f4e011 to 60021f4 Compare May 12, 2023 17:07
$evasyscategory = \block_evasys_sync\evasys_category::for_course($this->page->course);

if (!$evasyscategory) {
$this->content->text = 'This course isn\'t inside any evaluation category!';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should not be hardcoded but added to lang and also translated to German.

);

$this->content->text .= $OUTPUT->render_from_template("block_evasys_sync/block", $data);

if (!$evasyscategory->can_teacher_request_evaluation()) {
$this->content->text .= get_string('teacher_request_disabled', 'block_evasys_sync');
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This string has no translation to German.

@justusdieckmann justusdieckmann force-pushed the feature/automatic-eval-request branch from 2455ffd to 52af406 Compare May 30, 2023 13:56
@Laur0r
Copy link
Contributor

Laur0r commented Jun 7, 2024

Great thanks! Is has been in production for quite some time now without any errors :)

@Laur0r Laur0r merged commit 49145f9 into master Jun 7, 2024
@Laur0r Laur0r deleted the feature/automatic-eval-request branch June 7, 2024 08:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants