Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-docs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/instantsearch.html')
-rw-r--r--layouts/instantsearch.html5
1 files changed, 1 insertions, 4 deletions
diff --git a/layouts/instantsearch.html b/layouts/instantsearch.html
index 1b90d22a..5fd9b3f8 100644
--- a/layouts/instantsearch.html
+++ b/layouts/instantsearch.html
@@ -60,10 +60,7 @@
instantsearch.widgets.stats({
container: '#stats',
templates: {
- body: function(data) {
- return '<div class="stats"><em>You have ' + data.nbHits + ' results, fetched in ' +
- data.processingTimeMS +'ms.</em></div>'
- }
+ body: '<div class="stats">You have {{nbHits}} results, fetched in {{processingTimeMS}}ms.</div>'
}
})
);