Skip to content

Commit

Permalink
Merge pull request #114 from plone/datakurre-update-theme
Browse files Browse the repository at this point in the history
Add update button to theming control panel
  • Loading branch information
jensens authored Sep 16, 2016
2 parents e00e090 + a15be7d commit eea1435
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
4 changes: 3 additions & 1 deletion CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ Breaking changes:

New features:

- *add item here*
- Add Update -button for theming control panel making it possible to
reload modified theme manifest without deactivating theme at first.
[datakurre]

Bug fixes:

Expand Down
6 changes: 6 additions & 0 deletions src/plone/app/theming/browser/controlpanel.pt
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,12 @@
class="plone-btn plone-btn-default"
type="submit"
name="form.button.Enable">Activate</button>
<button
tal:condition="theme/selected"
i18n:translate=""
class="plone-btn plone-btn-default"
type="submit"
name="form.button.Enable">Update</button>
<button
tal:condition="theme/selected"
i18n:translate=""
Expand Down

0 comments on commit eea1435

Please sign in to comment.