Title case for "Events Archive" "Upcoming Events" & "Latest News"

This commit is contained in:
Jonathan S. Katz
2018-10-16 10:39:34 -04:00
parent 0938dba4b8
commit 8eac1e950b
3 changed files with 5 additions and 5 deletions

View File

@ -15,7 +15,7 @@ def main(request):
other_events = Event.objects.select_related('country').filter(approved=True, badged=False).filter(training=False, enddate__gt=date.today()).order_by('enddate', 'startdate',)
training = Event.objects.select_related('country').filter(approved=True).filter(training=True, enddate__gt=date.today()).order_by('enddate', 'startdate',)
return render_pgweb(request, 'about', 'events/archive.html', {
'title': 'Upcoming events',
'title': 'Upcoming Events',
'eventblocks': (
{ 'name': 'Community Events', 'events': community_events, 'link': '',},
{ 'name': 'Other Events', 'events': other_events, 'link': '',},

View File

@ -15,8 +15,8 @@ sitenav = {
{'title': 'Sponsors', 'link':'/about/sponsors/', 'submenu': [
{'title': 'Servers', 'link': '/about/servers/'},
]},
{'title': 'Latest news', 'link':'/about/newsarchive/'},
{'title': 'Upcoming events', 'link':'/about/events/'},
{'title': 'Latest News', 'link':'/about/newsarchive/'},
{'title': 'Upcoming Events', 'link':'/about/events/'},
{'title': 'Press', 'link':'/about/press/'},
{'title': 'Licence', 'link':'/about/licence/'},
],

View File

@ -1,8 +1,8 @@
{%extends "base/page.html"%}
{%load markup%}
{%block title%}News archive{%if tag%} - {{tag.name}}{%endif%}{%endblock%}
{%block title%}News Archive{%if tag%} - {{tag.name}}{%endif%}{%endblock%}
{%block contents%}
<h1>News archive{%if tag%} - {{tag.name}}{%endif%} <i class="far fa-newspaper"></i></h1>
<h1>News Archive{%if tag%} - {{tag.name}}{%endif%} <i class="far fa-newspaper"></i></h1>
<p>
{%for t in newstags%}<span class="newstag"><a class="btn btn-primary" href="/about/newsarchive/{{t.urlname}}/">{{t.name}}</a></span> {%endfor%}