Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Contents/templates/_actionContent.twig')
-rw-r--r--plugins/Contents/templates/_actionContent.twig15
1 files changed, 15 insertions, 0 deletions
diff --git a/plugins/Contents/templates/_actionContent.twig b/plugins/Contents/templates/_actionContent.twig
new file mode 100644
index 0000000000..138f0e350e
--- /dev/null
+++ b/plugins/Contents/templates/_actionContent.twig
@@ -0,0 +1,15 @@
+<li class="content"
+ title="{{ postEvent('Live.renderActionTooltip', action, visitInfo) }}">
+ <div>
+ {% if action.contentInteraction %}
+ <span class="icon-document action-list-action-icon" title="{{ 'Contents_ContentInteraction'|translate }}"></span>
+ {% else %}
+ <span class="icon-show action-list-action-icon" title="{{ 'Contents_ContentImpression'|translate }}"></span>
+ {% endif %}
+ {% if action.contentInteraction %}
+ [{{ action.contentInteraction }}]
+ {% endif %}
+ {{ action.contentName }} -
+ {{ action.contentPiece }}
+ </div>
+</li>