1
0
قرینه از https://github.com/matomo-org/matomo.git synced 2025-08-22 06:57:53 +00:00
Files
matomo/plugins/Marketplace/templates/macros.twig
Stefan Giehl d477e665e1 Migrates Marketplace to vue.js & adds modal when trialing a plugin without license (#21951)
* Migrate plugin list to vue

* Simplify cta container conditions

* Move start trial feature into component

* Remove unused view variables

* Migrate loading of plugin list to vue.js

* Flag marketplace link as "external raw"

* Clean up link building

* Migrate plugin search to controller for nonce usage

* Update expected screenshots

* Apply suggestions from code review

Co-authored-by: Michal Kleiner <michal@innocraft.com>

* Apply review feedback

* Build vue components

---------

Co-authored-by: Marc Neudert <marc@innocraft.com>
Co-authored-by: Michal Kleiner <michal@innocraft.com>
2024-02-27 20:47:15 +01:00

16 خطوط
660 B
Twig

{% macro pluginDeveloper(owner) %}
{% if 'piwik' == owner or 'matomo-org' == owner %}<img title="Matomo" alt="Matomo" style="padding-bottom:2px;height:12px;" src="plugins/Morpheus/images/logo-dark.svg"/>{% else %}{{ owner }}{% endif %}
{% endmacro %}
{% macro featuredIcon(align='') %}
<img class="featuredIcon"
title="{{ 'Marketplace_FeaturedPlugin'|translate }}"
src="plugins/Marketplace/images/rating_important.png"
align="{{ align }}" />
{% endmacro %}
{% macro missingRequirementsPleaseUpdateNotice(plugin) %}
<div vue-entry="Marketplace.MissingReqsNotice" plugin="{{ plugin|json_encode }}"></div>
{% endmacro %}