Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_aguandhischipmunks
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
Adrian Lance Damalerio
midterm_aguandhischipmunks
Commits
db406548
Commit
db406548
authored
May 14, 2023
by
Agu Syquia
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Created announcements.html
template to be used by announcements_view FBV
parent
6cf19433
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
0 deletions
+28
-0
announcements.html
...chipmunks/announcement_board/templates/announcements.html
+28
-0
No files found.
widget_aguandhischipmunks/announcement_board/templates/announcements.html
0 → 100644
View file @
db406548
{% extends 'base.html'%}
{% block title %}
Widget's Announcement Board
{% endblock %}
{% block content %}
<h1>
Welcome to Widget's Announcement Board!
</h1><br>
Announcements:
{% if announcements %}
<ul>
{% for announcement in announcements %}
<a
href=
{{announcement.id}}/details
>
{{announcement.title}} by
{{announcement.author.first_name}} {{announcement.author.last_name}}
</a><br>
{% endfor %}
</ul>
{% else %}
<p>
No Available Announcements.
</p>
{% endif %}
<ul>
<li><button
type=
"button"
onclick=
"window.location.href='/announcements/add'"
>
New Announcement
</button></li>
<li><a
href=
"/dashboard"
>
Dashboard
</a></li>
<li><a
href=
"/forum"
>
Forum
</a></li>
<li><a
href=
"/assignments/"
>
Assignments
</a></li>
<li><a
href=
"/calendar"
>
Calendar
</a></li>
</ul>
{% 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