Skip to content

Commit

Permalink
Folder contents properties dialog: Fix form request variables for eff…
Browse files Browse the repository at this point in the history
…ectiveDate and expirationDate dates.
  • Loading branch information
thet committed Aug 26, 2016
1 parent f43b725 commit 4656257
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 8 deletions.
11 changes: 6 additions & 5 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,15 @@ Breaking changes:

New features:

- *add item here*
- Folder contents rename dialog: In the rename dialog, show image thumbnails in ``thumb`` scale instead of ``icon``.
Plones standard ``icon`` scale is way to small to be useful for images.
[thet]

Bug fixes:

- Folder contents properties dialog: Fix form request variables for ``effectiveDate`` and ``expirationDate`` dates.
[thet]

- Fix a json "circular reference detected" error which happened when the json dumper got unparsable data types.
[pcdummy]

Expand All @@ -23,10 +28,6 @@ Bug fixes:

New features:

- In the rename dialog, show image thumbnails in ``thumb`` scale instead of ``icon``.
Plones standard ``icon`` scale is way to small to be useful for images.
[thet]

- Add ``@@allow_upload`` view, which returns a JSON string to indicate if File or Image uploads are allowed in the current container.
When the view is called with a ``path`` request parameter, then content at this path is used instead the content where the view is called.
[thet]
Expand Down
6 changes: 3 additions & 3 deletions plone/app/content/browser/contents/templates/properties.pt
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
<div i18n:domain="plone">
<div class="form-group">
<label i18n:translate="publiciation_date">Publication Date</label>
<input class="form-control pat-pickadate" name="effective" />
<input class="form-control pat-pickadate" name="effectiveDate" />
</div>
<div class="form-group">
<label i18n:translate="expiration_date">Expiration Date</label>
<input class="form-control pat-pickadate" name="expiration" />
<input class="form-control pat-pickadate" name="expirationDate" />
</div>
<div class="form-group">
<label i18n:translate="copyright">Copyright</label>
Expand Down Expand Up @@ -38,4 +38,4 @@
<span i18n:translate="no">No</span>
</label>
</div>
</div>
</div>

0 comments on commit 4656257

Please sign in to comment.