changeset 452:ab3c63877862

Cosmetics
author Magnus Schieder <mschieder@intevation.de>
date Fri, 26 Jan 2018 17:12:59 +0100
parents 25875d89bb89
children ceb5909b106e
files CHANGES getan/controller.py getan/nodes.py test_data/getan_test_data.py
diffstat 4 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/CHANGES	Fri Jan 26 13:15:44 2018 +0100
+++ b/CHANGES	Fri Jan 26 17:12:59 2018 +0100
@@ -1,7 +1,7 @@
 2.2 2018-01-26
 
  * The problem with unwanted multi moves and deletions is solved.
-   The multi-selection is deleted when switching from the entrie list to
+   The multi-selection is deleted when switching from the entry list to
    project list. This avoids errors when moving or erasing.
    More information can be found in /getan/doc/old_issues.txt -20180117
    Patch by Magnus Schieder
--- a/getan/controller.py	Fri Jan 26 13:15:44 2018 +0100
+++ b/getan/controller.py	Fri Jan 26 17:12:59 2018 +0100
@@ -69,6 +69,7 @@
                      project.id)
 
         project.load_entries()
+        self.entries_view.set_footer_text(project.desc, "entry_footer")
 
         if self.view:
             self.view.update_entries(project.entries)
--- a/getan/nodes.py	Fri Jan 26 13:15:44 2018 +0100
+++ b/getan/nodes.py	Fri Jan 26 17:12:59 2018 +0100
@@ -97,7 +97,7 @@
 
         description = urwid.Text([' ' * self.indent,
                                   ('project_key', self.item.key),
-                                  (' '), (proj_desc)],
+                                  (' '), ("Hallo")],
                                  wrap="clip")
         if self._get_time():
             time = urwid.Text('%s (%s)' % (self.mode[1], time_str),
--- a/test_data/getan_test_data.py	Fri Jan 26 13:15:44 2018 +0100
+++ b/test_data/getan_test_data.py	Fri Jan 26 17:12:59 2018 +0100
@@ -1,8 +1,8 @@
 #!/usr/bin/env python3
-
-# Program to create test data for getan (getan_test_data.db).
+#
 
 """
+ Program to create test data for getan (getan_test_data.db).
  Author: Magnus Schieder <magnus.schieder@intevation.de>
  (c) 2018 Intevation GmbH
 
This site is hosted by Intevation GmbH (Datenschutzerklärung und Impressum | Privacy Policy and Imprint)