Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_father when can i be on my own i have the hello world to see
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
father when can i be on my own i have the hello world to see
widget_father when can i be on my own i have the hello world to see
Commits
0393de2f
Verified
Commit
0393de2f
authored
May 15, 2022
by
Angelo Esteban
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added messages for cases of null sets
parent
3b655d81
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
5 deletions
+13
-5
ListView.html
assignments/templates/assignments/ListView.html
+13
-5
No files found.
assignments/templates/assignments/ListView.html
View file @
0393de2f
{% extends 'base.html' %}
{% extends 'base.html' %}
{% load static %}
{% block styles %}
{% block styles %}
{% load static %}
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/css/style.css' %}"
>
<link
rel=
"stylesheet"
type=
"text/css"
href=
"{% static 'assignments/css/style.css' %}"
>
{% endblock %}
{% endblock %}
{% block title %}Assignments{% endblock %}
{% block title %}Assignments{% endblock %}
{% block
content
%}
{% block
header %}Assignments Per Course{% endblock
%}
<h1>
Assignments Per Course
</h1>
{% block content %}
<p>
List of courses:
</p>
<p
id=
"table-caption"
>
List of courses:
</p>
<ul>
{% if all_courses.count == 0 %}
<p
id=
"no-courses"
>
No courses found.
</p>
{% else %}
<ul
id=
"table"
>
{% for course in all_courses %}
{% for course in all_courses %}
<li>
{{course.code}} {{course.title}} {{course.section}}
</li>
<li>
{{course.code}} {{course.title}} {{course.section}}
</li>
<ul>
<ul>
{% if course.assignment_set.all.count == 0 %}
<li>
No assignments found.
</li>
{% else %}
{% for assignment in course.assignment_set.all %}
{% for assignment in course.assignment_set.all %}
<a
href=
'{{request.path}}{{assignment.pk}}/details'
><li>
{{assignment.name}}
</li></a>
<a
href=
'{{request.path}}{{assignment.pk}}/details'
><li>
{{assignment.name}}
</li></a>
{% endfor %}
{% endfor %}
{% endif %}
</ul>
</ul>
{% endfor %}
{% endfor %}
</ul>
</ul>
{% endif %}
{% endblock %}
{% endblock %}
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment