summaryrefslogtreecommitdiffstats
path: root/core/views/other.py
diff options
context:
space:
mode:
Diffstat (limited to 'core/views/other.py')
-rw-r--r--core/views/other.py18
1 files changed, 6 insertions, 12 deletions
diff --git a/core/views/other.py b/core/views/other.py
index df347ea..8d40079 100644
--- a/core/views/other.py
+++ b/core/views/other.py
@@ -28,12 +28,8 @@ progress and task list (deprecated as we do not have individual user login).
"""
todo = """
-
-- Use logbookdownloader to convert all older logbooks into the 2005-variant of HTML then we can
- get rid of the parsers for older formats.
- When we have done all the old logbooks, delete this function and the two templates.
-
- OR invent a new format, e.g. using <article> and <section>?, which is better!
+- [Low priority] Fix Login page so that it produces the frontpage or
+ redirects to the page which produced the login prompt requirement.
"""
@@ -175,18 +171,16 @@ def controlpanel(request):
def exportlogbook(request, year=None, extension=None):
"""Constructs, from the database, a complete HTML formatted logbook
- for the current year. Formats available are HTML2005 (others old & broken or not written yet)
-
- There are no images stored in the database, so this is only a tool for a first pass, to be followed by
- hand-editing. However links to images work in the HTML text of a logbook entry
+ for the current year. Formats available are HTML2005. Other formats
+ have been retired.
- NEED TO ADD IN THE MATERIAL WHICH IS NOT IN ANY LBE ! e.g. front matter.
+ There are no images stored in the database. However links to images work in the HTML text of a logbook entry.
This function is the recipient of the POST action os the export form in the control panel
"""
def lbeKey(lbe):
- """This function goes into a lexicogrpahic sort function"""
+ """This function goes into a lexicographic sort function"""
return str(lbe.date)
if not request.method == "POST":