Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Postal Owl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Analyze
Contributor analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
The Postal Owl
Postal Owl
Merge requests
!1
Student grading
Code
Review changes
Check out branch
Download
Patches
Plain diff
Expand sidebar
Merged
Student grading
student-grading
into
master
Overview
38
Commits
7
Changes
4
3 unresolved threads
Hide all comments
Merged
Martin Mareš
requested to merge
student-grading
into
master
4 years ago
Overview
38
Commits
7
Changes
4
3 unresolved threads
Hide all comments
0
0
Merge request reports
Viewing commit
5a2d2062
Show latest version
4 files
+
56
−
13
Side-by-side
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
4
5a2d2062
Student grader now acts as a new grade role and sees grade action
· 5a2d2062
Václav Končický
authored
4 years ago
templates/course.html
+
6
−
0
View file @ 5a2d2062
Edit in single-file editor
Open in Web IDE
Show full file
@@ -23,6 +23,7 @@
@@ -23,6 +23,7 @@
{% set ns.have_table = True %}
{% set ns.have_table = True %}
<table
class=
topics
>
<table
class=
topics
>
<tr><th>
Topic
<th>
Deadline
<th>
Points
<th>
Max
<tr><th>
Topic
<th>
Deadline
<th>
Points
<th>
Max
{% if is_grader %}
<th>
Action{% endif %}
{% endif %}
{% endif %}
{% if t.last_posted != None and (t.last_seen == None or t.last_posted > t.last_seen) %}
{% if t.last_posted != None and (t.last_seen == None or t.last_posted > t.last_seen) %}
{% set cls = 'tnew' %}
{% set cls = 'tnew' %}
@@ -33,6 +34,11 @@
@@ -33,6 +34,11 @@
<td>
{{ t.deadline|reltimeformat }}
<td>
{{ t.deadline|reltimeformat }}
<td
class=
pts
>
{{ t.points if t.points != None else "" }}
<td
class=
pts
>
{{ t.points if t.points != None else "" }}
<td
class=
pts
>
{{ t.max_points if t.max_points != None else "" }}
<td
class=
pts
>
{{ t.max_points if t.max_points != None else "" }}
{% if is_grader %}
<td>
{% if t.is_grader %}
<a
href=
"{{ url_for('topic_student_grade', cident=g.course.ident, tident=t.ident) }}"
>
Grade
</a>
{% endif %}
{% endif %}
{% else %}
{% else %}
{% if ns.have_table == True %}
{% if ns.have_table == True %}
{% set ns.have_table = False %}
{% set ns.have_table = False %}
Loading