Merge lp:~widelands-dev/widelands-website/tabbed_profile into lp:widelands-website

Proposed by kaputtnik
Status: Merged
Merged at revision: 505
Proposed branch: lp:~widelands-dev/widelands-website/tabbed_profile
Merge into: lp:widelands-website
Diff against target: 2316 lines (+752/-411)
83 files modified
media/css/base.css (+144/-69)
media/css/navigation.css (+0/-1)
privacy_policy/models.py (+1/-1)
privacy_policy/views.py (+1/-0)
templates/404.html (+5/-2)
templates/500.html (+5/-2)
templates/base.html (+16/-9)
templates/check_input/moderate_info.html (+5/-4)
templates/django_messages/base.html (+8/-3)
templates/header.html (+46/-0)
templates/login_box.html (+0/-29)
templates/mainpage.html (+7/-3)
templates/mainpage/changelog.html (+5/-2)
templates/mainpage/developers.html (+4/-2)
templates/mainpage/legal_notice.html (+5/-4)
templates/mainpage/legal_notice_thanks.html (+5/-4)
templates/news/category_posts.html (+5/-2)
templates/news/inlines/post_detail.html (+13/-6)
templates/news/post_archive_month.html (+4/-2)
templates/news/post_archive_year.html (+4/-2)
templates/news/post_detail.html (+5/-3)
templates/news/post_list.html (+24/-15)
templates/notification/base.html (+1/-2)
templates/notification/notice_settings.html (+7/-3)
templates/privacy_policy.html (+4/-3)
templates/pybb/add_post.html (+3/-2)
templates/pybb/category.html (+4/-2)
templates/pybb/delete_post.html (+5/-2)
templates/pybb/edit_post.html (+5/-5)
templates/pybb/forum.html (+17/-10)
templates/pybb/index.html (+4/-2)
templates/pybb/topic.html (+5/-2)
templates/registration/activate.html (+5/-2)
templates/registration/activation_complete.html (+5/-2)
templates/registration/login.html (+4/-2)
templates/registration/logout.html (+4/-2)
templates/registration/password_change_done.html (+5/-2)
templates/registration/password_change_form.html (+5/-2)
templates/registration/password_reset_complete.html (+5/-2)
templates/registration/password_reset_confirm.html (+5/-2)
templates/registration/password_reset_done.html (+5/-2)
templates/registration/password_reset_form.html (+5/-2)
templates/registration/registration_complete.html (+5/-2)
templates/registration/registration_form.html (+5/-2)
templates/right_boxes.html (+0/-12)
templates/search/search.html (+3/-2)
templates/threadedcomments/preview_comment.html (+5/-2)
templates/wiki/backlinks.html (+10/-5)
templates/wiki/base.html (+36/-0)
templates/wiki/changeset.html (+5/-6)
templates/wiki/edit.html (+9/-10)
templates/wiki/history.html (+11/-9)
templates/wiki/index.html (+5/-2)
templates/wiki/recentchanges.html (+5/-2)
templates/wiki/view.html (+9/-21)
templates/wlggz/edit_ggz.html (+5/-2)
templates/wlhelp/building_details.html (+39/-37)
templates/wlhelp/buildings.html (+5/-2)
templates/wlhelp/index.html (+4/-2)
templates/wlhelp/inlines/tribes_details.html (+2/-1)
templates/wlhelp/ware_details.html (+5/-2)
templates/wlhelp/wares.html (+5/-2)
templates/wlhelp/worker_details.html (+5/-2)
templates/wlhelp/workers.html (+5/-2)
templates/wlimages/upload.html (+1/-1)
templates/wlmaps/edit_comment.html (+4/-2)
templates/wlmaps/index.html (+14/-4)
templates/wlmaps/map_detail.html (+5/-3)
templates/wlmaps/upload.html (+4/-2)
templates/wlpoll/poll_detail.html (+25/-7)
templates/wlpoll/poll_list.html (+15/-5)
templates/wlprofile/base.html (+33/-0)
templates/wlprofile/delete_me.html (+4/-3)
templates/wlprofile/edit_profile.html (+7/-3)
templates/wlprofile/view_profile.html (+9/-14)
templates/wlscheduling/base.html (+3/-2)
templates/wlscheduling/find.html (+6/-4)
templates/wlscheduling/main.html (+6/-5)
templates/wlscheduling/scheduling.html (+5/-5)
templates/wlscreens/index.html (+4/-3)
templates/wlwebchat/index.html (+5/-2)
wiki/views.py (+3/-1)
wlscheduling/views.py (+1/-0)
To merge this branch: bzr merge lp:~widelands-dev/widelands-website/tabbed_profile
Reviewer Review Type Date Requested Status
Widelands Developers Pending
Review via email: mp+356749@code.launchpad.net

Commit message

- Replace some links with tabs
- Fix a problem when hitting 'View on Site' for privacy policies
- Rework base.html to get an id attribute for main headers

Description of the change

This branch replaces some links with tabs and a rework of the login box. Tabs are added to all places were formerly the small green links were used. Additionally moved some right boxes to the main page header. For the social media links i have removed Google+, because it will end in 2019, see: https://en.wikipedia.org/wiki/Google%2B#Shutdown_of_consumer_version.

For an example image see (Old image, Google+ and donation links are removed in current version): https://bugs.launchpad.net/widelands-website/+bug/1740113/+attachment/5077794/+files/tabs_right_social_bold.png

I have reworked also the base template, mainly to get an html id attribute to the main headers, which are the main green header below the navigation. Main reason for this change is bug 1746528 (Website lacks contrast): The header can now easily be changed in its appereance with css. Reworking the base template caused the main amount of the diff.

If this get deployed, no one has to hit CTRL+F5: The modified css-file get automatically loaded when accessing the Website.

This branch fixes also the server error regarding privacy_policies when hitting 'View on site' in the admin page.

Do we need testing on the alpha site for this?

To post a comment you must log in.
Revision history for this message
GunChleoc (gunchleoc) wrote :

Found a couple of small typos in the texts.

I think some alpha testing might be good, to make sure you haven't missed any pages.

Revision history for this message
kaputtnik (franku) wrote :

The alpha site is up and running.

Since we removed PayPal, i have added a link to the screenshots in the header.

Revision history for this message
kaputtnik (franku) wrote :

Can someone test also with some Internet Explorer? I have only IE 9 on my windows machine and IE 9 doesn't display the header correctly...

Thanks :-)

I have tested successfully:

Chromium Version 70.0.3538.77
Firefox 63.0
Konqueror Version 5.0.97 (Webengine, KHTML does not work)
Opera 56.0.3051.52

Revision history for this message
kaputtnik (franku) wrote :

Friendly ping: What is the state of testing?

Applying an other look and feel can be adjusted if this branch is deployed, i think.

505. By kaputtnik

Fixed strings; make PM pages part of profile pages

Revision history for this message
kaputtnik (franku) wrote :

I have stopped the alpha site now.

Revision history for this message
GunChleoc (gunchleoc) wrote :

I would have had some time to test with IE now.

Since it's working for most browsers, let's have it and I can then test on the live site.

Revision history for this message
kaputtnik (franku) wrote :

Ok :-)

This is merged on the server right now, but not commited to trunk yet. Happy testing...

Revision history for this message
kaputtnik (franku) wrote :

