قرینه از
https://github.com/matomo-org/matomo.git
synced 2025-08-22 23:17:46 +00:00

* do not hard code plugins directory * remove method that is not needed for now * use plugins directory in more places * some work on supporting multiple plugin directories * use more unique name * couple fixes * and another fix * sort plugins * adjust languagesmanager * adjust more usages * Update Manager.php * adding a plugin to test * more tests * make sure plugin resources can be located in custom directory * adding more tests * rewrite image paths * handle more cases * add tests * make sure to load plugin * trying to fix test * trying it this way * load plugin * fix ui test? * testing if tests succeed this way * another test * load custom dir plugin * load plugin in ui fixture * change the update statement * remove update script * delete column * fix ui test * make it work for tests * fix some tests * Fix merge.
27 خطوط
938 B
Twig
27 خطوط
938 B
Twig
{% extends 'dashboard.twig' %}
|
|
|
|
{% block content %}
|
|
<strong>This is our custom plugin!</strong>
|
|
<br/>
|
|
<span class="fooBarBazCustom">
|
|
The answer to life is {{ answerToLife }}
|
|
</span>
|
|
<br />
|
|
<h3>Translation test</h3>
|
|
<p>This should be translated: {{ 'CustomDirPlugin_CustomName'|translate }}</p>
|
|
|
|
<h3>image test</h3>
|
|
<p>You should see an image showing a check here: <img src="plugins/CustomDirPlugin/images/ok.png"></p>
|
|
|
|
<h3>CSS import test</h3>
|
|
<p class="customPluginDirImportTest">this text should appear green!</p>
|
|
|
|
<h3>CSS background images test</h3>
|
|
<p class="customPluginDirBackgroundTestRelative">This should have a background image relative</p>
|
|
|
|
<p class="customPluginDirBackgroundTestPluginRelative">This should have a background image relative to plugins</p>
|
|
|
|
<h3>Dependency Injection Test</h3>
|
|
<p>You should now see hello world: {{ diTest }}</p>
|
|
|
|
{% endblock %} |