Skip to content

Commit aa96bd7

Browse files
committed
lineage support
1 parent 39542c7 commit aa96bd7

2 files changed

Lines changed: 12 additions & 1 deletion

File tree

collective/behavior/relatedmedia/configure.zcml

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
xmlns:gs="http://namespaces.zope.org/genericsetup"
66
xmlns:i18n="http://namespaces.zope.org/i18n"
77
xmlns:plone="http://namespaces.plone.org/plone"
8+
xmlns:zcml="http://namespaces.zope.org/zcml"
89
xmlns:z3c="http://namespaces.zope.org/z3c"
910
i18n_domain="collective.behavior.relatedmedia"
1011
>
@@ -206,6 +207,16 @@
206207
layer=".interfaces.ICollectiveBehaviorRelatedmediaLayer"
207208
/>
208209

210+
<browser:page
211+
name="relatedmedia-statistics"
212+
for="collective.lineage.interfaces.IChildSite"
213+
class=".browser.StatisticsView"
214+
template="statistics.pt"
215+
permission="cmf.ManagePortal"
216+
layer=".interfaces.ICollectiveBehaviorRelatedmediaLayer"
217+
zcml:condition="installed collective.lineage"
218+
/>
219+
209220
<include file="upgrades.zcml" />
210221

211222
</configure>

collective/behavior/relatedmedia/statistics.pt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99

1010
<form action="./@@relatedmedia-statistics" method="post">
1111
<div class="mb-3">
12-
<label>Filter keyword (Source/Target Title/Description)</label>
12+
<label>Filter keyword (Source/Target Title/URL)</label>
1313
<input type="text" name="filter" class="form-control" value="${request/filter|string:}" />
1414
</div>
1515
<div>

0 commit comments

Comments
 (0)