Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_Alipins
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
Angelico Ruiz T. Teaño
widget_Alipins
Commits
7dcdbd9d
Commit
7dcdbd9d
authored
May 10, 2022
by
Carlo Joseph Echon
🐟
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Changed the pub date in templates so it outputs the required format
parent
211a8543
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
detail.html
...alipins/announcements/templates/announcements/detail.html
+1
-1
index.html
..._alipins/announcements/templates/announcements/index.html
+1
-1
No files found.
widget_alipins/announcements/templates/announcements/detail.html
View file @
7dcdbd9d
...
...
@@ -3,7 +3,7 @@
{% block content %}
<h1>
{{announcement.announcement_title}}
</h1>
<div>
<h2>
by {{announcement.author.first_name}} {{announcement.author.last_name}}, {{announcement.pub_date}}
</h2>
<h2>
by {{announcement.author.first_name}} {{announcement.author.last_name}}, {{announcement.pub_date
|date:"d/m/Y"
}}
</h2>
<p>
Description: {{announcement.announcement_body}}
<br><br>
Reaction:
<br>
...
...
widget_alipins/announcements/templates/announcements/index.html
View file @
7dcdbd9d
...
...
@@ -7,7 +7,7 @@
{% if announcement_list %}
<ul>
{% for announcement in announcement_list %}
<li><a
href=
"{% url 'announcements:details' announcement.id %}"
>
{{announcement.announcement_title}}
</a>
by {{announcement.author.first_name}} {{announcement.author.last_name}} dated {{announcement.pub_date}}
</li>
<li><a
href=
"{% url 'announcements:details' announcement.id %}"
>
{{announcement.announcement_title}}
</a>
by {{announcement.author.first_name}} {{announcement.author.last_name}} dated {{announcement.pub_date
|date:"d/m/Y"
}}
</li>
{% endfor %}
</ul>
{% else %}
...
...
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