Skip to content
This repository has been archived by the owner on Sep 5, 2019. It is now read-only.

Commit

Permalink
Merge branch 'master' into v1.10
Browse files Browse the repository at this point in the history
  • Loading branch information
Marc Sommerhalder committed Nov 27, 2017
2 parents 32452cf + 04ad6d9 commit 5f8f76f
Show file tree
Hide file tree
Showing 5 changed files with 13 additions and 6 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ matrix:
env: TOXENV=pep8

addons:
postgresql: "9.3"
postgresql: "9.6"

install:
- pip install tox
Expand Down
6 changes: 6 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
Changelog
---------

- Updates translation.
[msom]

- Uses a bigger reject comment field.
[msom]

- Adds missing title slot.
[msom]

Expand Down
7 changes: 4 additions & 3 deletions onegov/gazette/forms/common.py
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
from onegov.form import Form
from onegov.gazette import _
from wtforms import StringField
from wtforms import TextAreaField
from wtforms.validators import InputRequired


Expand All @@ -11,9 +11,10 @@ class EmptyForm(Form):

class RejectForm(Form):

comment = StringField(
comment = TextAreaField(
label=_("Comment"),
validators=[
InputRequired()
]
],
render_kw={'rows': 4}
)
2 changes: 1 addition & 1 deletion onegov/gazette/locale/de_CH/LC_MESSAGES/onegov.gazette.po
Original file line number Diff line number Diff line change
Expand Up @@ -560,7 +560,7 @@ msgid "This official notice has already been published!"
msgstr "Diese Meldung wurde bereits veröffentlicht!"

msgid "mail sent"
msgstr "E-Mail gesendet"
msgstr "Druck beauftragt"

msgid "Submit"
msgstr "Einreichen"
Expand Down
2 changes: 1 addition & 1 deletion onegov/gazette/tests/test_views_notice.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,7 @@ def test_view_notice_changelog(gazette_app):
('01.11.2017 12:45', 'First Editor', 'TestGroup', 'bearbeitet'),
('01.11.2017 12:48', 'First Editor', 'TestGroup',
'eingereicht'),
('01.11.2017 16:00', 'Publisher', '', 'E-Mail gesendet'),
('01.11.2017 16:00', 'Publisher', '', 'Druck beauftragt'),
('01.11.2017 16:00', 'Publisher', '', 'angenommen'),
]

Expand Down

0 comments on commit 5f8f76f

Please sign in to comment.