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

Issue#30 no way to read evaluations #41

Open
wants to merge 22 commits into
base: main
Choose a base branch
from

Conversation

SamuelVch98
Copy link
Collaborator

Add the possibility of viewing evaluations in courses and on researchers' profiles

@SamuelVch98 SamuelVch98 changed the title Issue#30 Issue#30 no way to read evaluations Oct 3, 2024
@anthonygego
Copy link
Member

Can you resolve conflicts ? Thanks.

@anthonygego
Copy link
Member

Can you solve conflicts ?

app.py Outdated Show resolved Hide resolved
db.py Outdated Show resolved Hide resolved
db.py Outdated Show resolved Hide resolved
course.py Outdated Show resolved Hide resolved
course.py Outdated Show resolved Hide resolved
db.py Outdated Show resolved Hide resolved
db.py Show resolved Hide resolved
</tr>
{% endif %}
{% for evaluation in evaluations %}
{% if evaluation.course_year < course.year %}
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
{% if evaluation.course_year < course.year %}
{% if evaluation.course_year == course.year %}

Not sure how many times you want to show the History table, but either == for each year, either one unique table with no filter at all.

Copy link
Collaborator Author

@SamuelVch98 SamuelVch98 Oct 17, 2024

Choose a reason for hiding this comment

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

This is a history of assessments for each year of a course. So I thought that for a course in the year 2024, all the assessments equal to or preceding that year would be displayed. In the old app, it displays all the assessments for each year of a course.

templates/evaluations.html Show resolved Hide resolved
SamuelVch98 and others added 6 commits October 17, 2024 15:45
Display past evaluations on the courses page
Show the ‘Evaluations’ tab only if you are a researcher

# Conflicts:
#	app.py
#	course.py

# Conflicts:
#	app.py
course.py Outdated Show resolved Hide resolved
course.py Show resolved Hide resolved
templates/course_info.html Outdated Show resolved Hide resolved
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.

2 participants