Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_robo_mommy
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
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Raul Jarod Conanan
midterm_robo_mommy
Commits
0713ed62
Commit
0713ed62
authored
Mar 04, 2023
by
RJC
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
modified html template for ForumPostListView
parent
bc94332b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
3 deletions
+20
-3
forumpost_list.html
widget_robo_mommy/forum/templates/forum/forumpost_list.html
+20
-3
No files found.
widget_robo_mommy/forum/templates/forum/forumpost_list.html
View file @
0713ed62
...
@@ -3,12 +3,29 @@
...
@@ -3,12 +3,29 @@
<head>
<head>
<meta
charset=
"UTF-8"
>
<meta
charset=
"UTF-8"
>
<title>
Forum Post List
</title>
<title>
Forum Post List
</title>
<h1>
Forum Post List
</h1>
</head>
</head>
<ul>
<ul>
{% for forumpost in object_list %}
{% for fp in forumposts %}
<li>
{{forumpost.title}}
</li>
<li><b
style=
"font-size: 30px"
>
{{fp.title}}
</b>
by
<b
style=
"font-size: large"
>
{{fp.author.first_name}} {{fp.author.last_name}}
</b>
posted
<b>
{{fp.pub_datetime}}
</b>
<p>
{{fp.body}}
</p>
{{fp.replies_set.all}}
<ul>
{% for reply in fp.reply.all %}
<li>
Reply by
<b>
{{reply.author.first_name}} {{reply.author.last_name}}
</b>
posted
<b>
{{reply.pub_datetime}}
</b>
<p>
{{reply.body}}
</p>
</li>
{%empty%}
<li>
No Replies yet.
</li>
{% endfor %}
</ul>
</li>
{%empty%}
{%empty%}
<li>
No
forump
osts yet.
</li>
<li>
No
Forum P
osts yet.
</li>
{%endfor%}
{%endfor%}
</ul>
</ul>
</html>
</html>
\ 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