Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_django unchained
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
1
Merge Requests
1
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
Jose Emmanuel B. Laurel
widget_django unchained
Commits
d22b4433
Commit
d22b4433
authored
Apr 06, 2022
by
Joshua Son
Browse files
Options
Browse Files
Download
Plain Diff
Other: general commit
parents
f1564063
bb9901c5
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
26 additions
and
7 deletions
+26
-7
models.cpython-39.pyc
...unchained/announcements/__pycache__/models.cpython-39.pyc
+0
-0
0015_announcement_author.cpython-39.pyc
...tions/__pycache__/0015_announcement_author.cpython-39.pyc
+0
-0
0016_alter_announcement_author.cpython-39.pyc
...__pycache__/0016_alter_announcement_author.cpython-39.pyc
+0
-0
announcement_board.html
...unchained/announcements/templates/announcement_board.html
+1
-3
0009_alter_assignment_assignment_passing_score.py
...rations/0009_alter_assignment_assignment_passing_score.py
+18
-0
models.py
widget_django_unchained/assignments/models.py
+1
-1
post_listing.html
widget_django_unchained/forum/templates/post_listing.html
+2
-2
replychain_listing.html
..._django_unchained/forum/templates/replychain_listing.html
+4
-1
No files found.
widget_django_unchained/announcements/__pycache__/models.cpython-39.pyc
View file @
d22b4433
No preview for this file type
widget_django_unchained/announcements/migrations/__pycache__/0015_announcement_author.cpython-39.pyc
View file @
d22b4433
No preview for this file type
widget_django_unchained/announcements/migrations/__pycache__/0016_alter_announcement_author.cpython-39.pyc
View file @
d22b4433
No preview for this file type
widget_django_unchained/announcements/templates/announcement_board.html
View file @
d22b4433
...
...
@@ -2,13 +2,11 @@
<h2>
ANNOUNCEMENTS:
</h2>
{% for announcement in announcements%}
<p><b>
{{announcement.announcement_title}}
</b>
by {{announcement.author}} dated {{announcement.pub_date}}
</p>
<p><b>
{{announcement.announcement_title}}
</b>
by {{announcement.author
.first_name}} {{announcement.author.last_name
}} dated {{announcement.pub_date}}
</p>
<p>
{{announcement.announcement_body}}
</p>
<p>
{% include "reactions_list.html" with reactions=announcement.reaction_list %}
</p>
{{ value|linebreaks }}
{% endfor %}
</p>
\ No newline at end of file
widget_django_unchained/assignments/migrations/0009_alter_assignment_assignment_passing_score.py
0 → 100644
View file @
d22b4433
# Generated by Django 3.2.12 on 2022-04-06 05:34
from
django.db
import
migrations
,
models
class
Migration
(
migrations
.
Migration
):
dependencies
=
[
(
'assignments'
,
'0008_alter_assignment_assignment_passing_score'
),
]
operations
=
[
migrations
.
AlterField
(
model_name
=
'assignment'
,
name
=
'assignment_passing_score'
,
field
=
models
.
IntegerField
(),
),
]
widget_django_unchained/assignments/models.py
View file @
d22b4433
...
...
@@ -9,7 +9,7 @@ class Assignment(models.Model):
assignment_name
=
models
.
CharField
(
max_length
=
100
)
assignment_description
=
models
.
CharField
(
max_length
=
1000
)
assignment_max_points
=
models
.
IntegerField
(
default
=
0
)
assignment_passing_score
=
models
.
IntegerField
(
editable
=
Fals
e
)
assignment_passing_score
=
models
.
IntegerField
(
editable
=
Tru
e
)
assignment_course
=
models
.
ForeignKey
(
'Course'
,
on_delete
=
models
.
CASCADE
,
blank
=
True
,
null
=
True
)
def
__str__
(
self
):
...
...
widget_django_unchained/forum/templates/post_listing.html
View file @
d22b4433
...
...
@@ -2,13 +2,13 @@
<p>
{% for post in posts %}
<p><b>
{{post.post_title}}
</b>
by {{post.author
}} dated {{post.pub_date}}
</p>
<p><b>
{{post.post_title}}
</b>
by {{post.author
.first_name}} {{post.author.last_name}} dated {{post.pub_date}}:
</p>
<p>
{{ post.post_body }}
</p>
{% if post.reply_chain != NULL %}
<p>
{% include "replychain_listing.html" with reply=post.reply_chain %}
</p>
{% endif %}
{{ value|linebreaks }}
<br>
{% endfor %}
</p>
\ No newline at end of file
widget_django_unchained/forum/templates/replychain_listing.html
View file @
d22b4433
<p><i>
Reply by {{reply.author}} dated {{reply.pub_date}}
</i></p>
<p>
<i>
Reply by {{post.author.first_name}} {{post.author.last_name}} dated {{reply.pub_date}}:
</i>
</p>
<p>
{{reply.reply_body}}
</p>
{% if reply.reply_chain != NULL %}
...
...
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