From: Michael Tremer Date: Sat, 13 Jan 2018 13:00:24 +0000 (+0000) Subject: search: Drop help text which probably doesn't help anyone X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=90f0a5b09304aaf6c3ef9fa30aa1a245956fb6bb;p=pbs.git search: Drop help text which probably doesn't help anyone Fixes #11585 Signed-off-by: Michael Tremer --- diff --git a/src/templates/search-form.html b/src/templates/search-form.html index f434e3f2..ae754760 100644 --- a/src/templates/search-form.html +++ b/src/templates/search-form.html @@ -3,90 +3,34 @@ {% block title %}{{ _("Advanced search") }}{% end block %} {% block body %} -
-
- + + + {% if pattern %} +

+ {{ _("No results for '%s'.") % pattern }} +

+ {% else %} +

+ {{ _("Search") }} +

+ +

+ {{ _("Type a search pattern into the box below and hit the button.") }} +

+ {% end %} + +
+
+
-
- -
-
- {% if pattern %} -

- {{ _("No results for '%s'.") % pattern }} -

- {% else %} -

- {{ _("Search") }} -

- -

- {{ _("Type a search pattern into the box below and hit the button.") }} -

- {% end %} -
-
- -
-
- -
- -
- - -
-
- -
- -
-
-

{{ _("Search for packages by name or description") }}

-

- {{ _("If you type a package name to the search box you will get a link to the package.") }} - {{ _("The search is performed in case insensitive mode.") }} -

-
-
- -
-
-

{{ _("Search for UUIDs") }}

-

- {{ _("If you type a UUID to the search box, you will be directed to the job, build or package it belongs to.") }} - {{ _("This is a handy feature if you have a UUID and search for the corresponding package or build.") }} -

- -
{{ _("Examples") }}
-
    -
  • fde110ca-f7d9-4ae5-a6c4-1e465a05662a
  • -
-
-
- -
-
-

{{ _("Search for files") }}

-

- {{ _("You may also search for file names.") }} - {{ _("You will get a list of packages that contain the file.") }} - {{ _("The search pattern must start with a slash that it will be recognized as a file.") }} -

- -
{{ _("Examples") }}
-
    -
  • /bin/bash
  • -
  • /usr/bin/gcc
  • -
-
-
+ + {% end block %}