From 86d93b6ef3630149e0ef04b7ab03cdc38b1e9f2c Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?=
Date: Thu, 26 Jun 2014 13:23:33 +0200
Subject: [PATCH] various minor changes to adapt to arrival of PTB*PVDA-GO!
---
tabellio/webviews/deputy.pt | 4 +++-
tabellio/webviews/deputy.py | 3 +++
tabellio/webviews/deputy_listform.pt | 6 +++---
3 files changed, 9 insertions(+), 4 deletions(-)
diff --git a/tabellio/webviews/deputy.pt b/tabellio/webviews/deputy.pt
index 701ac40..e0d70d9 100644
--- a/tabellio/webviews/deputy.pt
+++ b/tabellio/webviews/deputy.pt
@@ -31,7 +31,8 @@
- Ce député ne siège plus au parlement.
+ Ce député ne siège plus au parlement.
+
Foo bar est
@@ -39,6 +40,7 @@
député francophone bruxellois. Il
siège au banc numéro 23.
+
diff --git a/tabellio/webviews/deputy.py b/tabellio/webviews/deputy.py
index 3dc21f7..06259c3 100644
--- a/tabellio/webviews/deputy.py
+++ b/tabellio/webviews/deputy.py
@@ -252,6 +252,9 @@ class FolderView(BrowserView):
except (IndexError, TypeError):
return None
+ def renderPolgroupTitle(self, item):
+ return item.Title().replace('-', ' -')
+
class IDeputiesAndOthersFolderView(Interface):
pass
diff --git a/tabellio/webviews/deputy_listform.pt b/tabellio/webviews/deputy_listform.pt
index 7a35e16..26c8eb7 100644
--- a/tabellio/webviews/deputy_listform.pt
+++ b/tabellio/webviews/deputy_listform.pt
@@ -54,8 +54,8 @@
Tous
Tous
- PS
- PS
+ PS
+ PS
@@ -68,7 +68,7 @@
Nom / Prénom |
- Groupe |
+ Groupe / Liste |
Arrondissement |
Naissance |