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

getNewPluginsAdmin.twig « templates « CorePluginsAdmin « plugins - github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: b929a48430b088d4ff94e860da1c629ea785b9e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<div class="getNewPlugins isAdminPage">
    <div class="row">
        {% for plugin in plugins %}
            <div class="col s12 m4">

                <h3 class="pluginName"
                    title="{{ plugin.description|e('html_attr') }}"
                    piwik-plugin-name="{{ plugin.name|e('html_attr') }}">{{ plugin.name }}</h3>
                <p class="description"
                   title="{{ plugin.description|e('html_attr') }}">{{ plugin.description }}</p>

                {% if plugin.screenshots and plugin.screenshots.0 is defined %}
                    <br />
                    <img piwik-plugin-name="{{ plugin.name|e('html_attr') }}"
                         class="screenshot"
                         src="{{ plugin.screenshots.0 }}?w=600" width="100%" alt="">
                {% endif %}
            </div>
        {% endfor %}
    </div>

    <div class="widgetBody">
        <a href="{{ linkTo({'module': 'CorePluginsAdmin', 'action': 'marketplace'}) }}"
            >{{ 'CorePluginsAdmin_ViewAllMarketplacePlugins'|translate }}</a>
    </div>

    <script type="text/javascript">
        $('.getNewPlugins .col .description').dotdotdot({
            watch: 'window'
        });
    </script>
</div>