Bug 13835: Popup with searches: results hidden by language menu in footer
Language menus in pop up windows are not necessary and can hide the contents (especially search results) on a narrow screen. For an example, see screenshot in comment #3 This patch allows to mark pop p menus not to display the language footer. To test: - Reproduce issue from comment #3 - Apply patch - Try to reproduce issue from comment #3 -> language menu should no longer display - Verify that language menu is suppresed in 'Add to ist' as well (from catalog search results, select an item, Add to:...) Note: There will be more pop-ups with unwnated language selector. That can be resolved in follow up bugs. Followed test plan which worked as intended Signed-off-by: Alex Buckley <alexbuckley@catalyst.net.nz> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> Signed-off-by: Mason James <mtj@kohaaloha.com>
This commit is contained in:
parent
56b2d75e38
commit
cdc4bc73bf
|
|
@ -1,6 +1,6 @@
|
|||
</div>
|
||||
|
||||
[% IF ( languages_loop ) %]
|
||||
[% IF ( languages_loop && ! popup_window ) %]
|
||||
[% UNLESS ( one_language_enabled ) %]
|
||||
<div id="changelanguage" class="navbar navbar-fixed-bottom">
|
||||
<div class="navbar-inner">
|
||||
|
|
|
|||
|
|
@ -250,4 +250,5 @@ function filterByFirstLetterSurname(letter) {
|
|||
<div id="closewindow"><a href="#" class="btn btn-default close">Close</a></div>
|
||||
</div>
|
||||
</div>
|
||||
[% SET popup_window = 1 %]
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
|
|
|
|||
|
|
@ -114,6 +114,6 @@
|
|||
<!-- /SAVE -->
|
||||
|
||||
</div>
|
||||
|
||||
[% SET popup_window = 1 %]
|
||||
[% INCLUDE 'intranet-bottom.inc' %]
|
||||
[% END %]
|
||||
|
|
|
|||
Loading…
Reference in New Issue