diff options
author | Thomas Steur <tsteur@users.noreply.github.com> | 2016-11-15 04:03:59 +0300 |
---|---|---|
committer | Matthieu Aubry <mattab@users.noreply.github.com> | 2016-11-15 04:03:59 +0300 |
commit | 587cc39e0362719332d410b7a4d5ddcc68788eeb (patch) | |
tree | c982c369cdda542c3a4de08be11c893e5364838c /plugins/Marketplace/templates/getNewPluginsAdmin.twig | |
parent | 64314b26dbc6619d535002bdb79b9e55d1fc87db (diff) |
Update Marketplace to work with new API (#10799)
* starting to port marketplace to piwik 3
* updating tests
* fix translation key
* fix various issues
* use material select
* fix plugin upload
* deprecate license_homepage plugin metadata and link to a LICENSE[.md|.txt] file if found (#10756)
* deprecate license_homepage plugin metadata, and link to a LICENSE[.md|.txt] file if found
* Make license view HTML only without menu
* fix tests and update
* fix some links did not work
* we need to show warnings even when plugin is installed, not only when activated. otherwise it is not clear why something is not downloadable
* fix install was not working
* improved responsiveness of marketplace
* fix more tests
* fix search was shown when only a few plugins are there
* fix ui tests
* fix some translations
* fix tests and remove duplicated test
Diffstat (limited to 'plugins/Marketplace/templates/getNewPluginsAdmin.twig')
-rw-r--r-- | plugins/Marketplace/templates/getNewPluginsAdmin.twig | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/plugins/Marketplace/templates/getNewPluginsAdmin.twig b/plugins/Marketplace/templates/getNewPluginsAdmin.twig new file mode 100644 index 0000000000..b929a48430 --- /dev/null +++ b/plugins/Marketplace/templates/getNewPluginsAdmin.twig @@ -0,0 +1,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>
\ No newline at end of file |