Skip to content

Commit

Permalink
Merge pull request #69 from Gagaro/master
Browse files Browse the repository at this point in the history
fix: copy theme with dot in name
  • Loading branch information
vangheem committed Jul 28, 2015
2 parents 15fac51 + ed7289f commit f53e14a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/plone/app/theming/browser/controlpanel.pt
Original file line number Diff line number Diff line change
Expand Up @@ -186,11 +186,11 @@
</form>

<a href="#" class="plone-btn plone-btn-default pat-plone-modal"
tal:attributes="href string:#modal-copy-${theme/name}"
tal:attributes="href python:'#modal-copy-{0}'.format(theme['name'].replace('.', '-'))"
i18n:translate="">Copy</a>
<!-- Copy theme overlay -->
<div class="plone-modal"
tal:attributes="id string:modal-copy-${theme/name}">
tal:attributes="id python:'modal-copy-{0}'.format(theme['name'].replace('.', '-'))">
<h1 id="overlayTitleCopyTheme" class="documentFirstHeading" i18n:translate="theming_controlpanel_copy_theme">Create copy of <span i18n:name="theme_name"
tal:content="string:${theme/name}"></span></h1>

Expand Down

0 comments on commit f53e14a

Please sign in to comment.