Skip to content
Snippets Groups Projects
Commit b54f4387 authored by niyasraphy's avatar niyasraphy Committed by Renaud Thiry
Browse files

[FIX] website_{}: show correct placeholder in search bar


before this commit, in the mobile view, in the search bar
of the website users(forum) and events leader board,
the placeholder is shown as Search courses

after this commit, the wrong placeholder will be updated
to Search users in the placeholder as in the normal view.

closes odoo/odoo#123016

X-original-commit: 7e94e8a147cc1344b87d9800db7428384aa4b8e2
Signed-off-by: default avatarThibault Delavallee (tde) <tde@openerp.com>
Signed-off-by: default avatarHennecart Jérémy (jeh) <jeh@odoo.com>
parent 853a28cd
No related branches found
No related tags found
No related merge requests found
......@@ -445,6 +445,11 @@ msgstr ""
msgid "Search courses"
msgstr ""
#. module: website_event_track_qui
#: model_terms:ir.ui.view,arch_db:website_event_track_quiz.leaderboard_search_bar
msgid "Search users"
msgstr ""
#. module: website_event_track_quiz
#: model:event.quiz,name:website_event_track_quiz.event_7_track_5_quiz
msgid "Securing your Lumber during transport"
......
......@@ -115,7 +115,7 @@
<div class="dropdown-menu dropdown-menu-end w-100" style="right: 10px;">
<form class="px-3" t-attf-action="#{'/event/%s/community/leaderboard' % (slug(event))}" role="search" method="get">
<div class="input-group">
<input type="text" class="form-control" name="search" placeholder="Search courses"/>
<input type="text" class="form-control" name="search" placeholder="Search users"/>
<button class="btn btn-primary" type="submit" aria-label="Search" title="Search">
<i class="fa fa-search"/>
</button>
......
......@@ -48,7 +48,7 @@
<div class="dropdown-menu dropdown-menu-end w-100" style="right: 10px;">
<form class="px-3" t-attf-action="/profile/users" role="search" method="get">
<div class="input-group">
<input type="text" class="form-control" name="search" placeholder="Search courses"/>
<input type="text" class="form-control" name="search" placeholder="Search users"/>
<button class="btn btn-primary" type="submit" aria-label="Search" title="Search">
<i class="fa fa-search"/>
</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment