Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
F
final_quintupoltrobol
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
Matthew Karl David P. Arpas
final_quintupoltrobol
Commits
6fe20255
Commit
6fe20255
authored
May 13, 2023
by
Albert Gagalac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added links to other pages in assignments.html
parent
42c76236
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletion
+10
-1
models.py
widget_quintupoltrobol/assignments/models.py
+1
-1
assignments.html
...trobol/assignments/templates/assignments/assignments.html
+9
-0
No files found.
widget_quintupoltrobol/assignments/models.py
View file @
6fe20255
...
...
@@ -14,7 +14,7 @@ class Course(models.Model):
message
=
'Only letters are allowed'
)])
def
__str__
(
self
):
return
"
%
s
%
s
-
%
s"
%
(
self
.
code
,
self
.
title
,
self
.
section
)
return
"
%
s
%
s
-
%
s"
%
(
self
.
code
,
self
.
title
,
self
.
section
)
...
...
widget_quintupoltrobol/assignments/templates/assignments/assignments.html
View file @
6fe20255
...
...
@@ -6,6 +6,15 @@
{% for data in assignment %}
<p>
<a
href=
"{{ data.get_absolute_url }}"
>
{{ data }}
</a></p>
{% endfor %}
<br>
<form
action=
{%
url
'
assignments:assignment-add
'
%}
>
<input
type=
"submit"
value=
"New Assignment"
>
</form>
<a
href=
"{% url 'dashboard:pageview' %}"
>
Dashboard
</a><br>
<a
href=
"{% url 'announcements:pageview' %}"
>
Announcements
</a><br>
<a
href=
"{% url 'forum:pageview' %}"
>
Forum
</a><br>
<a
href=
"{% url 'widget_calendar:pageview' %}"
>
Calendar
</a><br>
{% 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