Skip to content

Commit

Permalink
Make search result page less heavy
Browse files Browse the repository at this point in the history
  • Loading branch information
soullivaneuh committed Feb 28, 2018
1 parent 405c5b2 commit c09933d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Resources/views/Block/block_search_result.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ file that was distributed with this source code.
{% endif %}

<div class="col-lg-4 col-md-6 search-box-item {{ visibility_class }}">
<div class="box box-solid box-primary {{ visibility_class }}">
<div class="box box-solid {{ visibility_class }}">
<div class="box-header with-border {{ visibility_class }}">
{% set icon = settings.icon|default('') %}
{{ icon|raw }}
Expand All @@ -29,7 +29,7 @@ file that was distributed with this source code.

<div class="box-tools pull-right">
{% if pager and pager.getNbResults() > 0 %}
<span class="badge bg-light-blue">{{ pager.getNbResults() }}</span>
<span class="badge">{{ pager.getNbResults() }}</span>
{% elseif admin.hasRoute('create') and admin.hasAccess('create') %}
<a href="{{ admin.generateUrl('create') }}" class="btn btn-box-tool">
<i class="fa fa-plus" aria-hidden="true"></i>
Expand Down

0 comments on commit c09933d

Please sign in to comment.