summaryrefslogtreecommitdiffstats
path: root/front_end/templates/serp.rs.html
diff options
context:
space:
mode:
authorKornel <kornel@geekhood.net>2019-04-13 22:13:53 +0100
committerKornel <kornel@geekhood.net>2019-04-13 22:37:23 +0100
commit89491b4367044e9bf12eb2e55d313e522c99fab1 (patch)
tree2128cc444ea232e23a6e614a5e405cd85194bc3d /front_end/templates/serp.rs.html
parentf476b631a343875bfa41e4355ecea5370bd6955f (diff)
Report bad search results
Diffstat (limited to 'front_end/templates/serp.rs.html')
-rw-r--r--front_end/templates/serp.rs.html7
1 files changed, 5 insertions, 2 deletions
diff --git a/front_end/templates/serp.rs.html b/front_end/templates/serp.rs.html
index 02159a7..86ed3e1 100644
--- a/front_end/templates/serp.rs.html
+++ b/front_end/templates/serp.rs.html
@@ -50,7 +50,7 @@
@if p.good_results.is_empty() {
<p class=notfound>Nothing found :(</p>
@if let SearchKind::Query(query) = p.query {
- <p class=tryalso>Try <a href="@url.search_ddg(query)">searching with duckduckgo</a> or <a href="@url.search_crates_io(query)">on crates.io</a>.</p>
+ <p class=tryalso>Try <a href="@url.search_ddg(query)">searching with DuckDuckGo</a> or <a href="@url.search_crates_io(query)">on crates.io</a>.</p>
}
} else {
<ol>
@@ -69,10 +69,13 @@
</li>
@if i == p.good_results.len() {
@if let SearchKind::Query(query) = p.query {
- <p class=tryalso>Try <a href="@url.search_ddg(query)">searching with duckduckgo</a> or <a href="@url.search_crates_io(query)">on crates.io</a>.</p>
+ <p class=tryalso><a href="https://forms.gle/HfbvBSryNk19exUm7">Report poor search results</a>. Try <a href="@url.search_ddg(query)">searching with DuckDuckGo</a> or <a href="@url.search_crates_io(query)">on crates.io</a>.</p>
}
}
}
+ @if let SearchKind::Keyword(_) = p.query {
+ <p class=tryalso><a href="https://forms.gle/SFntxLhGJB7xzFy19">Feedback on crate ranking</a></p>
+ }
</ol>
}
</div>