Skip to content

Commit

Permalink
move contentrules into mockup/pat/controlpanels
Browse files Browse the repository at this point in the history
  • Loading branch information
MrTango authored and agitator committed Jan 12, 2022
1 parent 97fccc1 commit b424acb
Show file tree
Hide file tree
Showing 5 changed files with 335 additions and 520 deletions.
15 changes: 0 additions & 15 deletions plone/app/contentrules/browser/configure.zcml
Original file line number Diff line number Diff line change
Expand Up @@ -183,21 +183,6 @@

</configure>

<!-- Resources -->
<browser:resource
name="manage-contentrules.js"
file="contentrules.js"
/>
<!-- Resources -->
<browser:resource
name="manage-contentrule-elements.js"
file="contentrule-elements.js"
/>
<browser:resource
name="manage-contentrules.css"
file="contentrules.css"
/>

<!-- Rule breadcrumb -->

<browser:page
Expand Down
69 changes: 0 additions & 69 deletions plone/app/contentrules/browser/contentrule-elements.js

This file was deleted.

133 changes: 0 additions & 133 deletions plone/app/contentrules/browser/contentrules.js

This file was deleted.

15 changes: 4 additions & 11 deletions plone/app/contentrules/browser/templates/controlpanel.pt
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,6 @@
<metal:main metal:fill-slot="prefs_configlet_main"
tal:define="rules view/registeredRules">

<script type="text/javascript" src="++resource++manage-contentrules.js"
tal:attributes="src string:${context/portal_url}/++resource++manage-contentrules.js">
</script>
<link rel="stylesheet" type="text/css" media="all"
href="++resource++manage-contentrules.css"
tal:attributes="href string:${context/portal_url}/++resource++manage-contentrules.css" />

<header>
<h1 class="documentFirstHeading"
i18n:translate="title_manage_contentrules">Content Rules</h1>
Expand Down Expand Up @@ -145,15 +138,15 @@
i18n:translate="">trigger</span>
</td>
<td class="checker">
<span
class="badge badge-primary icon-contentrule-enabled-assigned"
<span
class="badge badge-primary icon-contentrule-enabled-assigned"
alt="enabled"
i18n:attributes="alt label_contentrules_rule_enabled;">
<i class="glyphicon glyphicon-ok"></i>
</span>

<span
class="badge badge-danger icon-contentrule-enabled-unassigned"
<span
class="badge badge-danger icon-contentrule-enabled-unassigned"
alt="unassigned"
title="this rule has not been assigned"
i18n:attributes="alt label_contentrules_rule_unassigned;
Expand Down
Loading

0 comments on commit b424acb

Please sign in to comment.