From 3f36f66b8a6fa8a39b2067acc65216a5947049bd Mon Sep 17 00:00:00 2001 From: FreneticScribbler Date: Sun, 15 Mar 2020 15:19:39 +0000 Subject: [PATCH] Fix up header search --- RIGS/templates/search_help.html | 67 ++++++++++++++------------------- templates/base_rigs.html | 32 ++++++++-------- 2 files changed, 46 insertions(+), 53 deletions(-) diff --git a/RIGS/templates/search_help.html b/RIGS/templates/search_help.html index 2023381d..8a40d6f2 100644 --- a/RIGS/templates/search_help.html +++ b/RIGS/templates/search_help.html @@ -17,54 +17,45 @@

Searches for entire query in: - - and - + name + description and + notes

-

You can search for an event by by entering an integer, or using the format N01234

-

On the search results page you can also specify the date range for the of the event

-

Events are sorted in reverse order (most recent events at the top)

+

You can search for an event by event_id by entering an integer, or using the format N01234

+

On the search results page you can also specify the date range for the start_date of the event

+

Events are sorted in reverse start_date order (most recent events at the top)

- - -

Searching People/Organisations/Venues

Searches for entire search phrase in: - - - - and - + name + email + address + notes and + phone

-

You can search for an entry by by entering an integer

-

Entries are sorted in alphabetical order by

+

You can search for an entry by id by entering an integer

+

Entries are sorted in alphabetical order by name

+
+ {% if perms.RIGS.view_invoice %} +
+

Searching Invoices

+
+
+

+ Searches for entire search phrase in: + event__name +

+

You can search for an event's invoice by entering the event_id using the format N01234

+

You can search for an invoice by invoice_id using the format #01234

+

Entering a raw integer will search by both invoice_id and event_id

+

Entries are sorted in reverse invoice_date order

-
- - {% if perms.RIGS.view_invoice %} -
-
-

Searching Invoices

-
-
-

- Searches for entire search phrase in: - -

-

You can search for an event's invoice by entering the using the format N01234

-

You can search for an invoice by using the format #01234

-

Entering a raw integer will search by both and

-

Entries are sorted in reverse order

-
-
{% endif %} - - - + -{% endblock %} \ No newline at end of file +{% endblock %} diff --git a/templates/base_rigs.html b/templates/base_rigs.html index c4eeb4aa..3af25775 100644 --- a/templates/base_rigs.html +++ b/templates/base_rigs.html @@ -54,21 +54,23 @@ {% if perms.RIGS.view_venue %} {% endif %} -
- -
- -
- - + +
+
+ +
+ +
+ +
{% endblock %} {% block js %}