-
Notifications
You must be signed in to change notification settings - Fork 0
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
[345] Evaluation Status #363
base: dev
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
there is an exception on the page when there are completed evaluations plus a few styling issues.
<td data-label=""> | ||
<div class="display-flex flex-no-wrap grid-row"> | ||
<% assignment = evaluator.evaluator_submission_assignments.where(submission_id: @submission.id).first %> | ||
<% if assignment&.evaluation&.completed_at %> | ||
<%= link_to(evaluation_path(evaluation)) do %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this line raises an exception missing evaluation
object
@@ -1,3 +1,7 @@ | |||
<% if @submission.evaluator_submission_assignments.recused.exists? %> | |||
<%= render 'shared/alert_error', alert_heading: t('alerts.recused_evaluator.heading'), alert_text: t('alerts.recused_evaluator_submission.text') %> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
</td> | ||
<td data-label="Score" class="text-top"> | ||
<span class="margin-x-1"><%= evaluator_score(assignment).formatted_score %></span> | ||
</td> | ||
<td data-label=""> | ||
<div class="display-flex flex-no-wrap grid-row"> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Adds evaluation status display to the assigned evaluators section of the submission details page.
Also adds an alert if there is a recused evaluator assigned and an error icon next to that evaluator's name.
Finally, adds a link to the evaluation if that evaluation is complete.