--- a/.installed.cfg Thu Oct 08 09:17:56 2015 +0200
+++ b/.installed.cfg Thu Oct 08 09:18:48 2015 +0200
@@ -76,3 +76,24 @@
location = /home/tflorac/Dropbox/src/PyAMS/pyams_form/parts/test
recipe = zc.recipe.testrunner
script = /home/tflorac/Dropbox/src/PyAMS/pyams_form/bin/test
+
+[buildout]
+installed_develop_eggs = /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-file.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/lingua.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-viewlet.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-i18n.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-catalog.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/pyams-utils.egg-link
+ /home/tflorac/Dropbox/src/PyAMS/pyams_form/develop-eggs/tmp9l556sb2build
+
+[buildout]
+parts = i18n pyflakes test package
+
+[buildout]
+parts = pyflakes test package i18n
+
+[buildout]
+parts = test package i18n pyflakes
+
+[buildout]
+parts = package i18n pyflakes test
--- a/buildout.cfg Thu Oct 08 09:17:56 2015 +0200
+++ b/buildout.cfg Thu Oct 08 09:18:48 2015 +0200
@@ -66,4 +66,4 @@
eggs = pyams_form [test]
[versions]
-pyams_base = 0.1.1
+pyams_form = 0.1.2
--- a/docs/HISTORY.txt Thu Oct 08 09:17:56 2015 +0200
+++ b/docs/HISTORY.txt Thu Oct 08 09:18:48 2015 +0200
@@ -0,0 +1,18 @@
+History
+=======
+
+0.1.2
+-----
+ - updated form template to change dialog's close icon
+ - added Select2 and TextLineList widgets
+
+0.1.1
+-----
+ - added "widget_title" viewlet to form's header (if requested explicitly)
+ - added CSS class for form's help block
+ - updated checkbox translations
+ - small changes in subforms and groups management (modified interface)
+
+0.1.0
+-----
+ - first release
--- a/setup.py Thu Oct 08 09:17:56 2015 +0200
+++ b/setup.py Thu Oct 08 09:18:48 2015 +0200
@@ -22,7 +22,7 @@
README = os.path.join(DOCS, 'README.txt')
HISTORY = os.path.join(DOCS, 'HISTORY.txt')
-version = '0.1.1'
+version = '0.1.2'
long_description = open(README).read() + '\n\n' + open(HISTORY).read()
tests_require = []
--- a/src/pyams_form.egg-info/PKG-INFO Thu Oct 08 09:17:56 2015 +0200
+++ b/src/pyams_form.egg-info/PKG-INFO Thu Oct 08 09:18:48 2015 +0200
@@ -1,6 +1,6 @@
Metadata-Version: 1.1
Name: pyams-form
-Version: 0.1.1
+Version: 0.1.2
Summary: PyAMS base form interfaces and classes
Home-page: http://hg.ztfy.org/pyams/pyams_form
Author: Thierry Florac
@@ -8,6 +8,24 @@
License: ZPL
Description:
+ History
+ =======
+
+ 0.1.2
+ -----
+ - updated form template to change dialog's close icon
+ - added Select2 and TextLineList widgets
+
+ 0.1.1
+ -----
+ - added "widget_title" viewlet to form's header (if requested explicitly)
+ - added CSS class for form's help block
+ - updated checkbox translations
+ - small changes in subforms and groups management (modified interface)
+
+ 0.1.0
+ -----
+ - first release
Keywords: Pyramid PyAMS form
Platform: UNKNOWN
--- a/src/pyams_form.egg-info/SOURCES.txt Thu Oct 08 09:17:56 2015 +0200
+++ b/src/pyams_form.egg-info/SOURCES.txt Thu Oct 08 09:18:48 2015 +0200
@@ -6,6 +6,7 @@
src/pyams_form/configure.zcml
src/pyams_form/form.py
src/pyams_form/group.py
+src/pyams_form/help.py
src/pyams_form/include.py
src/pyams_form/schema.py
src/pyams_form/search.py
@@ -23,10 +24,12 @@
src/pyams_form/doctests/README.txt
src/pyams_form/interfaces/__init__.py
src/pyams_form/interfaces/form.py
+src/pyams_form/locales/pyams_form.mo
src/pyams_form/locales/pyams_form.pot
src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.mo
src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po
src/pyams_form/templates/form.pt
+src/pyams_form/templates/help.pt
src/pyams_form/templates/inner-form.pt
src/pyams_form/templates/search.pt
src/pyams_form/templates/widget-form.pt
@@ -54,4 +57,6 @@
src/pyams_form/widget/templates/submit-display.pt
src/pyams_form/widget/templates/submit-input.pt
src/pyams_form/widget/templates/text-display.pt
+src/pyams_form/widget/templates/textlinelist-display.pt
+src/pyams_form/widget/templates/textlinelist-input.pt
src/pyams_form/widget/templates/time-input.pt
\ No newline at end of file
Binary file src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.mo has changed
--- a/src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po Thu Oct 08 09:17:56 2015 +0200
+++ b/src/pyams_form/locales/fr/LC_MESSAGES/pyams_form.po Thu Oct 08 09:18:48 2015 +0200
@@ -5,7 +5,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-06-01 14:37+0200\n"
+"POT-Creation-Date: 2015-10-06 14:36+0200\n"
"PO-Revision-Date: 2015-01-29 17:17+0100\n"
"Last-Translator: Thierry Florac <tflorac@ulthar.net>\n"
"Language-Team: French <traduc@traduc.org>\n"
@@ -16,16 +16,16 @@
"Generated-By: Lingua 3.8\n"
"Plural-Forms: nplurals=2; plural=(n > 1);\n"
-#: src/pyams_form/search.py:56 src/pyams_form/search.py:49
+#: src/pyams_form/search.py:57 src/pyams_form/search.py:50
msgid "Search"
msgstr "Chercher"
-#: src/pyams_form/search.py:41
+#: src/pyams_form/search.py:42
msgid "Search query"
msgstr "Texte recherché"
-#: src/pyams_form/search.py:48 src/pyams_form/interfaces/form.py:356
-#: src/pyams_form/interfaces/form.py:370
+#: src/pyams_form/search.py:49 src/pyams_form/interfaces/form.py:419
+#: src/pyams_form/interfaces/form.py:433
msgid "Reset"
msgstr "Annuler"
@@ -37,29 +37,31 @@
msgid "no"
msgstr "non"
-#: src/pyams_form/form.py:269
+#: src/pyams_form/form.py:285
msgid "Add form"
msgstr "Formulaire de création"
-#: src/pyams_form/form.py:270 src/pyams_form/form.py:350
+#: src/pyams_form/form.py:286 src/pyams_form/form.py:378
msgid "There were some errors."
msgstr "Des erreurs se sont produites."
-#: src/pyams_form/form.py:349
+#: src/pyams_form/form.py:377
msgid "Edit form"
msgstr "Formulaire de mise à jour"
-#: src/pyams_form/form.py:351
+#: src/pyams_form/form.py:379
msgid "Data successfully updated."
msgstr "Les modifications ont été enregistrées."
-#: src/pyams_form/form.py:352
+#: src/pyams_form/form.py:380
msgid "No changes were applied."
msgstr "Aucune modification effectuée."
-#: src/pyams_form/widget/templates/checkbox-input.pt:66
+#: src/pyams_form/widget/__init__.py:340
+msgid "(no selected value)"
+msgstr "(pas de valeur sélectionnée)"
+
#: src/pyams_form/widget/templates/radio-input.pt:34
-#: src/pyams_form/widget/templates/checkbox-display.pt:62
msgid "Label"
msgstr "Libellé"
@@ -67,22 +69,29 @@
msgid "Clear selected values"
msgstr "Enlever les valeurs sélectionnées"
+#: src/pyams_form/widget/templates/textlinelist-input.pt:31
+msgid "New keyword: "
+msgstr "Nouveau mot-clé : "
+
#: src/pyams_form/templates/search.pt:6
msgid "Search results"
msgstr "Résultats de la recherche"
-#: src/pyams_form/interfaces/form.py:357 src/pyams_form/interfaces/form.py:364
+#: src/pyams_form/interfaces/form.py:420 src/pyams_form/interfaces/form.py:427
msgid "Add"
msgstr "Ajouter"
-#: src/pyams_form/interfaces/form.py:363 src/pyams_form/interfaces/form.py:377
-#: src/pyams_form/interfaces/form.py:384
+#: src/pyams_form/interfaces/form.py:426 src/pyams_form/interfaces/form.py:440
+msgid "Cancel"
+msgstr "Annuler"
+
+#: src/pyams_form/interfaces/form.py:434 src/pyams_form/interfaces/form.py:441
+msgid "Submit"
+msgstr "Enregistrer"
+
+#: src/pyams_form/interfaces/form.py:447
msgid "Close"
msgstr "Fermer"
-#: src/pyams_form/interfaces/form.py:371 src/pyams_form/interfaces/form.py:378
-msgid "Submit"
-msgstr "Enregistrer"
-
#~ msgid "My legend"
#~ msgstr "Ma légende"
--- a/src/pyams_form/locales/pyams_form.pot Thu Oct 08 09:17:56 2015 +0200
+++ b/src/pyams_form/locales/pyams_form.pot Thu Oct 08 09:18:48 2015 +0200
@@ -6,7 +6,7 @@
msgid ""
msgstr ""
"Project-Id-Version: PACKAGE 1.0\n"
-"POT-Creation-Date: 2015-06-01 14:37+0200\n"
+"POT-Creation-Date: 2015-10-06 14:36+0200\n"
"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
@@ -16,16 +16,16 @@
"Content-Transfer-Encoding: 8bit\n"
"Generated-By: Lingua 3.10.dev0\n"
-#: ./src/pyams_form/search.py:56 ./src/pyams_form/search.py:49
+#: ./src/pyams_form/search.py:57 ./src/pyams_form/search.py:50
msgid "Search"
msgstr ""
-#: ./src/pyams_form/search.py:41
+#: ./src/pyams_form/search.py:42
msgid "Search query"
msgstr ""
-#: ./src/pyams_form/search.py:48 ./src/pyams_form/interfaces/form.py:356
-#: ./src/pyams_form/interfaces/form.py:370
+#: ./src/pyams_form/search.py:49 ./src/pyams_form/interfaces/form.py:419
+#: ./src/pyams_form/interfaces/form.py:433
msgid "Reset"
msgstr ""
@@ -37,29 +37,31 @@
msgid "no"
msgstr ""
-#: ./src/pyams_form/form.py:269
+#: ./src/pyams_form/form.py:285
msgid "Add form"
msgstr ""
-#: ./src/pyams_form/form.py:270 ./src/pyams_form/form.py:350
+#: ./src/pyams_form/form.py:286 ./src/pyams_form/form.py:378
msgid "There were some errors."
msgstr ""
-#: ./src/pyams_form/form.py:349
+#: ./src/pyams_form/form.py:377
msgid "Edit form"
msgstr ""
-#: ./src/pyams_form/form.py:351
+#: ./src/pyams_form/form.py:379
msgid "Data successfully updated."
msgstr ""
-#: ./src/pyams_form/form.py:352
+#: ./src/pyams_form/form.py:380
msgid "No changes were applied."
msgstr ""
-#: ./src/pyams_form/widget/templates/checkbox-input.pt:66
+#: ./src/pyams_form/widget/__init__.py:340
+msgid "(no selected value)"
+msgstr ""
+
#: ./src/pyams_form/widget/templates/radio-input.pt:34
-#: ./src/pyams_form/widget/templates/checkbox-display.pt:62
msgid "Label"
msgstr ""
@@ -67,22 +69,29 @@
msgid "Clear selected values"
msgstr ""
+#: ./src/pyams_form/widget/templates/textlinelist-input.pt:31
+msgid "New keyword: "
+msgstr ""
+
#: ./src/pyams_form/templates/search.pt:6
msgid "Search results"
msgstr ""
-#: ./src/pyams_form/interfaces/form.py:357
-#: ./src/pyams_form/interfaces/form.py:364
+#: ./src/pyams_form/interfaces/form.py:420
+#: ./src/pyams_form/interfaces/form.py:427
msgid "Add"
msgstr ""
-#: ./src/pyams_form/interfaces/form.py:363
-#: ./src/pyams_form/interfaces/form.py:377
-#: ./src/pyams_form/interfaces/form.py:384
+#: ./src/pyams_form/interfaces/form.py:426
+#: ./src/pyams_form/interfaces/form.py:440
+msgid "Cancel"
+msgstr ""
+
+#: ./src/pyams_form/interfaces/form.py:434
+#: ./src/pyams_form/interfaces/form.py:441
+msgid "Submit"
+msgstr ""
+
+#: ./src/pyams_form/interfaces/form.py:447
msgid "Close"
msgstr ""
-
-#: ./src/pyams_form/interfaces/form.py:371
-#: ./src/pyams_form/interfaces/form.py:378
-msgid "Submit"
-msgstr ""