Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

search bar #6

Closed
wants to merge 64 commits into from
Closed
Changes from 1 commit
Commits
Show all changes
64 commits
Select commit Hold shift + click to select a range
60b94c0
course discovery
qwqtw Nov 14, 2023
42d65a0
Update courses.html
qwqtw Nov 14, 2023
e44a35f
Revert "Update courses.html"
qwqtw Nov 14, 2023
a1232fa
Update courses.html
qwqtw Nov 14, 2023
4c0bf98
Update courses.html
qwqtw Nov 14, 2023
f784b9c
Update courses.html
qwqtw Nov 15, 2023
c6bff93
Update courses.html
qwqtw Nov 15, 2023
f123916
Update courses.html
qwqtw Nov 15, 2023
28a6fdd
Create filter_icon.png
qwqtw Nov 15, 2023
b2e8c80
Create magnifier.png
qwqtw Nov 15, 2023
0e65285
Update courses.html
qwqtw Nov 15, 2023
46fe564
Create filter_icon.png
qwqtw Nov 15, 2023
cb215fe
Create magnifier.png
qwqtw Nov 15, 2023
6673200
Update courses.html
qwqtw Nov 15, 2023
cbc0821
Merge branch 'qwqw3' of https://github.com/EduTrigger/edx-platform in…
qwqtw Nov 15, 2023
a469976
Update views.py
qwqtw Nov 15, 2023
68507d4
Update devstack.py
qwqtw Nov 15, 2023
7f68173
Update courses.html
qwqtw Nov 15, 2023
e390921
Revert "Update devstack.py"
qwqtw Nov 15, 2023
3cd5927
Revert "Revert "Update devstack.py""
qwqtw Nov 15, 2023
aa01fc0
Revert "Update courses.html"
qwqtw Nov 15, 2023
f93092b
Update courses.html
qwqtw Nov 15, 2023
c841106
Revert "Update courses.html"
qwqtw Nov 15, 2023
0a8fc3b
Update courses.html
qwqtw Nov 15, 2023
5a1e3ff
Update courses.html
qwqtw Nov 16, 2023
f42fdfc
Update courses.html
qwqtw Nov 16, 2023
000fd5f
Update courses.html
qwqtw Nov 16, 2023
22edf38
Update search_form.js
qwqtw Nov 16, 2023
4453a69
Revert "Update search_form.js"
qwqtw Nov 16, 2023
40f4f13
Update discovery_factory.js
qwqtw Nov 16, 2023
f866cc6
Update courses.html
qwqtw Nov 16, 2023
a0968e8
Revert "Update discovery_factory.js"
qwqtw Nov 16, 2023
fadd4c6
Revert "Update courses.html"
qwqtw Nov 16, 2023
f5f067e
Update discovery_factory.js
qwqtw Nov 18, 2023
4a0cae0
Update search_form.js
qwqtw Nov 18, 2023
f640ee3
Update search_form.js
qwqtw Nov 18, 2023
0f671dc
Update discovery_factory.js
qwqtw Nov 18, 2023
732de87
Update search_form.js
qwqtw Nov 18, 2023
3354c5a
Update courses.html
qwqtw Nov 18, 2023
9f8eef1
Create 0012_auto_20231118_2333.py
qwqtw Nov 19, 2023
c907e85
Update discovery_factory.js
qwqtw Nov 19, 2023
e0699cf
Update courses.html
qwqtw Nov 19, 2023
119d9f3
Update courses.html
qwqtw Nov 20, 2023
6cad67f
Update courses.html
qwqtw Nov 20, 2023
c82f876
Update devstack.py
qwqtw Nov 20, 2023
84f9d1b
Update courses.html
qwqtw Nov 20, 2023
f6c6530
Update courses.html
qwqtw Nov 21, 2023
bdacdd1
Update search_form.js
qwqtw Nov 21, 2023
c38cde4
Update courses.html
qwqtw Nov 21, 2023
4381502
Update discovery_factory.js
qwqtw Nov 21, 2023
9c744f2
Update search_form.js
qwqtw Nov 21, 2023
fd46d57
Update search_form.js
qwqtw Nov 21, 2023
c18ee72
Update courses.html
qwqtw Nov 21, 2023
e520085
Update courses.html
qwqtw Nov 21, 2023
934c608
Update filter_bar.js
qwqtw Nov 21, 2023
3c78623
Update courses.html
qwqtw Nov 21, 2023
67f62be
Update discovery_factory.js
qwqtw Nov 22, 2023
e3fef26
Revert "Update discovery_factory.js"
qwqtw Nov 22, 2023
fac2ac8
Update filter_bar.js
qwqtw Nov 22, 2023
4251fc9
Update search_form.js
qwqtw Nov 22, 2023
b446515
Revert "Update search_form.js"
qwqtw Nov 22, 2023
04c407c
Update courses.html
qwqtw Nov 22, 2023
d16697d
Update courses.html
qwqtw Nov 22, 2023
04c5005
Update courses.html
qwqtw Nov 22, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update search_form.js
qwqtw committed Nov 16, 2023
commit 22edf38cceefe8f81cb0312b98f795385ec7435d
8 changes: 4 additions & 4 deletions lms/static/js/discovery/views/search_form.js
Original file line number Diff line number Diff line change
@@ -42,13 +42,13 @@
this.$loadingIndicator.addClass('hidden');
},

showFoundMessage: function(count) {
showFoundMessage: function(count,term) {
var msg = ngettext(
'Viewing %s course',
'Viewing %s courses',
'Viewing %s course for "%s"',
'Viewing %s courses for "%s"',
count
);
this.$message.html(interpolate(msg, [count]));
this.$message.html(interpolate(msg, [count, _.escape(term)]));
},

showNotFoundMessage: function(term) {