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

Make the Library Browser "Hints", "Solutions", and "Include Contrib" check boxes checked by default. #2673

Merged
merged 1 commit into from
Feb 18, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,10 @@
<%= hidden_field includeOPL => 0 =%>
</div>
<div class="form-check font-sm">
% param('includeContrib', 'on') unless defined param('includeContrib');
<%= check_box includeContrib => 'on', id => 'includeContrib', class => 'form-check-input' =%>
<%= label_for includeContrib => maketext('Include Contrib'), class => 'form-check-label' =%>
<%= hidden_field includeContrib => 0 =%>
</div>
% } else {
<%= hidden_field includeOPL => 1 =%>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,18 @@
<div class="d-inline-block ms-2 mb-2">
<div class="form-check form-check-inline ms-2">
<label class="form-check-label col-form-label-sm">
% param('showHints', 'on') unless defined param('showHints');
<%= check_box showHints => 'on', class => 'form-check-input me-1' =%>
<%= maketext('Hints') =%>
<%= hidden_field showHints => 0 =%>
</label>
</div>
<div class="form-check form-check-inline ms-2">
<label class="form-check-label col-form-label-sm">
% param('showSolutions', 'on') unless defined param('showSolutions');
<%= check_box showSolutions => 'on', class => 'form-check-input me-1' =%>
<%= maketext('Solutions') =%>
<%= hidden_field showSolutions => 0 =%>
</label>
</div>
</div>
Expand Down