Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
W
widget_group17
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
Vaughn Nephi Fajardo
widget_group17
Commits
ea87d6db
Commit
ea87d6db
authored
May 17, 2022
by
Neal Berones
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: changed date format in details.html and index.html for announcements templates
parent
2a08f640
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
details.html
...oup_17/announcements/templates/announcements/details.html
+1
-1
index.html
...group_17/announcements/templates/announcements/index.html
+1
-1
No files found.
widget_group_17/announcements/templates/announcements/details.html
View file @
ea87d6db
...
@@ -5,7 +5,7 @@
...
@@ -5,7 +5,7 @@
{% block content %}
{% block content %}
<head>
<head>
<h1>
{{ announcement.announcement_title }}
</h1>
<h1>
{{ announcement.announcement_title }}
</h1>
<h2>
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}, {{ announcement.pub_date|date:"
SHORT_DATE_FORMAT
" }}
</h2>
<h2>
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}, {{ announcement.pub_date|date:"
d-m-Y
" }}
</h2>
</head>
</head>
<body>
<body>
<p>
{{ announcement.announcement_body }}
</p>
<p>
{{ announcement.announcement_body }}
</p>
...
...
widget_group_17/announcements/templates/announcements/index.html
View file @
ea87d6db
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<li><a
href=
"{% url 'announcements:detail' announcement.id %}"
>
<li><a
href=
"{% url 'announcements:detail' announcement.id %}"
>
{{ announcement.announcement_title }}
{{ announcement.announcement_title }}
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}
by {{ announcement.author.first_name }} {{ announcement.author.last_name }}
dated {{ announcement.pub_date|date:"
SHORT_DATE_FORMAT
" }}
dated {{ announcement.pub_date|date:"
d-m-Y
" }}
</a>
</a>
</li>
</li>
{% endfor %}
{% endfor %}
...
...
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