Skip to content
This repository was archived by the owner on Sep 19, 2018. It is now read-only.

Commit eff8496

Browse files
committed
add info about number of search results
1 parent 7c03716 commit eff8496

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

static/scss/_base.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -423,6 +423,12 @@ SEARCH EVENTS STYLES
423423
}
424424
}
425425

426+
.search-counter {
427+
font-size: 18px;
428+
font-weight: 550;
429+
margin-bottom: 16px;
430+
}
431+
426432
/*********************
427433
AMBASSADORS STYLES
428434
*********************/

web/templates/pages/ajax_faceted_search_events.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{% load endless %}
22

33
{% if events %}
4+
<div class="search-counter">{{ events|length }} {% if events|length > 1 %}events match{% else %} event matches{% endif %} your search criteria:</div>
45
{% lazy_paginate 6 events as pag_events %}
56
{% for event in pag_events %}
67
{% include 'layout/event_tile_long.html' %}

0 commit comments

Comments
 (0)