Title case for "Events Archive" "Upcoming Events" & "Latest News"
authorJonathan S. Katz <jonathan.katz@excoventures.com>
Tue, 16 Oct 2018 14:39:34 +0000 (10:39 -0400)
committerJonathan S. Katz <jonathan.katz@excoventures.com>
Tue, 16 Oct 2018 14:39:34 +0000 (10:39 -0400)
pgweb/events/views.py
pgweb/util/contexts.py
templates/news/newsarchive.html

index 5c76c896645e1433cec52a32728abcd613db467a..8668b1de6a3957f3aef0aab70942e123da62fe53 100644 (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': '',},
index c47a8d03d9708f7be9aa10896bdd39310245e9b9..5f80c5e3dbc3b8aebcff8c061892ace62c68d6d9 100644 (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/'},
        ],
index e5dd3b3eb4feab0ab131a072b1525175fe35bb0d..484ff6b2967b14f1f6b7172633ddf104ee7d5a50 100644 (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%}