History

Fix no result note

Thibaut committed 11 years ago

Commit 50662591 parent add213e1 file · +1 −1Browse files

Showing the changes to assets/javascripts (1 of 1 file). Show all

Unified · Split

assets/javascripts/templates/sidebar_tmpl.coffee+1−1
@@ -18,7 +18,7 @@ templates.sidebarResult = (entry) -> · 17 unmodified lines
1818 """<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>"""
1919
2020 templates.sidebarNoResults = ->
21− info = if app.isSingleDoc() or !app.disabledDocs.isEmpty() then '' else """
21+ info = if app.isSingleDoc() or app.disabledDocs.isEmpty() then '' else """
2222 <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>
2323 """
2424 """ <div class="_list-noresults">No results. #{info}</div> """

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t