This is commit to trunk now.

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'media/css/base.css'
2--- media/css/base.css 2018-02-24 11:47:40 +0000
3+++ media/css/base.css 2018-11-09 07:01:29 +0000
4@@ -12,7 +12,7 @@
5 font-size: 0.88em;
6 line-height: 1.4em;
7 color: #ffffee;
8- text-shadow: 1px 1px 0px #000000;
9+ text-shadow: 1px 1px 0px #000000;
10 }
11
12 /*+++++++++++++++++++++++++*/
13@@ -34,7 +34,7 @@
14 }
15
16 a:visited {
17- color: #C8BE93;
18+ color: #e0d7b0;
19 }
20
21 a.missingLink {
22@@ -134,6 +134,10 @@
23 margin: 0.8em 0em 0.5em 0em;
24 }
25
26+#content_header h1 {
27+ display: inline-block;
28+}
29+
30 svg {
31 text-shadow: none;
32 }
33@@ -160,7 +164,7 @@
34 }
35
36 .right {
37- text-align: right;
38+ text-align: right;
39 }
40
41 .middle {
42@@ -198,6 +202,10 @@
43 background-image: url("../img/black50.png");
44 }
45
46+.hidden {
47+ display: none;
48+}
49+
50 .placeholder {
51 color: #aaa !important;
52 }
53@@ -231,6 +239,8 @@
54
55 div#content {
56 margin-right: 240px;
57+ display: flex;
58+ flex-direction: column;
59 }
60
61 div#footer {
62@@ -250,59 +260,61 @@
63 /**********/
64 /* Header */
65 /**********/
66-
67-div#header img{
68- position: relative;
69- z-index: 0;
70-}
71-
72-div.loginBox {
73- width: 320px;
74- height: 71px;
75- border: 1px solid black;
76- background-color: #332f29;
77- background-image: url("../img/but1.png");
78- -moz-border-radius: 4px 4px 0px 0px;
79+#logo img {
80+ width: 100%;
81+}
82+
83+#header {
84+ display: flex;
85+ display: -webkit-flex;
86+ flex-flow: row wrap;
87+ justify-content: space-between;
88+ align-items: center;
89+}
90+
91+#header .header_boxes li a, .header_boxes p {
92+ font-weight: bold;
93+}
94+
95+#header .header_boxes {
96+ display: flex;
97+ flex-flow: row wrap;
98+ margin: 0px;
99+ padding: 0px;
100+ list-style-type: none;
101+ border: 1px solid #474444;
102 -webkit-border-radius: 4px 4px 0px 0px;
103 -khtml-border-radius: 4px 4px 0px 0px;
104- border-radius: 4px 4px 0px 0px;
105- position: relative;
106- z-index: 0;
107- padding: 15px;
108+ border-radius: 4px 4px 4px 4px;
109 box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.7);
110-}
111-
112-div.loginBox div.right{
113- width: 120px;
114-}
115-
116-div.loginBox ul {
117- margin: 0px;
118- padding: 0px;
119- list-style-type: none;
120- line-height: 1.5em;
121-}
122-
123-div.loginBox h4 {
124- margin-bottom: 5px;
125- margin-top: 0px;
126-}
127-
128-div.loginBox input {
129- width: 100px;
130-}
131-
132-div.loginBox button {
133- margin: 0px;
134- padding: 0px;
135- border: 1px solid black;
136- width: 60px;
137- height: 20px;
138- border-radius: 10px;
139- background: none;
140- background-image: url("../img/black50.png");
141- outline: none;
142- color: #ffffff;
143+ background-image: url("../img/wood.png");
144+}
145+
146+#header .header_boxes li {
147+ border: 1px solid rgba(90, 74, 49, 0.84);
148+ padding: 2px 5px 2px 5px;
149+ text-align: center;
150+}
151+
152+#header .header_boxes img {
153+ margin: 0 2px 0 2px;
154+}
155+
156+#header li.loginBox {
157+ background-image: url("../img/black20.png");
158+ border: 1px solid #474444;
159+ -webkit-border-radius: 4px 4px 0px 0px;
160+ -khtml-border-radius: 4px 4px 0px 0px;
161+ border-radius: 4px 4px 4px 4px;
162+}
163+
164+#header p {
165+ padding: 0px;
166+ margin: 0px;
167+}
168+
169+#header img {
170+ vertical-align: middle; /* to prevent a space below */
171 }
172
173 /****************/
174@@ -319,7 +331,7 @@
175
176 div.columnModule h3 {
177 margin-bottom: 10px;
178- margin-top: 8px; /* Correction for donatebox */
179+ margin-top: 8px; /* Correction for first box */
180 }
181
182 div.columnModuleBox {
183@@ -388,21 +400,6 @@
184 border-top: none;
185 }
186
187-div.columnModuleBox ul.socialMediaList {
188- height: 55px;
189-}
190-
191-div.columnModuleBox ul.socialMediaList li {
192- float: left;
193- border: none;
194- padding: 9px;
195-}
196-
197-input.donate {
198- border: none;
199- background: none;
200-}
201-
202 /* News Posts */
203
204 img.landing {
205@@ -466,3 +463,81 @@
206 .pagination .summary{
207 margin-right: 1em;
208 }
209+
210+/****************/
211+/* Tabbed views */
212+/****************/
213+
214+.tab-list {
215+ align-self: flex-end;
216+ margin-bottom: 0px;
217+ margin-top: -18px; /* Fix the margin of the header*/
218+ z-index: 2;
219+ display: flex;
220+ flex-direction: row;
221+ list-style: none;
222+ height: 20px;
223+}
224+
225+.tab-list a {
226+ background-color: #332f29;
227+ background-image: url("../img/but1.png");
228+ border-radius: 4px;
229+ border: 1px solid black;
230+ padding: 0.5em;
231+ margin: 0 0 0 0.4em;
232+ box-shadow: 4px 4px 4px 0px rgba(0, 0, 0, 0.7);
233+ font-size: 0.83em;
234+}
235+
236+.tab-list a:hover {
237+ border-bottom: none;
238+ box-shadow: none;
239+}
240+
241+.tab-list .active {
242+ border-bottom: none;
243+ box-shadow: none;
244+}
245+
246+.tab-list li ul {
247+ position: absolute;
248+ list-style: none;
249+ padding-left: 0px;
250+ display: none;
251+}
252+
253+.tab-list li:hover ul{
254+ display: block;
255+ border: 1px solid black;
256+ border-radius: 4px;
257+}
258+
259+.tab-list li ul li{
260+ border-top: 1px solid black;
261+}
262+
263+.tab-list li ul li:first-child{
264+ border-top: none;
265+}
266+
267+.tab-list li ul li a{
268+ border: none;
269+ margin: 0 0 0 1px;
270+ display: block;
271+ box-shadow: none;
272+ border-radius: 0px;
273+ padding: 2px 4px 2px 4px;
274+}
275+
276+/* The max-width has to be adjusted
277+ depending on the width of the logo*/
278+@media (max-width: 1000px) {
279+ #header {
280+ justify-content: center;
281+ }
282+ .header_boxes {
283+ justify-content: center;
284+ margin-bottom: 10px !important;
285+ }
286+}
287\ No newline at end of file
288
289=== modified file 'media/css/navigation.css'
290--- media/css/navigation.css 2017-11-06 08:52:48 +0000
291+++ media/css/navigation.css 2018-11-09 07:01:29 +0000
292@@ -59,7 +59,6 @@
293 div#topmenu {
294 position: relative;
295 z-index: 5;
296- top: -8px;
297 clear: both;
298 height: 50px;
299 margin-bottom: 22px;
300
301=== added file 'media/img/camera.png'
302Binary files media/img/camera.png 1970-01-01 00:00:00 +0000 and media/img/camera.png 2018-11-09 07:01:29 +0000 differ
303=== modified file 'media/img/download.png'
304Binary files media/img/download.png 2012-05-08 21:52:15 +0000 and media/img/download.png 2018-11-09 07:01:29 +0000 differ
305=== added file 'media/img/maps.png'
306Binary files media/img/maps.png 1970-01-01 00:00:00 +0000 and media/img/maps.png 2018-11-09 07:01:29 +0000 differ
307=== modified file 'media/img/socialmedia/facebook.png'
308Binary files media/img/socialmedia/facebook.png 2012-09-09 13:40:13 +0000 and media/img/socialmedia/facebook.png 2018-11-09 07:01:29 +0000 differ
309=== modified file 'media/img/socialmedia/googleplus.png'
310Binary files media/img/socialmedia/googleplus.png 2012-09-09 13:40:13 +0000 and media/img/socialmedia/googleplus.png 2018-11-09 07:01:29 +0000 differ
311=== modified file 'media/img/socialmedia/twitter.png'
312Binary files media/img/socialmedia/twitter.png 2012-09-09 13:40:13 +0000 and media/img/socialmedia/twitter.png 2018-11-09 07:01:29 +0000 differ
313=== modified file 'media/img/socialmedia/youtube.png'
314Binary files media/img/socialmedia/youtube.png 2012-09-09 13:40:13 +0000 and media/img/socialmedia/youtube.png 2018-11-09 07:01:29 +0000 differ
315=== modified file 'privacy_policy/models.py'
316--- privacy_policy/models.py 2018-10-08 17:51:36 +0000
317+++ privacy_policy/models.py 2018-11-09 07:01:29 +0000
318@@ -21,4 +21,4 @@
319 return self.language
320
321 def get_absolute_url(self):
322- return reverse('policy_translated', kwargs={'lang': self.language})
323\ No newline at end of file
324+ return reverse('policy_translated', kwargs={'slug': self.slug})
325\ No newline at end of file
326
327=== modified file 'privacy_policy/views.py'
328--- privacy_policy/views.py 2018-10-08 17:51:36 +0000
329+++ privacy_policy/views.py 2018-11-09 07:01:29 +0000
330@@ -42,4 +42,5 @@
331 'languages': languages,
332 'cur_lang': current_lang,
333 }
334+
335 return render(request, 'privacy_policy.html', context)
336
337=== modified file 'templates/404.html'
338--- templates/404.html 2012-05-04 16:52:39 +0000
339+++ templates/404.html 2018-11-09 07:01:29 +0000
340@@ -4,8 +4,11 @@
341 Not found - {{ block.super}}
342 {% endblock %}
343
344-{% block content %}
345-<h1>Not found...</h1>
346+{% block content_header %}
347+ <h1>Not found...</h1>
348+{% endblock %}
349+
350+{% block content_main %}
351 <div class="blogEntry">
352 <p>
353 The document you requested was not found....<br />
354
355=== modified file 'templates/500.html'
356--- templates/500.html 2016-07-26 21:14:43 +0000
357+++ templates/500.html 2018-11-09 07:01:29 +0000
358@@ -4,8 +4,11 @@
359 Internal server error - {{ block.super}}
360 {% endblock %}
361
362-{% block content %}
363-<h1>Internal server error</h1>
364+{% block content_header %}
365+ <h1>Internal server error</h1>
366+{% endblock %}
367+
368+{% block content_main %}
369 <div class="blogEntry">
370 <p> We are sorry about that...</p><br />
371 <p>The widelands website administrators have been automatically informed about this issue.</p>
372
373=== modified file 'templates/base.html'
374--- templates/base.html 2018-09-04 17:01:27 +0000
375+++ templates/base.html 2018-11-09 07:01:29 +0000
376@@ -1,5 +1,3 @@
377-{% load wl_extras %}
378-
379 <!DOCTYPE html>
380 {% comment %}
381 vim:ft=htmldjango:
382@@ -19,7 +17,7 @@
383 <link href="{{ MEDIA_URL }}favicon.ico" rel="icon" />
384
385 <!-- CSS -->
386- <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/base.css" />
387+ <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/base.css?v1" />
388 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/navigation.css" />
389 <!--[if lt IE 9]>
390 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/base_ielt9.css" />
391@@ -37,10 +35,7 @@
392 <a id="top"></a>
393 <div id="wrapper">
394 <div id="header">
395- <div class="loginBox posRight">
396- {% include "login_box.html" %}
397- </div>
398- <a href="{% url 'mainpage' %}"><img src="{{ MEDIA_URL }}img/{% wl_logo %}" class="posLeft" alt="Widelands Logo" /></a>
399+ {% include "header.html" %}
400 </div>
401 <div id="topmenu">
402 <!-- Navigation -->
403@@ -48,11 +43,23 @@
404 </div>
405 <div id="main" class="clear">
406 <div id="rightColumn" class="posRight">
407+ <!-- below navigation: right side -->
408 {% include "right_boxes.html" %}
409 </div>
410 <div id="content">
411- {% block content %}
412- No Content here!
413+ <!-- below navigation: left side -->
414+ <div id="content_header">
415+ {% block content_header %}
416+ <!-- the header of each page -->
417+ {% endblock %}
418+ </div>
419+ {% block content_tabbing %}
420+ <!-- used to display tabs on pages. For tabs which point to
421+ other pages, use it in base.html of the main page -->
422+ {% endblock %}
423+
424+ {% block content_main %}
425+ <!-- all in div blogEntry -->
426 {% endblock %}
427 </div>
428 </div>
429
430=== modified file 'templates/check_input/moderate_info.html'
431--- templates/check_input/moderate_info.html 2017-11-24 10:55:59 +0000
432+++ templates/check_input/moderate_info.html 2018-11-09 07:01:29 +0000
433@@ -1,9 +1,10 @@
434 {% extends 'base.html' %}
435
436-{% block content %}
437-
438-<h1>All comments have to be moderated</h1>
439-
440+{% block content_header %}
441+ <h1>All comments have to be moderated</h1>
442+{% endblock %}
443+
444+{% block content_main %}
445 <div class="blogEntry">
446 <p>Your comment has to be reviewd by a moderator.</p>
447 {% if act_count == max_count|add:"-1" %}
448
449=== modified file 'templates/django_messages/base.html'
450--- templates/django_messages/base.html 2017-11-08 08:32:10 +0000
451+++ templates/django_messages/base.html 2018-11-09 07:01:29 +0000
452@@ -1,4 +1,4 @@
453-{% extends "base.html" %}
454+{% extends "wlprofile/base.html" %}
455 {% load i18n %}
456 {% block bodyclass %}about{% endblock %}
457
458@@ -6,12 +6,17 @@
459 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/messages.css" />
460 {{ block.super}}{% endblock %}
461
462+{% block messages %}class="active"{% endblock %}
463+
464 {% block title %}
465 Messages - {{block.super}}
466 {% endblock %}
467
468-{% block content %}
469-<h1>Messages: {% block msg_title %}{% endblock %}</h1>
470+{% block content_header %}
471+ <h1>Messages: {% block msg_title %}{% endblock %}</h1>
472+{% endblock %}
473+
474+{% block content_main %}
475 <div class="blogEntry">
476 {% if messages %}
477 {% for message in messages %}
478
479=== added file 'templates/header.html'
480--- templates/header.html 1970-01-01 00:00:00 +0000
481+++ templates/header.html 2018-11-09 07:01:29 +0000
482@@ -0,0 +1,46 @@
483+{% load wlprofile_extras %}
484+{% load wl_extras %}
485+
486+<div id="logo">
487+ <a href="{% url 'mainpage' %}"><img src=
488+ "{{ MEDIA_URL }}img/{% wl_logo %}" alt=
489+ "Widelands Logo"></a>
490+</div>
491+<ul class="header_boxes">
492+ <li class="small">
493+ <a href="{% url 'wlscreens_index' %}" title="Screenshots">Screenshots<br />
494+ <img src="{{ MEDIA_URL }}/img/camera.png" alt="Screenshots" />
495+ </a>
496+ </li>
497+ <li class="small">
498+ <a href="{% url 'wiki_article' "Download" %}" title="Download">Download<br />
499+ <img src="{{ MEDIA_URL }}/img/download.png" alt="Get Widelands" />
500+ </a>
501+ </li>
502+ <li class="small">
503+ <a href="{% url 'wlmaps_index' %}" title="Get new maps">Maps<br />
504+ <img src="{{ MEDIA_URL }}img/maps.png" alt="Get Free Maps" />
505+ </a>
506+ </li>
507+ <li class="small">
508+ <p>Social Media</p>
509+ <a href="https://www.facebook.com/WidelandsOfficial" target="_blank">
510+ <img src="{{ MEDIA_URL }}img/socialmedia/facebook.png" alt="Facebook" />
511+ </a>
512+ </li>
513+ <li class="loginBox small">
514+ <!-- Login form / User information -->
515+ {% if user.is_authenticated %}
516+ <a href="{% url 'profile_view' %}" title="You are logged in as {{ user }}">Your Profile</a>
517+ {% if messages_inbox_count > 0 %}
518+ <a href="{% url 'messages_inbox' %}" title="Number of Private Messages">({{ messages_inbox_count }})</a>
519+ {% endif %}
520+ <br />
521+ <a href="{% url 'scheduling_find' %}?next={{ request.path|iriencode }}" title="Show other users playtimes">Playtimes</a>
522+ <br />
523+ <a href="{% url 'auth_logout' %}?next={{ request.path|iriencode }}">Logout</a>
524+ {% else %}
525+ <a href="{% url 'auth_login' %}?next={{ request.path|iriencode }}">Login/Register</a>
526+ {% endif %}
527+ </li>
528+</ul>
529
530=== removed file 'templates/login_box.html'
531--- templates/login_box.html 2018-02-17 11:29:38 +0000
532+++ templates/login_box.html 1970-01-01 00:00:00 +0000
533@@ -1,29 +0,0 @@
534-{% load wlprofile_extras %}
535-
536-<!-- Login form / User information -->
537-{% if user.is_authenticated %}
538- <div class="small posLeft">
539- Welcome {{ user|user_link }},<br/>
540- <a href="{% url 'scheduling_main' %}">Playtime Scheduler</a>
541- </div>
542- <div class="right small posRight">
543- <ul>
544- <li>
545- {% if messages_inbox_count %}
546- <a href="{% url 'messages_inbox' %}" title="You have {{ messages_inbox_count }} new messages">Messages ({{ messages_inbox_count }})</a>
547- {% else %}
548- <a href="{% url 'messages_inbox' %}" title="No new message">Messages</a>
549- {% endif %}
550- </li>
551- <li><a href="{% url 'notification_notices' %}">Notifications</a></li>
552- <li><a href="{% url 'profile_edit' %}">Edit Profile</a></li>
553- <li><a href="{% url 'auth_logout' %}?next={{ request.path|iriencode }}">Logout</a></li>
554- </ul>
555- </div>
556-{% else %}
557- <h4>Login</h4>
558- <div class="small center">
559- <a href="{% url 'auth_login' %}?next={{ request.path|iriencode }}">Click here to login</a><br />
560- <a href="{% url 'auth_password_reset' %}">Lost password?</a> | <a href="{% url 'registration_register' %}">Register now!</a>
561- </div>
562-{% endif %}
563
564=== modified file 'templates/mainpage.html'
565--- templates/mainpage.html 2018-09-13 20:19:07 +0000
566+++ templates/mainpage.html 2018-11-09 07:01:29 +0000
567@@ -15,8 +15,10 @@
568 <link rel="alternate" type="application/rss+xml" title="Widelands News" href="news/feed/" />
569
570 {{ block.super}}{% endblock %}
571-{% block content %}
572-<h1>Welcome to Widelands.org</h1>
573+{% block content_header %}
574+ <h1>Welcome to Widelands.org</h1>
575+{% endblock %}
576+{% block content_main %}
577 <div class="blogEntry" style="min-height: 380px;">
578 <img class="landing posRight" src="{{ MEDIA_URL }}img/welcome.jpg" alt="Welcome!" />
579 <p>
580@@ -53,7 +55,9 @@
581
582 {% get_latest_posts 3 as latest_posts_list %}
583 {% if latest_posts_list %}
584- <h1>News</h1>
585+ <div id="content_header">
586+ <h1>News</h1>
587+ </div>
588 {% for object in latest_posts_list %}
589 {% include "news/inlines/post_detail.html" %}
590 {% endfor %}
591
592=== modified file 'templates/mainpage/changelog.html'
593--- templates/mainpage/changelog.html 2012-05-04 16:52:39 +0000
594+++ templates/mainpage/changelog.html 2018-11-09 07:01:29 +0000
595@@ -7,8 +7,11 @@
596 {{ block.super}}
597 {% endblock %}
598
599-{% block content %}
600-<h1>Changelog</h1>
601+{% block content_header %}
602+ <h1>Changelog</h1>
603+{% endblock %}
604+
605+{% block content_main %}
606 <div class="blogEntry">
607 {{ changelog|wl_markdown }}
608 </div>
609
610=== modified file 'templates/mainpage/developers.html'
611--- templates/mainpage/developers.html 2017-10-30 11:58:00 +0000
612+++ templates/mainpage/developers.html 2018-11-09 07:01:29 +0000
613@@ -7,8 +7,10 @@
614 {{ block.super}}
615 {% endblock %}
616
617-{% block content %}
618-<h1>Widelands Development Team</h1>
619+{% block content_header %}
620+ <h1>Widelands Development Team</h1>
621+{% endblock %}
622+{% block content_main %}
623 <div class="blogEntry">
624 {{ developers|safe }}
625 </div>
626
627=== modified file 'templates/mainpage/legal_notice.html'
628--- templates/mainpage/legal_notice.html 2018-09-05 19:11:58 +0000
629+++ templates/mainpage/legal_notice.html 2018-11-09 07:01:29 +0000
630@@ -3,10 +3,11 @@
631
632 {% block title %}Legal notice {{ block.super }}{% endblock %}
633
634-{% block content %}
635-
636-<h1>Legal notice</h1>
637-
638+{% block content_header %}
639+ <h1>Legal notice</h1>
640+{% endblock %}
641+
642+{% block content_main %}
643 <div class="blogEntry">
644 <p>The website <a href="https://wl.widelands.org">widelands.org</a> is a privately owned page to exchange knowledge and experience about the free, open source game Widelands. There are no financial goal or interest.</p>
645
646
647=== modified file 'templates/mainpage/legal_notice_thanks.html'
648--- templates/mainpage/legal_notice_thanks.html 2015-08-24 19:55:58 +0000
649+++ templates/mainpage/legal_notice_thanks.html 2018-11-09 07:01:29 +0000
650@@ -3,10 +3,11 @@
651
652 {% block title %}Impressum (Legal note) {{ block.super }}{% endblock %}
653
654-{% block content %}
655-
656-<h1>Legal notice</h1>
657-
658+{% block content_header %}
659+ <h1>Legal notice</h1>
660+{% endblock %}
661+
662+{% block content_main %}
663 <div class="blogEntry">
664 <h2>Thanks</h2>
665
666
667=== modified file 'templates/news/category_posts.html'
668--- templates/news/category_posts.html 2017-08-16 21:13:43 +0000
669+++ templates/news/category_posts.html 2018-11-09 07:01:29 +0000
670@@ -5,8 +5,11 @@
671
672 {% block title %} Category: {{ cur_category }} - {{ block.super }}{% endblock %}
673
674-{% block content %}
675-<h1>Posts for Category: {{ cur_category }}</h1>
676+{% block content_header %}
677+ <h1>Posts for Category: {{ cur_category }}</h1>
678+{% endblock %}
679+
680+{% block content_main %}
681 <div>
682 <div class="linksBox">
683 <a href="{% url 'news_index' %}">News Archive</a>
684
685=== modified file 'templates/news/inlines/post_detail.html'
686--- templates/news/inlines/post_detail.html 2018-10-03 10:53:41 +0000
687+++ templates/news/inlines/post_detail.html 2018-11-09 07:01:29 +0000
688@@ -7,18 +7,25 @@
689 {% load threadedcommentstags %}
690 {% load wl_markdown wlprofile_extras custom_date %}
691
692+{% block content_tabbing %}
693+ {% if perms.news %}
694+ <ul class="small tab-list">
695+ <li>
696+ {% if perms.news.add_post %}<a href="/admin/news/post/add/">Add New News</a>{% endif %}
697+ </li>
698+ <li>
699+ {% if perms.news.change_post %}<a href="/admin/news/post/{{object.id}}/">Edit</a>{% endif %}
700+ </li>
701+ </ul>
702+ {% endif %}
703+{% endblock %}
704 <div class="blogEntry">
705 {% if object.has_image %}
706 <a href="{% url 'category_posts' slug=object.get_category_slug %}">
707 <img class="title posLeft" src="{{MEDIA_URL}}{{ object.image|urlencode }}" alt="{{ object.image_alt }}">
708 </a>
709 {% endif %}
710- {% if perms.news %}
711- <div class="small posRight invertedColor">
712- {% if perms.news.add_post %}<a href="/admin/news/post/add/">Add New News</a>{% endif %}
713- {% if perms.news.change_post %}| <a href="/admin/news/post/{{object.id}}/">Edit</a>{% endif %}
714- </div>
715- {% endif %}
716+
717
718 <h2><a href="{{ object.get_absolute_url }}" style="color: inherit;">{{ object.title }}</a></h2>
719
720
721=== modified file 'templates/news/post_archive_month.html'
722--- templates/news/post_archive_month.html 2016-11-20 11:55:39 +0000
723+++ templates/news/post_archive_month.html 2018-11-09 07:01:29 +0000
724@@ -2,9 +2,11 @@
725
726 {% block title %}{{ month|date:"F - Y" }} - {{block.super}} {% endblock %}
727
728-{% block content %}
729+{% block content_header %}
730+ <h1>News Archive: {{ month|date:"F" }} {{ month|date:"Y" }}</h1>
731+{% endblock %}
732
733-<h1>News Archive: {{ month|date:"F" }} {{ month|date:"Y" }}</h1>
734+{% block content_main %}
735 <div class="linksBox">
736 <a href="{% url 'news_index' %}">News Archiv</a> &#187;
737 <a href="{% url 'news_index' %}{{ month|date:"Y" }}/">{{ month|date:"Y" }}</a> &#187;
738
739=== modified file 'templates/news/post_archive_year.html'
740--- templates/news/post_archive_year.html 2016-11-21 17:45:28 +0000
741+++ templates/news/post_archive_year.html 2018-11-09 07:01:29 +0000
742@@ -2,9 +2,11 @@
743
744 {% block title %}{{ year|date:"Y" }} - {{ block.super }}{% endblock %}
745
746-{% block content %}
747+{% block content_header %}
748+ <h1>News Archive: {{ year|date:"Y" }}</h1>
749+{% endblock %}
750
751-<h1>News Archive: {{ year|date:"Y" }}</h1>
752+{% block content_main %}
753 <div class="linksBox">
754 <a href="{% url 'news_index' %}">News Archiv </a>&#187;
755 <a href="{% url 'news_index' %}{{ year|date:"Y" }}">{{ year|date:"Y" }}</a> :
756
757=== modified file 'templates/news/post_detail.html'
758--- templates/news/post_detail.html 2018-10-03 10:53:41 +0000
759+++ templates/news/post_detail.html 2018-11-09 07:01:29 +0000
760@@ -15,8 +15,8 @@
761 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/comments.css" />
762 {% endblock %}
763
764-{% block content %}
765- <h1>News: {{ object.title }}</h1>
766+{% block content_header %}
767+ <h1>News: {{ object.title }}</h1><br />
768 <div class="linksBox">
769 <a href="{% url 'news_index' %}">News Archive: </a>
770 {% if object.get_previous_by_publish %}
771@@ -25,7 +25,9 @@
772 {% if object.get_next_post %}
773 | <a href="{{ object.get_next_post.get_absolute_url }}">{{ object.get_next_post }} &raquo;</a>
774 {% endif %}
775- </div>
776+ </div>{% endblock %}
777+
778+{% block content_main %}
779
780 {% include "news/inlines/post_detail.html" %}
781
782
783=== modified file 'templates/news/post_list.html'
784--- templates/news/post_list.html 2016-12-05 20:55:28 +0000
785+++ templates/news/post_list.html 2018-11-09 07:01:29 +0000
786@@ -1,21 +1,30 @@
787 {% extends "news/base_news.html" %}
788
789-{% block content %}
790-
791-<h1>News Archive</h1>
792-<div class="linksBox">
793- <a href="{% url 'news_index' %}">News Archive: </a>
794- {% for dateobj in date_list reversed %}
795- <a href="{% url 'news_index' %}{{ dateobj|date:'Y' }}">{{ dateobj|date:'Y' }}</a>
796- {% if not forloop.last %} | {% endif %}
797- {% endfor%}
798-</div>
799-{% if perms.news %}
800- <div class="small posRight linksBox">
801- {% if perms.news.add_post %}<a href="/admin/news/post/add/">Add New News</a>{% endif %}
802+{% block content_header %}
803+ <h1>News Archive</h1><br />
804+ <div class="linksBox">
805+ <a href="{% url 'news_index' %}">News Archive: </a>
806+ {% for dateobj in date_list reversed %}
807+ <a href="{% url 'news_index' %}{{ dateobj|date:'Y' }}">{{ dateobj|date:'Y' }}</a>
808+ {% if not forloop.last %} | {% endif %}
809+ {% endfor%}
810 </div>
811-{% endif %}
812-
813+{% endblock %}
814+
815+
816+{% block content_tabbing %}
817+ {% if perms.news %}
818+ <ul class="small tab-list">
819+ <li>
820+ {% if perms.news.add_post %}
821+ <a href="/admin/news/post/add/">Add New News</a>
822+ {% endif %}
823+ </li>
824+ </ul>
825+ {% endif %}
826+{% endblock %}
827+
828+{% block content_main %}
829 {% include "news/inlines/posts_table.html" %}
830
831 {% endblock %}
832
833=== modified file 'templates/notification/base.html'
834--- templates/notification/base.html 2016-05-17 19:28:38 +0000
835+++ templates/notification/base.html 2018-11-09 07:01:29 +0000
836@@ -1,6 +1,5 @@
837-{% extends "base.html" %}
838+{% extends "wlprofile/base.html" %}
839
840 {% block extra_head %}
841- {#<link rel="alternate" type="application/atom+xml" title="Notices Feed" href="{% url 'notification_feed_for_user' %}" />#}
842 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/notice.css" />{{ block.super}}
843 {% endblock %}
844\ No newline at end of file
845
846=== modified file 'templates/notification/notice_settings.html'
847--- templates/notification/notice_settings.html 2017-08-16 21:13:43 +0000
848+++ templates/notification/notice_settings.html 2018-11-09 07:01:29 +0000
849@@ -7,9 +7,13 @@
850 {% trans "Notifications "%} - {{ block.super }}
851 {% endblock %}
852
853-{% block content %}
854-<h1>{% trans "Notification Settings" %}</h1>
855-
856+{% block notifications %}class="active"{% endblock %}
857+
858+{% block content_header %}
859+ <h1>{% trans "Notification Settings" %} {{ profile.user }}</h1>
860+{% endblock %}
861+
862+{% block content_main %}
863 <div class="blogEntry">
864 <h2>{% trans "Settings" %}</h2>
865
866
867=== modified file 'templates/privacy_policy.html'
868--- templates/privacy_policy.html 2018-10-09 18:02:07 +0000
869+++ templates/privacy_policy.html 2018-11-09 07:01:29 +0000
870@@ -8,9 +8,10 @@
871 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/wiki.css" />
872 {% endblock %}
873
874-{% block content %}
875-<h1>Privacy Policy</h1>
876-
877+{% block content_header %}
878+ <h1>Privacy Policy</h1>
879+{% endblock %}
880+{% block content_main %}
881 <div class="blogEntry">
882 {% with languages|length as count %}
883 {% if count > 0 %}
884
885=== modified file 'templates/pybb/add_post.html'
886--- templates/pybb/add_post.html 2016-03-02 21:02:38 +0000
887+++ templates/pybb/add_post.html 2018-11-09 07:01:29 +0000
888@@ -17,7 +17,7 @@
889 - {{ block.super }}
890 {% endblock %}
891
892-{% block content %}
893+{% block content_header %}
894 <h1>
895 {% if forum %}
896 {% trans "New Topic" %}
897@@ -29,7 +29,8 @@
898 {% endif %}
899 {% endif %}
900 </h1>
901-
902+{% endblock %}
903+{% block content_main %}
904 <div class="blogEntry">
905 <a href="{% url 'pybb_index' %}">Forums</a> &#187;
906 {% if forum %}
907
908=== modified file 'templates/pybb/category.html'
909--- templates/pybb/category.html 2016-03-02 21:02:38 +0000
910+++ templates/pybb/category.html 2018-11-09 07:01:29 +0000
911@@ -1,9 +1,11 @@
912 {% extends 'pybb/base.html' %}
913 {% load pybb_extras %}
914
915-{% block content %}
916-<h1>Category: {{category.name}}</h1>
917+{% block content_header %}
918+ <h1>Category: {{category.name}}</h1>
919+{% endblock %}
920
921+{% block content_main %}
922 <div class="blogEntry">
923 <a href="{% url 'pybb_index' %}">Forums</a> &#187; {{category.name}}
924 <br /><br />
925
926=== modified file 'templates/pybb/delete_post.html'
927--- templates/pybb/delete_post.html 2012-04-19 19:46:21 +0000
928+++ templates/pybb/delete_post.html 2018-11-09 07:01:29 +0000
929@@ -5,8 +5,11 @@
930 {% trans "Delete Post" %} - {{ block.super }}
931 {% endblock %}
932
933-{% block content %}
934-<h1>{% trans "Delete Post" %}</h1>
935+{% block content_header %}
936+ <h1>{% trans "Delete Post" %}</h1>
937+{% endblock %}
938+
939+{% block content_main %}
940 <div class="blogEntry">
941 <h3>{% trans "Are you sure you want to delete this message?" %}</h3>
942 <div class="preview-box">
943
944=== modified file 'templates/pybb/edit_post.html'
945--- templates/pybb/edit_post.html 2016-03-02 21:02:38 +0000
946+++ templates/pybb/edit_post.html 2018-11-09 07:01:29 +0000
947@@ -6,11 +6,11 @@
948 {% trans "Edit Reply" %} - {{ block.super }}
949 {% endblock %}
950
951-
952-{% block content %}
953-
954-<h1>{% trans "Edit Reply" %}</h1>
955-
956+{% block content_header %}
957+ <h1>{% trans "Edit Reply" %}</h1>
958+{% endblock %}
959+
960+{% block content_main %}
961 <div class="blogEntry">
962 <a href="{% url 'pybb_index' %}">Forums</a> &#187;
963 {% pybb_link post.topic.forum.category %} &#187;
964
965=== modified file 'templates/pybb/forum.html'
966--- templates/pybb/forum.html 2017-08-17 06:33:42 +0000
967+++ templates/pybb/forum.html 2018-11-09 07:01:29 +0000
968@@ -6,18 +6,28 @@
969 {% load custom_date %}
970 {% load pagination_tags %}
971
972-{% block title %}
973-{{ forum.name }} - {{ block.super }}
974-{% endblock %}
975-
976 {% block extra_head %}
977 <link rel="alternate" type="application/atom+xml" title="Latest Posts on forum '{{ forum.name }}'" href="{% url 'pybb_feed_posts' %}{{forum.id}}/" />
978 <link rel="alternate" type="application/atom+xml" title="Latest Topics on forum '{{ forum.name }}'" href="{% url 'pybb_feed_topics' %}{{forum.id}}/" />
979 {{ block.super }}
980 {% endblock %}
981
982-{% block content %}
983-<h1>Forum: {{ forum }}</h1>
984+{% block title %}
985+{{ forum.name }} - {{ block.super }}
986+{% endblock %}
987+
988+{% block content_header %}
989+ <h1>Forum: {{ forum }}</h1>
990+{% endblock %}
991+
992+{% block content_tabbing %}
993+ <ul class="tab-list small">
994+ <li>
995+ <a href="{% url 'pybb_add_topic' forum.id %}">New Topic</a>
996+ </li>
997+ </ul>
998+{% endblock %}
999+{% block content_main %}
1000
1001 <div class="blogEntry">
1002 <div class="breadCrumb">
1003@@ -25,10 +35,7 @@
1004 {% pybb_link forum.category %} &#187;
1005 {{ forum }}
1006 </div>
1007- <a class="button posRight" href="{% url 'pybb_add_topic' forum.id %}">
1008- <img src="{{ MEDIA_URL }}forum/img/new_topic.png" alt ="{% trans "New Topic" %}" class="middle" />
1009- <span class="middle">{% trans "New Topic" %}</span>
1010- </a>
1011+
1012 {% autopaginate topics page_size as object_list %}
1013 {% paginate using "pagination/pagination_mod.html" %}
1014
1015
1016=== modified file 'templates/pybb/index.html'
1017--- templates/pybb/index.html 2015-02-18 22:30:08 +0000
1018+++ templates/pybb/index.html 2018-11-09 07:01:29 +0000
1019@@ -1,9 +1,11 @@
1020 {% extends 'pybb/base.html' %}
1021 {% load pybb_extras %}
1022
1023-{% block content %}
1024-<h1>Forums</h1>
1025+{% block content_header %}
1026+ <h1>Forums</h1>
1027+{% endblock %}
1028
1029+{% block content_main %}
1030 {% for category in cats %}
1031 <div class="blogEntry">
1032 <h3><a href="{{category.get_absolute_url}}" class="invertedColor">{{category.name}}</a></h3>
1033
1034=== modified file 'templates/pybb/topic.html'
1035--- templates/pybb/topic.html 2017-10-06 08:22:32 +0000
1036+++ templates/pybb/topic.html 2018-11-09 07:01:29 +0000
1037@@ -17,8 +17,11 @@
1038 {{ block.super }}
1039 {% endblock %}
1040
1041-{% block content %}
1042-<h1>Topic: {{ topic }} </h1>
1043+{% block content_header %}
1044+ <h1>Topic: {{ topic }} </h1>
1045+{% endblock %}
1046+
1047+{% block content_main %}
1048 <div class="blogEntry">
1049 <div class="breadCrumb">
1050 <a href="{% url 'pybb_index' %}">Forums</a> &#187;
1051
1052=== modified file 'templates/registration/activate.html'
1053--- templates/registration/activate.html 2016-03-07 20:38:39 +0000
1054+++ templates/registration/activate.html 2018-11-09 07:01:29 +0000
1055@@ -7,8 +7,11 @@
1056 Activation - {{ block.super }}
1057 {% endblock %}
1058
1059-{% block content %}
1060-<h1>Activation</h1>
1061+{% block content_header %}
1062+ <h1>Activation</h1>
1063+{% endblock %}
1064+
1065+{% block content_main %}
1066 <div class="blogEntry">
1067 <p class="errormessage">
1068 An error occured: Either this account has already been activated or activation key is invalid.<br />
1069
1070=== modified file 'templates/registration/activation_complete.html'
1071--- templates/registration/activation_complete.html 2016-03-07 20:38:39 +0000
1072+++ templates/registration/activation_complete.html 2018-11-09 07:01:29 +0000
1073@@ -7,8 +7,11 @@
1074 Activation - {{ block.super }}
1075 {% endblock %}
1076
1077-{% block content %}
1078-<h1>Activation</h1>
1079+{% block content_header %}
1080+ <h1>Activation</h1>
1081+{% endblock %}
1082+
1083+{% block content_main %}
1084 <div class="blogEntry">
1085 <p>
1086 You are now activated and can <a href="{% url 'auth_login' %}">log in</a>.
1087
1088=== modified file 'templates/registration/login.html'
1089--- templates/registration/login.html 2016-06-26 09:04:15 +0000
1090+++ templates/registration/login.html 2018-11-09 07:01:29 +0000
1091@@ -4,9 +4,11 @@
1092 Login - {{ block.super }}
1093 {% endblock %}
1094
1095-{% block content %}
1096+{% block content_header %}
1097+ <h1>Login</h1>
1098+{% endblock %}
1099
1100-<h1>Login</h1>
1101+{% block content_main %}
1102 <div class="blogEntry">
1103 {% if form.errors %}
1104 <p class="errormessage">
1105
1106=== modified file 'templates/registration/logout.html'
1107--- templates/registration/logout.html 2013-06-30 11:52:47 +0000
1108+++ templates/registration/logout.html 2018-11-09 07:01:29 +0000
1109@@ -4,9 +4,11 @@
1110 Logout - {{ block.super }}
1111 {% endblock %}
1112
1113-{% block content %}
1114+{% block content_header %}
1115+ <h1>Logout</h1>
1116+{% endblock %}
1117
1118-<h1>Lougout</h1>
1119+{% block content_main %}
1120 <div class="blogEntry">
1121 You have been logged out.
1122 </div>
1123
1124=== modified file 'templates/registration/password_change_done.html'
1125--- templates/registration/password_change_done.html 2012-05-08 21:52:15 +0000
1126+++ templates/registration/password_change_done.html 2018-11-09 07:01:29 +0000
1127@@ -9,8 +9,11 @@
1128 Password Change - {{ block.super }}
1129 {% endblock %}
1130
1131-{% block content %}
1132-<h1>Password Change</h1>
1133+{% block content_header %}
1134+ <h1>Password Change</h1>
1135+{% endblock %}
1136+
1137+{% block content_main %}
1138 <div class="blogEntry">
1139 <p>
1140 Your password was changed successfully.
1141
1142=== modified file 'templates/registration/password_change_form.html'
1143--- templates/registration/password_change_form.html 2012-05-16 22:31:25 +0000
1144+++ templates/registration/password_change_form.html 2018-11-09 07:01:29 +0000
1145@@ -9,8 +9,11 @@
1146 Password Change - {{ block.super }}
1147 {% endblock %}
1148
1149-{% block content %}
1150-<h1>Password Change</h1>
1151+{% block content_header %}
1152+ <h1>Password Change</h1>
1153+{% endblock %}
1154+
1155+{% block content_main %}
1156 <div class="blogEntry">
1157 <p>
1158 Please enter your old password, for security's sake, and then enter your new password twice so we can verify you typed it in correctly.
1159
1160=== modified file 'templates/registration/password_reset_complete.html'
1161--- templates/registration/password_reset_complete.html 2016-03-07 20:38:39 +0000
1162+++ templates/registration/password_reset_complete.html 2018-11-09 07:01:29 +0000
1163@@ -9,8 +9,11 @@
1164 Password Reset - {{ block.super }}
1165 {% endblock %}
1166
1167-{% block content %}
1168-<h1>Password Reset</h1>
1169+{% block content_header %}
1170+ <h1>Password Reset</h1>
1171+{% endblock %}
1172+
1173+{% block content_main %}
1174 <div class="blogEntry">
1175 <p>
1176 Your new password has been set. You may go ahead and <a href="{% url 'auth_login' %}">log in</a> now.
1177
1178=== modified file 'templates/registration/password_reset_confirm.html'
1179--- templates/registration/password_reset_confirm.html 2012-05-16 22:31:25 +0000
1180+++ templates/registration/password_reset_confirm.html 2018-11-09 07:01:29 +0000
1181@@ -9,8 +9,11 @@
1182 Password Reset - {{ block.super }}
1183 {% endblock %}
1184
1185-{% block content %}
1186-<h1>Password Reset</h1>
1187+{% block content_header %}
1188+ <h1>Password Reset</h1>
1189+{% endblock %}
1190+
1191+{% block content_main %}
1192 <div class="blogEntry">
1193 {% if validlink %}
1194 <p>
1195
1196=== modified file 'templates/registration/password_reset_done.html'
1197--- templates/registration/password_reset_done.html 2012-05-08 21:52:15 +0000
1198+++ templates/registration/password_reset_done.html 2018-11-09 07:01:29 +0000
1199@@ -9,8 +9,11 @@
1200 Password Reset - {{ block.super }}
1201 {% endblock %}
1202
1203-{% block content %}
1204-<h1>Password Reset</h1>
1205+{% block content_header %}
1206+ <h1>Password Reset</h1>
1207+{% endblock %}
1208+
1209+{% block content_main %}
1210 <div class="blogEntry">
1211 <p>
1212 We've e-mailed you instructions for setting your password to the e-mail address you submitted. You should be receiving it shortly.
1213
1214=== modified file 'templates/registration/password_reset_form.html'
1215--- templates/registration/password_reset_form.html 2012-05-16 22:31:25 +0000
1216+++ templates/registration/password_reset_form.html 2018-11-09 07:01:29 +0000
1217@@ -9,8 +9,11 @@
1218 Password Reset - {{ block.super }}
1219 {% endblock %}
1220
1221-{% block content %}
1222-<h1>Password Reset</h1>
1223+{% block content_header %}
1224+ <h1>Password Reset</h1>
1225+{% endblock %}
1226+
1227+{% block content_main %}
1228 <div class="blogEntry">
1229 <p>
1230 Forgotten your password?
1231
1232=== modified file 'templates/registration/registration_complete.html'
1233--- templates/registration/registration_complete.html 2012-11-15 18:55:22 +0000
1234+++ templates/registration/registration_complete.html 2018-11-09 07:01:29 +0000
1235@@ -7,8 +7,11 @@
1236 Registration - {{ block.super }}
1237 {% endblock %}
1238
1239-{% block content %}
1240-<h1>Registration</h1>
1241+{% block content_header %}
1242+ <h1>Registration</h1>
1243+{% endblock %}
1244+
1245+{% block content_main %}
1246 <div class="blogEntry">
1247 <p>
1248 Thank you for signing up. An email with the activation code has been sent to your inbox.
1249
1250=== modified file 'templates/registration/registration_form.html'
1251--- templates/registration/registration_form.html 2016-06-03 14:22:24 +0000
1252+++ templates/registration/registration_form.html 2018-11-09 07:01:29 +0000
1253@@ -8,8 +8,11 @@
1254 {% endblock %}
1255 {{ form.non_field_errors }}
1256
1257-{% block content %}
1258-<h1>Registration</h1>
1259+{% block content_header %}
1260+ <h1>Registration</h1>
1261+{% endblock %}
1262+
1263+{% block content_main %}
1264 <div class="blogEntry">
1265 <form action="." method="POST">
1266 <table>
1267
1268=== modified file 'templates/right_boxes.html'
1269--- templates/right_boxes.html 2018-09-04 17:03:10 +0000
1270+++ templates/right_boxes.html 2018-11-09 07:01:29 +0000
1271@@ -5,23 +5,11 @@
1272 on the site
1273 {% endcomment %}
1274
1275-
1276 {% load inbox %}
1277 {% load i18n %}
1278 {% load wlprofile_extras wlpoll_extras wlevents_extras %}
1279 {% load pybb_extras %}
1280
1281-<!-- Social Media Box -->
1282-<div class="columnModule">
1283- <h3>Social Media</h3>
1284- <div class="columnModuleBox center">
1285- <ul class="socialMediaList center">
1286- <li><a href="https://www.facebook.com/WidelandsOfficial" target="_blank"><img src="{{ MEDIA_URL }}img/socialmedia/facebook.png" alt="Facebook"></a></li>
1287- <li><a href="https://plus.google.com/108069355276040649622" target="_blank"><img src="{{ MEDIA_URL }}img/socialmedia/googleplus.png" alt="Google+"></a></li>
1288- </ul>
1289- </div>
1290-</div>
1291-
1292
1293 <!-- Current polls if any -->
1294 {% get_open_polls as polls %}
1295
1296=== modified file 'templates/search/search.html'
1297--- templates/search/search.html 2017-11-06 17:50:17 +0000
1298+++ templates/search/search.html 2018-11-09 07:01:29 +0000
1299@@ -6,10 +6,11 @@
1300 {{block.super}}
1301 {% endblock %}
1302
1303-{% block content %}
1304-
1305+{% block content_header %}
1306 <h2>Search</h2>
1307+{% endblock %}
1308
1309+{% block content_main %}
1310 <div class="blogEntry">
1311 <div class="closeable" title="Click to expand">Help</div>
1312 <ul class="search-help-hints">
1313
1314=== modified file 'templates/threadedcomments/preview_comment.html'
1315--- templates/threadedcomments/preview_comment.html 2016-05-15 14:41:54 +0000
1316+++ templates/threadedcomments/preview_comment.html 2018-11-09 07:01:29 +0000
1317@@ -7,8 +7,11 @@
1318 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/comments.css" />
1319 {% endblock %}
1320
1321-{% block content %}
1322-<h1>Comment</h1>
1323+{% block content_header %}
1324+ <h1>Comment</h1>
1325+{% endblock %}
1326+
1327+{% block content_main %}
1328 <div class="blogEntry">
1329 {% if comment %}
1330 <h3>Preview:</h3>
1331
1332=== modified file 'templates/wiki/backlinks.html'
1333--- templates/wiki/backlinks.html 2017-01-17 21:25:32 +0000
1334+++ templates/wiki/backlinks.html 2018-11-09 07:01:29 +0000
1335@@ -1,15 +1,20 @@
1336 {% extends 'wiki/base.html' %}
1337 {% load wiki_extras %}
1338 {% load i18n %}
1339+
1340 {% block title %}
1341 {{ name }} - Backlinks - {{block.super}}
1342 {% endblock %}
1343
1344-{% block content %}
1345-<div class="posRight small">
1346- <a class="invertedColor" href="{% url 'wiki_article' name %}">Back to article</a>
1347-</div>
1348-<h1>{% trans "Backlinks of " %} {{ name }}</h1>
1349+{% block content_header %}
1350+ <h1>{% trans "Backlinks of " %} {{ name }}</h1>
1351+{% endblock %}
1352+
1353+{% block class_wiki_backl %}class="active"{% endblock %}
1354+{% block class_wiki_hist_atom %}class="hidden"{% endblock %}
1355+{% block class_wiki_edit %}class="hidden"{% endblock %}
1356+
1357+{% block content_main %}
1358 <div class="blogEntry">
1359 {% if found_links or found_old_links %}
1360 {% if found_links %}
1361
1362=== modified file 'templates/wiki/base.html'
1363--- templates/wiki/base.html 2016-04-26 16:10:04 +0000
1364+++ templates/wiki/base.html 2018-11-09 07:01:29 +0000
1365@@ -1,4 +1,5 @@
1366 {% extends "base.html" %}
1367+{% load i18n %}
1368
1369 {% block title %}
1370 Wiki - {{ block.super }}
1371@@ -10,3 +11,38 @@
1372 <link rel="alternate" type="application/atom+xml" title="Wiki History (Atom)" href="{% url 'wiki_history_feed_atom' %}" />
1373 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/wiki.css" />
1374 {% endblock %}
1375+
1376+{# Define all(!) tabs for the wiki here (all in one place).
1377+We disable or change them in the subpages. #}
1378+
1379+{% block content_tabbing %}
1380+<ul class="small tab-list">
1381+ {% if article.id %}
1382+ <li>
1383+ <a {% block class_wiki_edit %}{% endblock %} href="{% url 'wiki_edit' article.title %}">{% trans "Edit this article" %}</a>
1384+ </li>
1385+ <li>
1386+ <a {% block class_wiki_back %}{% endblock %}href="{% url 'wiki_article' article.title %}">{% trans "Back to article" %}</a>
1387+ </li>
1388+ <li>
1389+ <a {% block class_wiki_hist %}{% endblock %} href="{% url 'wiki_article_history' article.title %}">{% trans "History" %}</a>
1390+ </li>
1391+ <li>
1392+ <a {% block class_wiki_backl %}{% endblock %} href="{% url 'backlinks' article.title %}">{% trans "Backlinks" %}</a>
1393+ </li>
1394+ <li>
1395+ <a {% block class_wiki_hist_atom %}{% endblock %} href="{% url 'wiki_article_history_feed_atom' article.title %}">{% trans "Atom feed" %}</a>
1396+ </li>
1397+
1398+ {% if can_observe %}
1399+ <li>
1400+ {% if is_observing %}
1401+ <a {% block class_wiki_stop_obs %}{% endblock %}href="{% url 'wiki_stop_observing' article.title %}">{% trans "Stop observing" %}</a>
1402+ {% else %}
1403+ <a {% block class_wiki_obs %}{% endblock %}href="{% url 'wiki_observe' article.title %}">{% trans "Observe" %}</a>
1404+ {% endif %}
1405+ </li>
1406+ {% endif %}
1407+ {% endif %}
1408+</ul>
1409+{% endblock %}
1410\ No newline at end of file
1411
1412=== modified file 'templates/wiki/changeset.html'
1413--- templates/wiki/changeset.html 2016-03-02 21:02:38 +0000
1414+++ templates/wiki/changeset.html 2018-11-09 07:01:29 +0000
1415@@ -5,12 +5,11 @@
1416 {% trans "Changes in" %} {{ article.title }} - {{ block.super }}
1417 {% endblock %}
1418
1419-{% block content %}
1420-<div class="posRight small">
1421- <a href="{% url 'wiki_article' article.title %}" class="invertedColor">{% trans "Back to article" %}</a>
1422- | <a href="{% url 'wiki_article_history' article.title %}" class="invertedColor">{% trans "Editing history" %}</a>
1423-</div>
1424-<h1>{% trans "Changes in" %} {{ article.title }}</h1>
1425+{% block content_header %}
1426+ <h1>{% trans "Changes in" %} {{ article.title }}</h1>
1427+{% endblock %}
1428+
1429+{% block content_main %}
1430
1431 <div class="blogEntry">
1432 {% if changeset.old_title != article.title %}
1433
1434=== modified file 'templates/wiki/edit.html'
1435--- templates/wiki/edit.html 2018-09-18 06:42:18 +0000
1436+++ templates/wiki/edit.html 2018-11-09 07:01:29 +0000
1437@@ -36,16 +36,15 @@
1438 {{ block.super }}
1439 {% endblock %}
1440
1441-{% block content %}
1442-{% if not new_article %}
1443-<div class="posRight small">
1444- <a href="{% url 'wiki_article' article.title %}" class="invertedColor">{% trans "Back to article" %}</a>
1445- |
1446- <a href="{% url 'wiki_article_history' article.title %}" class="invertedColor">{% trans "Editing history" %}</a>
1447-</div>
1448-{% endif %}
1449-<h1>{% trans "Editing" %} {{ article.title }}</h1>
1450-
1451+{% block content_header %}
1452+ <h1>{% trans "Editing" %} {{ article.title }}</h1>
1453+{% endblock %}
1454+
1455+{# add the wanted classes to the tabs #}
1456+{% block class_wiki_edit %}class="hidden"{% endblock %}
1457+{% block class_wiki_hist_atom %}class="hidden"{% endblock %}
1458+
1459+{% block content_main %}
1460 <div class="blogEntry">
1461 <p>
1462 You can edit the wiki pages contents using the syntax described on the <a href="/wiki/WikiSyntax">WikiSyntax</a>.
1463
1464=== modified file 'templates/wiki/history.html'
1465--- templates/wiki/history.html 2018-09-18 06:42:18 +0000
1466+++ templates/wiki/history.html 2018-11-09 07:01:29 +0000
1467@@ -7,7 +7,15 @@
1468 {% trans "Article History of" %} {{ article.title }} - {{ block.super }}
1469 {% endblock %}
1470
1471-{% block content %}
1472+{% block content_header %}
1473+ <h1>{% trans "Article History of" %} {{ article.title }}</h1>
1474+{% endblock %}
1475+
1476+{# add the wanted classes to the tabs #}
1477+{% block class_wiki_edit %}class="hidden"{% endblock %}
1478+{% block class_wiki_hist %}class="hidden"{% endblock %}
1479+
1480+{% block content_main %}
1481 {% if changes|length > 1 %}
1482 <script type="text/javascript">
1483 function check() {
1484@@ -55,12 +63,6 @@
1485 </script>
1486 {% endif %}
1487
1488-<div class="posRight small">
1489- <a href="{% url 'wiki_article' article.title %}" class="invertedColor">{% trans "Back to article" %}</a>
1490- | <a href="{% url 'wiki_article_history_feed_atom' article.title %}" class="invertedColor">Atom Feed</a>
1491-</div>
1492-<h1>{% trans "Article History of" %} {{ article.title }}</h1>
1493-
1494 <div class="blogEntry">
1495 <form action="{% url 'wiki_revert_to_revision' article.title %}" method="post" onsubmit="return check(this);">
1496 <table class="history_list">
1497@@ -71,8 +73,8 @@
1498 <th colspan="2">{% trans "Compare" %}</th>
1499 {% endif %}
1500 <th>{% trans "Revert" %}</th>
1501- <th>{% trans "At" %}</th>
1502- <th>{% trans "User" %}</th>
1503+ <th class="at">{% trans "At" %}</th>
1504+ <th class="user">{% trans "User" %}</th>
1505 <th>{% trans "Comment" %}</th>
1506 </tr>
1507 </thead>
1508
1509=== modified file 'templates/wiki/index.html'
1510--- templates/wiki/index.html 2016-03-02 21:02:38 +0000
1511+++ templates/wiki/index.html 2018-11-09 07:01:29 +0000
1512@@ -4,8 +4,11 @@
1513
1514 {% block title %}Wiki Index - {{ block.super }}{% endblock %}
1515
1516-{% block content %}
1517-<h1>Wiki: Index</h1>
1518+{% block content_header %}
1519+ <h1>Wiki: Index</h1>
1520+{% endblock %}
1521+
1522+{% block content_main %}
1523 <div class="blogEntry">
1524 {% if articles %}
1525 <p> There are {{ articles|length }} articles in this wiki:</p>
1526
1527=== modified file 'templates/wiki/recentchanges.html'
1528--- templates/wiki/recentchanges.html 2018-09-07 20:34:55 +0000
1529+++ templates/wiki/recentchanges.html 2018-11-09 07:01:29 +0000
1530@@ -9,8 +9,11 @@
1531 {% trans "Recent Changes" %} - {{ block.super }}
1532 {% endblock %}
1533
1534-{% block content %}
1535-<h1>Wiki: {% trans "Recent Changes" %}</h1>
1536+{% block content_header %}
1537+ <h1>Wiki: {% trans "Recent Changes" %}</h1>
1538+{% endblock %}
1539+
1540+{% block content_main %}
1541 <div class="blogEntry">
1542 {% autopaginate changes as object_list %}
1543 {% paginate using "pagination/pagination_mod.html" %}
1544
1545=== modified file 'templates/wiki/view.html'
1546--- templates/wiki/view.html 2017-01-03 15:10:23 +0000
1547+++ templates/wiki/view.html 2018-11-09 07:01:29 +0000
1548@@ -12,32 +12,20 @@
1549 {{ block.super}}
1550 {% endblock %}
1551
1552-{% block content %}
1553-<div class="posRight small">
1554- {% if article.id %}
1555- <a class="invertedColor" href="{% url 'wiki_edit' article.title %}">{% trans "Edit this article" %}</a>
1556- |
1557- <a class="invertedColor" href="{% url 'wiki_article_history' article.title %}">{% trans "Editing history" %}</a>
1558- |
1559- <a class="invertedColor" href="{% url 'backlinks' article.title %}">{% trans "Backlinks" %}</a>
1560- {% if can_observe %}
1561- |
1562- {% if is_observing %}
1563- <a class="invertedColor" href="{% url 'wiki_stop_observing' article.title %}">{% trans "Stop observing" %}</a>
1564- {% else %}
1565- <a class="invertedColor" href="{% url 'wiki_observe' article.title %}">{% trans "Observe" %}</a>
1566- {% endif %}
1567- {% endif %}
1568- {% endif %}
1569-</div>
1570-<h1>{{ article.title }}</h1>
1571-
1572+{% block content_header %}
1573+ <h1>{{ article.title }}</h1>
1574+{% endblock %}
1575+
1576+{# add the wanted classes to the tabs #}
1577+{% block class_wiki_back %}class="hidden"{% endblock %}
1578+{% block class_wiki_hist_atom %}class="hidden"{% endblock %}
1579+
1580+{% block content_main %}
1581 {% if messages %}
1582 {% for message in messages %}
1583 <p class="errormessage">{{ message }}</p>
1584 {% endfor %}
1585 {% endif %}
1586-
1587 <div class="blogEntry">
1588 {% if not article.id %}
1589 <p>
1590
1591=== modified file 'templates/wlggz/edit_ggz.html'
1592--- templates/wlggz/edit_ggz.html 2013-06-13 18:59:49 +0000
1593+++ templates/wlggz/edit_ggz.html 2018-11-09 07:01:29 +0000
1594@@ -6,8 +6,11 @@
1595 {% trans "Set Online Gaming Password" %} - {{ block.super }}
1596 {% endblock %}
1597
1598-{% block content %}
1599-<h1>{% trans "Set Online Gaming Password" %}</h1>
1600+{% block content_header %}
1601+ <h1>{% trans "Set Online Gaming Password" %}</h1>
1602+{% endblock %}
1603+
1604+{% block content_main %}
1605 <div class="blogEntry">
1606 <form method="post" enctype="multipart/form-data">
1607 <table>
1608
1609=== modified file 'templates/wlhelp/building_details.html'
1610--- templates/wlhelp/building_details.html 2018-03-09 11:26:52 +0000
1611+++ templates/wlhelp/building_details.html 2018-11-09 07:01:29 +0000
1612@@ -7,54 +7,56 @@
1613 {{ building.displayname }} - {{ tribe.displayname }} - {{ block.super }}
1614 {% endblock %}
1615
1616-{% block content %}
1617-<h1>{{ tribe.displayname }}: {{ building.displayname }}</h1>
1618+{% block content_header %}
1619+ <h1>{{ tribe.displayname }}: {{ building.displayname }}</h1>
1620+{% endblock %}
1621+{% block content_main %}
1622 <div class="blogEntry">
1623- <a href="{% url 'wlhelp_index' %}">Encyclopedia Index</a> &#187;
1624- <a href="{% url 'wlhelp_buildings' tribe.name %}">{{ tribe.displayname }} Buildings</a> &#187;
1625- {{ building.displayname }}
1626- <br /><br />
1627-
1628- <h2>Description</h2>
1629- <p>{{ building.help }}</p>
1630-
1631- <h2>Economy Graph</h2>
1632- {{ building.imagemap|safe }}
1633- <img src="{{ building.graph_url }}" usemap="#G" alt="Graph for {{ building.displayname }}" />
1634+ <a href="{% url 'wlhelp_index' %}">Encyclopedia Index</a> &#187;
1635+ <a href="{% url 'wlhelp_buildings' tribe.name %}">{{ tribe.displayname }} Buildings</a> &#187;
1636+ {{ building.displayname }}
1637+ <br /><br />
1638+
1639+ <h2>Description</h2>
1640+ <p>{{ building.help }}</p>
1641+
1642+ <h2>Economy Graph</h2>
1643+ {{ building.imagemap|safe }}
1644+ <img src="{{ building.graph_url }}" usemap="#G" alt="Graph for {{ building.displayname }}" />
1645
1646 {% comment %}
1647
1648 {% if building.get_build_cost %}
1649- <h2>Build Cost<h2>
1650- {% for costs in building.get_build_cost %}
1651- {% for w in costs %}
1652- <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
1653- {% endfor %}
1654- <br />
1655- {% endfor %}
1656+ <h2>Build Cost<h2>
1657+ {% for costs in building.get_build_cost %}
1658+ {% for w in costs %}
1659+ <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
1660+ {% endfor %}
1661+ <br />
1662+ {% endfor %}
1663 {% endif %}
1664
1665 {% if building.produces or building.trains %}
1666- <h2>Produces</h2>
1667- {% if building.produces and not building.trains %}
1668- {% for w in building.get_ware_outputs %}
1669- <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
1670- {% endfor %}
1671- {% else %}
1672- {% for wor in building.get_worker_outputs %}
1673- <img src="{{ wor.image_url }}" alt="{{ wor.name }}" />
1674- {% endfor %}
1675- {% endif %}
1676+ <h2>Produces</h2>
1677+ {% if building.produces and not building.trains %}
1678+ {% for w in building.get_ware_outputs %}
1679+ <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
1680+ {% endfor %}
1681+ {% else %}
1682+ {% for wor in building.get_worker_outputs %}
1683+ <img src="{{ wor.image_url }}" alt="{{ wor.name }}" />
1684+ {% endfor %}
1685+ {% endif %}
1686 {% endif %}
1687
1688 {% if building.get_stored_wares %}
1689- <h2>Stores</h2>
1690- {% for costs in building.get_stored_wares %}
1691- {% for w in costs %}
1692- <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
1693- {% endfor %}
1694- <br />
1695- {% endfor %}
1696+ <h2>Stores</h2>
1697+ {% for costs in building.get_stored_wares %}
1698+ {% for w in costs %}
1699+ <a href="{% url 'wlhelp_ware_details' w.tribe.name w.name %}" title="{{w.displayname}}"><img src="{{ w.image_url }}" alt="{{ w.name }}" /></a>
1700+ {% endfor %}
1701+ <br />
1702+ {% endfor %}
1703 {% endif %}
1704
1705 {% endcomment %}
1706
1707=== modified file 'templates/wlhelp/buildings.html'
1708--- templates/wlhelp/buildings.html 2018-03-09 12:12:02 +0000
1709+++ templates/wlhelp/buildings.html 2018-11-09 07:01:29 +0000
1710@@ -7,8 +7,11 @@
1711 Buildings - {{ tribe.displayname }} - {{ block.super }}
1712 {% endblock %}
1713
1714-{% block content %}
1715-<h1>{{ tribe.displayname }}: Buildings</h1>
1716+{% block content_header %}
1717+ <h1>{{ tribe.displayname }}: Buildings</h1>
1718+{% endblock %}
1719+
1720+{% block content_main %}
1721 <div class="blogEntry">
1722 <div class="posRight">
1723 {% include 'wlhelp/inlines/js_form_buildings.html' %}<br />
1724
1725=== modified file 'templates/wlhelp/index.html'
1726--- templates/wlhelp/index.html 2018-03-09 11:26:52 +0000
1727+++ templates/wlhelp/index.html 2018-11-09 07:01:29 +0000
1728@@ -7,8 +7,10 @@
1729 {{ block.super }}
1730 {% endblock %}
1731
1732-{% block content %}
1733-<h1>Encyclopedia</h1>
1734+{% block content_header %}
1735+ <h1>Encyclopedia</h1>
1736+{% endblock %}
1737+{% block content_main %}
1738 <div class="blogEntry">
1739 Encyclopedia Index
1740 <h2>All Tribes in Widelands:</h2>
1741
1742=== modified file 'templates/wlhelp/inlines/tribes_details.html'
1743--- templates/wlhelp/inlines/tribes_details.html 2018-03-09 11:26:52 +0000
1744+++ templates/wlhelp/inlines/tribes_details.html 2018-11-09 07:01:29 +0000
1745@@ -1,7 +1,8 @@
1746 <div>
1747- <img class="posLeft icon" src="{{ tribe.icon_url }}" alt="" />
1748+ <img class="posLeft icon" src="{{ tribe.icon_url }}" alt="Tribe's Icon" />
1749 <p>{{ tribe.descr }}</p>
1750 </div>
1751+
1752 <ul>
1753 <li><a href="{% url 'wlhelp_buildings' tribe.name %}">Buildings</a></li>
1754 <li><a href="{% url 'wlhelp_wares' tribe.name %}">Wares</a></li>
1755
1756=== modified file 'templates/wlhelp/ware_details.html'
1757--- templates/wlhelp/ware_details.html 2018-03-09 11:26:52 +0000
1758+++ templates/wlhelp/ware_details.html 2018-11-09 07:01:29 +0000
1759@@ -7,8 +7,11 @@
1760 {{ ware.displayname }} - {{ tribe.displayname }} - {{ block.super }}
1761 {% endblock %}
1762
1763-{% block content %}
1764-<h1>{{ tribe.displayname }}: {{ ware.displayname }}</h1>
1765+{% block content_header %}
1766+ <h1>{{ tribe.displayname }}: {{ ware.displayname }}</h1>
1767+{% endblock %}
1768+
1769+{% block content_main %}
1770 <div class="blogEntry">
1771 <a href="{% url 'wlhelp_index' %}">Encyclopedia Index</a> &#187;
1772 <a href="{% url 'wlhelp_wares' tribe.name %}">{{ tribe.displayname }} Wares</a> &#187;
1773
1774=== modified file 'templates/wlhelp/wares.html'
1775--- templates/wlhelp/wares.html 2018-03-31 15:51:08 +0000
1776+++ templates/wlhelp/wares.html 2018-11-09 07:01:29 +0000
1777@@ -7,8 +7,11 @@
1778 {{ tribe.displayname }} - Wares - {{ block.super }}
1779 {% endblock %}
1780
1781-{% block content %}
1782-<h1>{{ tribe.displayname }}: Wares</h1>
1783+{% block content_header %}
1784+ <h1>{{ tribe.displayname }}: Wares</h1>
1785+{% endblock %}
1786+
1787+{% block content_main %}
1788 <div class="blogEntry">
1789 <div class="posRight">
1790 {% include 'wlhelp/inlines/js_form_scripting.html' %}
1791
1792=== modified file 'templates/wlhelp/worker_details.html'
1793--- templates/wlhelp/worker_details.html 2018-03-09 11:26:52 +0000
1794+++ templates/wlhelp/worker_details.html 2018-11-09 07:01:29 +0000
1795@@ -7,8 +7,11 @@
1796 {{ worker.displayname }} - {{ tribe.displayname }} - {{ block.super }}
1797 {% endblock %}
1798
1799-{% block content %}
1800-<h1>{{ tribe.displayname }}: {{ worker.displayname }}</h1>
1801+{% block content_header %}
1802+ <h1>{{ tribe.displayname }}: {{ worker.displayname }}</h1>
1803+{% endblock %}
1804+
1805+{% block content_main %}
1806 <div class="blogEntry">
1807 <a href="{% url 'wlhelp_index' %}">Encyclopedia Index</a> &#187;
1808 <a href="{% url 'wlhelp_workers' tribe.name %}">{{ tribe.displayname }} Workers</a> &#187;
1809
1810=== modified file 'templates/wlhelp/workers.html'
1811--- templates/wlhelp/workers.html 2018-03-29 14:59:33 +0000
1812+++ templates/wlhelp/workers.html 2018-11-09 07:01:29 +0000
1813@@ -7,8 +7,11 @@
1814 Workers - {{ tribe.displayname }} - {{ block.super }}
1815 {% endblock %}
1816
1817-{% block content %}
1818-<h1>{{ tribe.displayname }}: Workers</h1>
1819+{% block content_header %}
1820+ <h1>{{ tribe.displayname }}: Workers</h1>
1821+{% endblock %}
1822+
1823+{% block content_main %}
1824 <div class="blogEntry">
1825 <div class="posRight">
1826 {% include 'wlhelp/inlines/js_form_scripting.html' %}
1827
1828=== modified file 'templates/wlimages/upload.html'
1829--- templates/wlimages/upload.html 2016-11-25 12:36:59 +0000
1830+++ templates/wlimages/upload.html 2018-11-09 07:01:29 +0000
1831@@ -3,7 +3,7 @@
1832 vim:ft=htmldjango
1833 {% endcomment %}
1834
1835-{% block content %}
1836+{% block content_main %}
1837 <div class="blogEntry"
1838 <form enctype="multipart/form-data" action="/images/upload/" method="POST">
1839 {{ upload_form.imagename.errors }}
1840
1841=== modified file 'templates/wlmaps/edit_comment.html'
1842--- templates/wlmaps/edit_comment.html 2016-06-26 09:04:15 +0000
1843+++ templates/wlmaps/edit_comment.html 2018-11-09 07:01:29 +0000
1844@@ -1,7 +1,9 @@
1845 {% extends "wlmaps/base.html" %}
1846
1847-{% block content %}
1848-<h1>Edit comment: {{ map.name }}</h1>
1849+{% block content_header %}
1850+ <h1>Edit comment: {{ map.name }}</h1>
1851+{% endblock %}
1852+{% block content_main %}
1853 <div class="blogEntry">
1854 <form enctype="multipart/form-data" action="{% url 'wlmaps_edit_comment' map.slug %}" method="post">
1855 <div>
1856
1857=== modified file 'templates/wlmaps/index.html'
1858--- templates/wlmaps/index.html 2018-04-07 15:35:47 +0000
1859+++ templates/wlmaps/index.html 2018-11-09 07:01:29 +0000
1860@@ -9,9 +9,19 @@
1861 {% load threadedcommentstags %}
1862 {% load pagination_tags %}
1863
1864-{% block content %}
1865-<a href="{% url 'wlmaps_upload' %}" class="posRight invertedColor small">Upload a new map</a>
1866-<h1>Maps</h1>
1867+{% block content_header %}
1868+ <h1>Maps</h1>
1869+{% endblock %}
1870+{% block content_tabbing %}
1871+ <ul class="tab-list small">
1872+ <li>
1873+ <a href="{% url 'wlmaps_upload' %}">Upload a new map</a>
1874+ </li>
1875+ </ul>
1876+{% endblock %}
1877+
1878+{% block content_main %}
1879+
1880 <div class="blogEntry">
1881 <p>
1882 The map files have to be placed in the Widelands map directory to be found by the game. Check the <a href="/wiki/Technical%20FAQ/#where_are_my_maps_and_savegames_stored">Technical FAQ</a> to find the map directory.
1883@@ -70,7 +80,7 @@
1884 <td class="spacer"></td>
1885 <td colspan="2">
1886 <a class="button" href="{% url 'wlmaps_download' map.slug %}">
1887- <img src="{{ MEDIA_URL }}img/download.png" alt ="" class="middle" />
1888+ <img src="{{ MEDIA_URL }}img/arrow_down_short.png" alt ="" class="middle" />
1889 <span class="middle">Direct Download</span>
1890 </a>
1891 </td>
1892
1893=== modified file 'templates/wlmaps/map_detail.html'
1894--- templates/wlmaps/map_detail.html 2018-04-07 15:35:47 +0000
1895+++ templates/wlmaps/map_detail.html 2018-11-09 07:01:29 +0000
1896@@ -32,8 +32,10 @@
1897 {% endif %}
1898 {% endblock %}
1899
1900-{% block content %}
1901-<h1>Map: {{ map.name }}</h1>
1902+{% block content_header %}
1903+ <h1>Map: {{ map.name }}</h1>
1904+{% endblock %}
1905+{% block content_main %}
1906 <div class="blogEntry" style="padding-bottom: 3em">
1907 <div>
1908 <a href="{% url 'wlmaps_index' %}">Maps</a> &#187; {{ map.name }}
1909@@ -121,7 +123,7 @@
1910
1911 <div style="margin: 1em 0px 1em 0px">
1912 <a class="button posLeft" href="{% url 'wlmaps_download' map.slug %}">
1913- <img src="{{ MEDIA_URL }}img/download.png" alt ="" class="middle" />
1914+ <img src="{{ MEDIA_URL }}img/arrow_down_short.png" alt ="" class="middle" />
1915 <span class="middle">Download this map</span>
1916 </a>
1917 </div>
1918
1919=== modified file 'templates/wlmaps/upload.html'
1920--- templates/wlmaps/upload.html 2016-06-26 09:04:15 +0000
1921+++ templates/wlmaps/upload.html 2018-11-09 07:01:29 +0000
1922@@ -5,8 +5,10 @@
1923
1924 {% block title %}Upload - {{ block.super }}{% endblock %}
1925
1926-{% block content %}
1927-<h1>Map Upload</h1>
1928+{% block content_header %}
1929+ <h1>Map Upload</h1>
1930+{% endblock %}
1931+{% block content_main %}
1932 <div class="blogEntry">
1933 <div class="breadCrumb">
1934 <a href="{% url 'wlmaps_index' %}">Maps</a> &#187; Upload
1935
1936=== modified file 'templates/wlpoll/poll_detail.html'
1937--- templates/wlpoll/poll_detail.html 2017-09-23 08:52:36 +0000
1938+++ templates/wlpoll/poll_detail.html 2018-11-09 07:01:29 +0000
1939@@ -9,15 +9,33 @@
1940
1941 {% block title %}{{ object.name }} - {{ block.super }}{% endblock %}
1942
1943-{% block content %}
1944+{% block content_header %}
1945+ <h1>Poll: {{ object.name }}</h1>
1946+{% endblock %}
1947+
1948+{% block content_tabbing %}
1949 {% if perms.wlpoll %}
1950- <div class="small posRight">
1951- {% if perms.wlpoll.add_poll %}<a href="/admin/wlpoll/poll/add/" class="invertedColor">Add New Poll</a>{% endif %}
1952- {% if perms.wlpoll.change_poll %}| <a href="/admin/wlpoll/poll/{{object.id}}/" class="invertedColor">Edit</a>{% endif %}
1953- {% if perms.wlpoll.delete_poll %}| <a href="/admin/wlpoll/poll/{{object.id}}/delete/" class="invertedColor">Delete</a>{% endif %}
1954- </div>
1955+ <ul class="small tab-list">
1956+ {% if perms.wlpoll.add_poll %}
1957+ <li>
1958+ <a href="/admin/wlpoll/poll/add/">Add New Poll</a>
1959+ </li>
1960+ {% endif %}
1961+ {% if perms.wlpoll.change_poll %}
1962+ <li>
1963+ <a href="/admin/wlpoll/poll/{{object.id}}/">Edit</a>
1964+ </li>
1965+ {% endif %}
1966+ {% if perms.wlpoll.delete_poll %}
1967+ <li>
1968+ <a href="/admin/wlpoll/poll/{{object.id}}/delete/">Delete</a>
1969+ </li>
1970+ {% endif %}
1971+ </ul>
1972 {% endif %}
1973- <h1>Poll: {{ object.name }}</h1>
1974+
1975+{% endblock %}
1976+{% block content_main %}
1977 <div class="blogEntry">
1978 <div id="chartContainer" style="width: 100%; height: 400px"></div>
1979 {% display_poll object %}
1980
1981=== modified file 'templates/wlpoll/poll_list.html'
1982--- templates/wlpoll/poll_list.html 2016-06-07 18:24:20 +0000
1983+++ templates/wlpoll/poll_list.html 2018-11-09 07:01:29 +0000
1984@@ -11,13 +11,23 @@
1985 {% load threadedcommentstags custom_date %}
1986 {% block title %}Poll Archive - {{ block.super }}{% endblock %}
1987
1988-{% block content %}
1989+{% block content_header %}
1990+ <h1>Poll Archive</h1>
1991+{% endblock %}
1992+
1993+{% block content_tabbing %}
1994 {% if perms.wlpoll %}
1995- <div class="small posRight">
1996- {% if perms.wlpoll.add_poll %}<a href="/admin/wlpoll/poll/add/" class="invertedColor">Add New Poll</a>{% endif %}
1997- </div>
1998+ <ul class="small tab-list">
1999+ <li>
2000+ {% if perms.wlpoll.add_poll %}
2001+ <a href="/admin/wlpoll/poll/add/">Add New Poll</a>
2002+ {% endif %}
2003+ </li>
2004+ </ul>
2005 {% endif %}
2006- <h1>Poll Archive</h1>
2007+{% endblock %}
2008+
2009+{% block content_main %}
2010 <div class="blogEntry">
2011 <div class="post">
2012 <table>
2013
2014=== modified file 'templates/wlprofile/base.html'
2015--- templates/wlprofile/base.html 2015-02-18 22:30:08 +0000
2016+++ templates/wlprofile/base.html 2018-11-09 07:01:29 +0000
2017@@ -1,4 +1,5 @@
2018 {% extends "base.html" %}
2019+
2020 {% comment %}
2021 vim:ft=htmldjango
2022 {% endcomment %}
2023@@ -10,3 +11,35 @@
2024 {% block extra_head %}
2025 <link rel="stylesheet" type="text/css" media="all" href="{{ MEDIA_URL }}css/profile.css" />{{ block.super}}
2026 {% endblock %}
2027+
2028+{% block content_tabbing %}
2029+ <ul class="tab-list small">
2030+ {% if profile.user and user != profile.user %}
2031+ {% if not profile.deleted %}
2032+ <li>
2033+ <a {% block send_pm %}{% endblock %} href="{% url 'messages_compose_to' profile.user %}">Send PM</a>
2034+ </li>
2035+ {% endif %}
2036+ {% else %}
2037+ <li>
2038+ <a {% block profile %}{% endblock %} href="{% url 'profile_view' %}">Profile</a>
2039+ </li>
2040+ <li>
2041+ <a {% block edit_profile %}{% endblock %} href="{% url 'profile_edit' %}">Edit Profile</a>
2042+ </li>
2043+ <li>
2044+ <a {% block notifications %}{% endblock %} href="{% url 'notification_notices' %}">E-Mail settings</a>
2045+ </li>
2046+ <li>
2047+ <a {% block scheduling %}{% endblock %} href="{% url 'scheduling_main' %}">Game Scheduler</a>
2048+ <ul>
2049+ <li><a href="{% url 'scheduling_scheduling' %}">Define your playtime</a></li>
2050+ <li><a href="{% url 'scheduling_find' %}">Show playtimes</a></li>
2051+ </ul>
2052+ </li>
2053+ <li>
2054+ <a {% block messages %}{% endblock %} href="{% url 'messages_inbox' %}" title="Your private messages">Messages</a>
2055+ </li>
2056+ {% endif %}
2057+ </ul>
2058+{% endblock %}
2059
2060=== modified file 'templates/wlprofile/delete_me.html'
2061--- templates/wlprofile/delete_me.html 2018-09-17 15:22:29 +0000
2062+++ templates/wlprofile/delete_me.html 2018-11-09 07:01:29 +0000
2063@@ -7,9 +7,10 @@
2064 {% trans "Delete me" %} - {{ block.super }}
2065 {% endblock %}
2066
2067-{% block content %}
2068-<h1>{% trans "Delete your account" %}</h1>
2069-
2070+{% block content_header %}
2071+ <h1>{% trans "Delete your account" %}</h1>
2072+{% endblock %}
2073+{% block content_main %}
2074 <div class="blogEntry">
2075 <h3>Hi {{ user }},</h3>
2076 <p>we are sorry that you want to leave our community <img src="/wlmedia/img/smileys/face-sad.png" alt="Sad smiley"></p>
2077
2078=== modified file 'templates/wlprofile/edit_profile.html'
2079--- templates/wlprofile/edit_profile.html 2018-09-12 21:20:59 +0000
2080+++ templates/wlprofile/edit_profile.html 2018-11-09 07:01:29 +0000
2081@@ -6,9 +6,13 @@
2082 {% trans "Profile Editing" %} - {{ block.super }}
2083 {% endblock %}
2084
2085-{% block content %}
2086-<h1>{% trans "Profile Editing" %}</h1>
2087-
2088+{% block edit_profile %}class="active"{% endblock %}
2089+
2090+{% block content_header %}
2091+ <h1>{% trans "Profile Editing" %}</h1>
2092+{% endblock %}
2093+
2094+{% block content_main %}
2095 <div class="blogEntry">
2096 <form method="post" enctype="multipart/form-data" action=".">
2097 <table>
2098
2099=== modified file 'templates/wlprofile/view_profile.html'
2100--- templates/wlprofile/view_profile.html 2018-09-17 15:22:29 +0000
2101+++ templates/wlprofile/view_profile.html 2018-11-09 07:01:29 +0000
2102@@ -13,20 +13,19 @@
2103 {{ block.super }}
2104 {% endblock %}
2105
2106-{% block content %}
2107-<div class="posRight small">
2108- {% ifequal user profile.user %}
2109- <a class="invertedColor" href="{% url 'profile_edit' %}">Edit Profile</a>
2110- {% endifequal %}
2111-</div>
2112-<h1>{% if not profile.deleted %}
2113+{% block profile %}class="active"{% endblock %}
2114+
2115+{% block content_header %}
2116+ <h1>{% if not profile.deleted %}
2117 {{ profile.user.username }}'s
2118 {% else %}
2119 Deleted User
2120 {% endif %}
2121 Profile
2122-</h1>
2123+ </h1>
2124+{% endblock %}
2125
2126+{% block content_main %}
2127 <div class="blogEntry">
2128 {% if not profile.deleted %}
2129 <table>
2130@@ -37,12 +36,7 @@
2131 {% endif %}
2132 </td>
2133 <td>
2134- {% ifnotequal user profile.user %}
2135- <button onclick="window.location.href='{% url 'messages_compose_to' profile.user %}';">
2136- <img src="{{ MEDIA_URL }}forum/img/send_pm.png" alt ="" class="middle" />
2137- <span class="middle">{% trans "Send PM" %}</span>
2138- </button>
2139- {% endifnotequal %}
2140+
2141 </td>
2142 </tr>
2143 <tr>
2144@@ -92,3 +86,4 @@
2145 </div>
2146
2147 {% endblock %}
2148+
2149
2150=== modified file 'templates/wlscheduling/base.html'
2151--- templates/wlscheduling/base.html 2018-02-09 16:58:51 +0000
2152+++ templates/wlscheduling/base.html 2018-11-09 07:01:29 +0000
2153@@ -1,4 +1,4 @@
2154-{% extends "base.html" %}
2155+{% extends "wlprofile/base.html" %}
2156 {% block extra_head %}
2157 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/jquery-ui.multidatespicker.css" >
2158 <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}css/scheduling.css" >
2159@@ -9,4 +9,5 @@
2160
2161 {% block title %}
2162 Scheduling - {{block.super}}
2163-{% endblock %}
2164\ No newline at end of file
2165+{% endblock %}
2166+{% block scheduling %}class="active"{% endblock %}
2167
2168=== modified file 'templates/wlscheduling/find.html'
2169--- templates/wlscheduling/find.html 2018-02-11 16:25:40 +0000
2170+++ templates/wlscheduling/find.html 2018-11-09 07:01:29 +0000
2171@@ -3,16 +3,18 @@
2172 vim:ft=htmldjango
2173 {% endcomment %}
2174
2175-{% block content %}
2176+{% block content_header %}
2177+ <h1>Scheduling: Other users' playtimes</h1>
2178+{% endblock %}
2179+
2180+{% block content_main %}
2181 <script type="text/javascript">
2182 document.addEventListener('DOMContentLoaded', function(){
2183 addTimeZoneWarningIfNeeded();
2184 addOtherUsersAvailabilities();
2185 }, false);
2186 </script>
2187-
2188 <div class="blogEntry">
2189- <h1>Times other players are available</h1>
2190 {% include "wlscheduling/timezone-msg.html" %}
2191 <div id="other-users-wrapper"></div>
2192 <div id="no-user-to-display" hidden="hidden">Sorry currently there isn't anybody who has scheduled a gaming session. Don't hesitate to signal to other when you'll be available <a href="{% url 'scheduling_scheduling' %}">here</a></div>
2193@@ -24,4 +26,4 @@
2194
2195 <!-- Div to send django data to js file -->
2196 <div id="django-data" user-time-zone="{{user.wlprofile.time_zone}}" users-to-fill="{{other_users_availabilities}}"></div>
2197-{% endblock %}
2198\ No newline at end of file
2199+{% endblock %}
2200
2201=== modified file 'templates/wlscheduling/main.html'
2202--- templates/wlscheduling/main.html 2017-12-23 09:15:02 +0000
2203+++ templates/wlscheduling/main.html 2018-11-09 07:01:29 +0000
2204@@ -4,11 +4,12 @@
2205 vim:ft=htmldjango
2206 {% endcomment %}
2207
2208-{% block content %}
2209-
2210-
2211+{% block content_header %}
2212+<h1>Welcome to the scheduling module!</h1>
2213+{% endblock %}
2214+
2215+{% block content_main %}
2216 <div class="blogEntry">
2217- <h1>Welcome in the scheduling module!</h1>
2218 <div id="main-choices" class="main-choices">
2219 <a href="{% url 'scheduling_scheduling' %}" >
2220 <button title="You know when you will be available to play and want to display when you're available and find other players that will be available at these hours">Define your playtime and find a game</button>
2221@@ -19,4 +20,4 @@
2222 </div>
2223 </div>
2224
2225-{% endblock %}
2226\ No newline at end of file
2227+{% endblock %}
2228
2229=== modified file 'templates/wlscheduling/scheduling.html'
2230--- templates/wlscheduling/scheduling.html 2018-02-11 16:25:40 +0000
2231+++ templates/wlscheduling/scheduling.html 2018-11-09 07:01:29 +0000
2232@@ -4,9 +4,11 @@
2233 vim:ft=htmldjango
2234 {% endcomment %}
2235
2236-
2237-
2238-{% block content %}
2239+{% block content_header %}
2240+ <h1>Multiplayer</h1>
2241+{% endblock %}
2242+
2243+{% block content_main %}
2244 <script type="text/javascript">
2245 document.addEventListener('DOMContentLoaded', function(){
2246 var calendar = createCalendar();
2247@@ -21,8 +23,6 @@
2248 }, false);
2249 </script>
2250
2251-<h1>Multiplayer</h1>
2252-
2253 <div class="blogEntry">
2254 <h2>Select the dates you'll be available on</h2>
2255 {% include "wlscheduling/timezone-msg.html" %}
2256
2257=== modified file 'templates/wlscreens/index.html'
2258--- templates/wlscreens/index.html 2017-10-01 08:01:09 +0000
2259+++ templates/wlscreens/index.html 2018-11-09 07:01:29 +0000
2260@@ -20,9 +20,10 @@
2261 </script>
2262 {% endblock %}
2263
2264-{% block content %}
2265-<h1>Screenshots</h1>
2266-
2267+{% block content_header %}
2268+ <h1>Screenshots</h1>
2269+{% endblock %}
2270+{% block content_main %}
2271 {% for c in categories %}
2272 <div class="blogEntry">
2273 <h2>{{ c.name }}</h2>
2274
2275=== modified file 'templates/wlwebchat/index.html'
2276--- templates/wlwebchat/index.html 2016-07-10 13:33:12 +0000
2277+++ templates/wlwebchat/index.html 2018-11-09 07:01:29 +0000
2278@@ -5,8 +5,11 @@
2279
2280 {% block title %}Webchat - {{ block.super }}{% endblock %}
2281
2282-{% block content %}
2283-<h1>Webchat</h1>
2284+{% block content_header %}
2285+ <h1>Webchat</h1>
2286+{% endblock %}
2287+
2288+{% block content_main %}
2289 <div class="blogEntry">
2290 <p>
2291 This is a webchat applet provided by the <a href="http://www.freenode.net">freenode network</a>. This is a convenient
2292
2293=== modified file 'wiki/views.py'
2294--- wiki/views.py 2018-09-18 06:42:18 +0000
2295+++ wiki/views.py 2018-11-09 07:01:29 +0000
2296@@ -671,6 +671,8 @@
2297
2298 context = {'found_links': found_links,
2299 'found_old_links': found_old_links,
2300- 'name': title}
2301+ 'name': title,
2302+ 'article': this_article,
2303+ }
2304 return render(request, 'wiki/backlinks.html',
2305 context,)
2306
2307=== modified file 'wlscheduling/views.py'
2308--- wlscheduling/views.py 2018-02-04 21:49:55 +0000
2309+++ wlscheduling/views.py 2018-11-09 07:01:29 +0000
2310@@ -16,6 +16,7 @@
2311 #########
2312 # Views #
2313 #########
2314+@login_required
2315 def scheduling_main (request):
2316 return render(request, 'wlscheduling/main.html')
2317

Subscribers

People subscribed via source and target branches