Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
midterm_CtrlF
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
Fritzie Dianne Del Pilar
midterm_CtrlF
Commits
c79e636d
Commit
c79e636d
authored
May 15, 2023
by
Fritzie Dianne Del Pilar
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Edited contents
parent
5fc6b1da
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
9 deletions
+9
-9
announcement-details.html
...t_board/templates/announcements/announcement-details.html
+9
-9
No files found.
widget_CtrlF/announcement_board/templates/announcements/announcement-details.html
View file @
c79e636d
{% extends 'base.html' %}
{% load static %}
{% block page-title %}{{
objec
t.title }}{% endblock %}
{% block page-title %}{{
announcemen
t.title }}{% endblock %}
{% block content %}
<h1>
{{
objec
t.title }}
{{
announcemen
t.title }}
</h1>
<p>
by {{ object.author.first_name }} {{ object.author.last_name }}
<br>
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}
<br>
{{ announcement.date_format}}, {{ announcement.time_format }}
<br><br>
{{ announcement.body }}
<br>
</p>
<p>
{{ object.format_date}}, {{ object.format_time }}
<br><br>
{{ object.body }}
<br>
Like: {{ object.getLike }}
<br>
Love: {{ object.getLove }}
<br>
Angry: {{ object.getAngry}}
<br>
Like: {{ announcement.getLike }}
<br>
Love: {{ announcement.getLove }}
<br>
Angry: {{ announcement.getAngry}}
<br>
</p>
<p>
<a
href=
"
/announcements/{{object.pk}}/edit
"
>
<a
href=
"
{% url 'announcement_board:announcement-edit' announcement.pk %}
"
>
<button
class=
"btn"
>
Edit Announcement
</button>
</a>
</p>
...
...
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