#232: Nudge users towards understanding search syntax
--------------------------+---------------------
Reporter: jdreimann | Owner: nobody
Type: enhancement | Status: new
Priority: trivial | Milestone:
Component: ui design | Version:
Resolution: | Keywords: starter
--------------------------+---------------------
Comment (by mudri):
"TracLink" gets replaced automatically with "Guide/Link", which doesn't
read as well. I've instead decided to call them "Wiki links":
{{{
#!xml
Index: bloodhound_theme/bhtheme/templates/bh_search.html
===================================================================
--- bloodhound_theme/bhtheme/templates/bh_search.html (revision 1505634)
+++ bloodhound_theme/bhtheme/templates/bh_search.html (working copy)
@@ -100,8 +100,11 @@
<div id="help" class="help-block pull-right" i18n:msg="">
<span class="label label-info">Note:</span>
- See <a href="${href.wiki('TracSearch')}">TracSearch</a>
- for help on searching.
+ See <a href="${href.wiki('Guide/Search')}">Guide/Search</a>
+ for help on searching.<br />
+ <span class="label label-info">Tip:</span>
+ Enter a <a href="${href.wiki('Guide/Links')}">Wiki link</a>
+ to jump directly to a page.
</div>
<br/>
}}}
{{{
#!xml
Index: bloodhound_search/bhsearch/templates/bhsearch.html
===================================================================
--- bloodhound_search/bhsearch/templates/bhsearch.html (revision 1505634)
+++ bloodhound_search/bhsearch/templates/bhsearch.html (working copy)
@@ -192,10 +192,14 @@
</div>
<div id="help" class="help-block pull-right" i18n:msg="">
- <strong>Note:</strong> See <a
href="${href.wiki('BloodhoundSearch')}">BloodhoundSearch</a>
- for help on searching.
+ <span class="label label-info">Note:</span>
+ See <a href="${href.wiki('Guide/Search')}">Guide/Search</a>
+ for help on searching.<br />
+ <span class="label label-info">Tip:</span>
+ Enter a <a href="${href.wiki('Guide/Links')}">Wiki link</a>
+ to jump directly to a page.
</div>
</div>
</body>
-</html>
\ No newline at end of file
+</html>
}}}
{{{
#!css
Index: bloodhound_theme/bhtheme/htdocs/bloodhound.css
===================================================================
--- bloodhound_theme/bhtheme/htdocs/bloodhound.css (revision 1505634)
+++ bloodhound_theme/bhtheme/htdocs/bloodhound.css (working copy)
@@ -1281,3 +1281,20 @@
input[type="radio"]:not(:checked) + label span {
text-decoration:underline;
}
+
+#help.pull-right {
+ text-align: right;
+}
}}}
--
Ticket URL: <https://issues.apache.org/bloodhound/ticket/232#comment:4>
Apache Bloodhound <https://issues.apache.org/bloodhound/>
The Apache Bloodhound issue tracker