mirror of
https://github.com/freeCodeCamp/devdocs
synced 2024-11-16 19:48:10 +01:00
Fix no result note
This commit is contained in:
parent
add213e0f4
commit
5066259cdc
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ templates.sidebarResult = (entry) ->
|
|||
"""<a href="#{entry.fullPath()}" class="_list-item _list-hover _list-result _icon-#{entry.doc.slug}"><span class="_list-reveal" data-reset-list title="Reveal in list"></span>#{$.escape entry.name}</a>"""
|
||||
|
||||
templates.sidebarNoResults = ->
|
||||
info = if app.isSingleDoc() or !app.disabledDocs.isEmpty() then '' else """
|
||||
info = if app.isSingleDoc() or app.disabledDocs.isEmpty() then '' else """
|
||||
<span class="_list-noresults-note">Note: documentations must be <a class="_list-noresults-link" data-pick-docs>enabled</a> to appear in the search.</span>
|
||||
"""
|
||||
""" <div class="_list-noresults">No results. #{info}</div> """
|
||||
|
|
Loading…
Reference in a new issue