diff options
author | Matthieu Aubry <mattab@users.noreply.github.com> | 2017-03-27 13:45:15 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-27 13:45:15 +0300 |
commit | b78a1043d54e016c740b0553d413f17ac32c548a (patch) | |
tree | 00f3f362fb5c3bfdf50c5229379ed9a83f951359 /plugins/Marketplace/templates/overview.twig | |
parent | 7a8689e9c858d64a2dbdb200d6a23bfaaddc49fb (diff) | |
parent | b1cd038eb7f759f3e4cea2d110b6b4721aee9e35 (diff) |
Merge pull request #11533 from piwik/3.x-dev3.0.3-b1
Release Piwik 3.0.3-b1
Diffstat (limited to 'plugins/Marketplace/templates/overview.twig')
-rw-r--r-- | plugins/Marketplace/templates/overview.twig | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/plugins/Marketplace/templates/overview.twig b/plugins/Marketplace/templates/overview.twig index 9541ab0a16..76123fc2a1 100644 --- a/plugins/Marketplace/templates/overview.twig +++ b/plugins/Marketplace/templates/overview.twig @@ -31,6 +31,7 @@ <div class="ui-confirm" id="installPluginByUpload"> <h2>{{ 'Marketplace_TeaserExtendPiwikByUpload'|translate }}</h2> + {% if isPluginUploadEnabled %} <p class="description"> {{ 'Marketplace_AllowedUploadFormats'|translate }} </p> <form enctype="multipart/form-data" method="post" id="uploadPluginForm" @@ -39,6 +40,12 @@ <br /> <input class="startUpload btn" type="submit" value="{{ 'Marketplace_UploadZipFile'|translate }}"> </form> + {% else %} + <p class="description"> {{ 'Marketplace_PluginUploadDisabled'|translate|raw }} </p> + <pre>[General] +enable_plugin_upload = 1</pre> + <input role="yes" type="button" value="{{ 'General_Ok'|translate }}"/> + {% endif %} </div> <div class="row marketplaceActions" ng-controller="PiwikMarketplaceController as marketplace"> |