Skip to content

Commit

Permalink
Merge pull request #7721 from piwik/display_plugins_count
Browse files Browse the repository at this point in the history
Marketplace UI tweaks: display "Search N plugins..." in search input + lean Themes browsing
  • Loading branch information
diosmosis committed Apr 21, 2015
2 parents 5752c62 + 237ef3f commit 6a12bf4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions core/Twig.php
Expand Up @@ -88,6 +88,7 @@ public function __construct()
$this->addFilter_safeDecodeRaw();
$this->twig->addFilter(new Twig_SimpleFilter('implode', 'implode'));
$this->twig->addFilter(new Twig_SimpleFilter('ucwords', 'ucwords'));
$this->twig->addFilter(new Twig_SimpleFilter('lcfirst', 'lcfirst'));

$this->addFunction_includeAssets();
$this->addFunction_linkTo();
Expand Down
Expand Up @@ -21,7 +21,7 @@
<a href="{{ linkTo({'sort': 'alpha', 'query': ''}) }}" {% if 'alpha' == sort %}class="active"{% endif %}>{{ 'CorePluginsAdmin_SortByAlpha'|translate }}</a>
|
<form action="{{ linkTo({'sort': ''}) }}" method="POST">
<input value="{{ query }}" placeholder="{{ 'General_Search'|translate }}" type="text" name="query"/>
<input value="{{ query }}" placeholder="{{ 'General_Search'|translate }} {{ plugins|length }} {{ 'General_Plugins'|translate|lcfirst }}..." type="text" name="query"/>
<button type="submit">{{ 'General_Search'|translate }}</button>
</form>
</div>
1 change: 0 additions & 1 deletion plugins/CorePluginsAdmin/templates/browseThemes.twig
Expand Up @@ -15,7 +15,6 @@
{{ 'CorePluginsAdmin_BeCarefulUsingThemes'|translate }}
</div>

{% include "@CorePluginsAdmin/browsePluginsActions.twig" %}
</div>

{% if not isSuperUser %}
Expand Down

0 comments on commit 6a12bf4

Please sign in to comment.