Skip to content

Commit

Permalink
Rename pat-modal to pat-plone-modal. updates plone/mockup#483
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbrand committed Apr 17, 2015
1 parent b4e2c0f commit f978146
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions plone/app/layout/viewlets/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -286,8 +286,8 @@ def update(self):
}
modal = action.get('modal')
if modal:
info['class'] = 'pat-modal'
info['data-pat-modal'] = modal
info['class'] = 'pat-plone-modal'
info['data-pat-plone-modal'] = modal
self.user_actions.append(info)

self.anonymous = self.portal_state.anonymous()
Expand Down Expand Up @@ -383,7 +383,7 @@ def prepareObjectTabs(self, default_tab='view',
modal = item.get('modal', None)
item['cssClass'] = ''
if modal:
item['cssClass'] += ' pat-modal'
item['cssClass'] += ' pat-plone-modal'
item['url'] += '?ajax_load=1'

tabs.append(item)
Expand Down
2 changes: 1 addition & 1 deletion plone/app/layout/viewlets/document_byline.pt
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
</tal:expired>
</li>
<li>
<a href="#" class="pat-modal contentHistory" id="content-history"
<a href="#" class="pat-plone-modal contentHistory" id="content-history"
tal:condition="view/show_history"
tal:attributes="href string:${here/absolute_url}/@@historyview"
i18n:translate="label_history">History</a>
Expand Down

0 comments on commit f978146

Please sign in to comment.