Bug 41040: (follow-up) Tooltip text change and remove unnecessary class

- I think "Please enter a card number or name" sounds friendlier
- We don't add a "btn-primary" class to these buttons

Signed-off-by: David Nind <david@davidnind.com>
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
Signed-off-by: Laura Escamilla <laura.escamilla@bywatersolutions.com>
This commit is contained in:
Owen Leonard 2025-11-06 18:08:58 +00:00 committed by Laura Escamilla
parent 0fc19fe00f
commit 5477c637d0
No known key found for this signature in database
GPG Key ID: 6B1D9CA1AF817BC3
1 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@
if (!searchTerm && !branchSelected && !categorySelected) {
$(form.searchmember)
.tooltip({ trigger: "manual", placement: "bottom", title: _("Search criterea required") })
.tooltip({ trigger: "manual", placement: "bottom", title: _("Please enter a card number or name") })
.tooltip("show");
$(document).on("click", function () {
$(form.searchmember).tooltip("hide");
@ -41,7 +41,7 @@
<button type="button" class="form-extra-content-toggle" title="More options"><i class="form-extra-content-icon fa-solid fa-sliders" aria-hidden="true"></i></button>
</div>
<button type="submit" class="btn btn-primary" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
<button type="submit" aria-label="Search"><i class="fa fa-arrow-right"></i></button>
<div class="form-extra-content">
<div> [% INCLUDE patron_fields_dropdown search_box=1 %] </div>