Skip to content

Commit

Permalink
fix #2868 Exclude unnecessary items from print view on the search res…
Browse files Browse the repository at this point in the history
…ult screen using d-print-none.
  • Loading branch information
marevol committed Jan 18, 2025
1 parent cd47851 commit 1bbf6aa
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/orig/view/header.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
role="search">
${fe:facetForm()}${fe:geoForm()}
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark d-print-none">
<div id="content" class="container">
<la:link styleClass="navbar-brand d-inline-flex" href="/">
<img src="${fe:url('/images/logo-head.png')}"
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/orig/view/search.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<c:choose>
<c:when test="${f:h(allRecordCount) != 0}">
<jsp:include page="searchResults.jsp" />
<div class="text-end">
<div class="text-end d-print-none">
<a href="#"><la:message key="labels.footer_back_to_top" /></a>
</div>
</c:when>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/WEB-INF/orig/view/searchResults.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="description">${doc.content_description}</div>
</div>
<div class="site text-truncate">
<c:if test="${clipboardCopyIcon}"><i class="far fa-copy url-copy" data-clipboard-text="${doc.url_link}"></i></c:if>
<c:if test="${clipboardCopyIcon}"><i class="far fa-copy url-copy d-print-none" data-clipboard-text="${doc.url_link}"></i></c:if>
<cite>${f:h(doc.site_path)}</cite>
</div>
<div class="more">
Expand Down Expand Up @@ -84,7 +84,7 @@
<div class="d-sm-none"></div>
<span class="d-none d-sm-inline-block">&nbsp;</span>
<la:link href="/cache/?docId=${doc.doc_id}${appendHighlightParams}"
class="cache">
styleClass="cache d-print-none">
<la:message key="labels.search_result_cache" />
</la:link>
</c:if>
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/view/header.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
role="search">
${fe:facetForm()}${fe:geoForm()}
<header>
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark">
<nav class="navbar navbar-expand-md navbar-dark fixed-top bg-dark d-print-none">
<div id="content" class="container">
<la:link styleClass="navbar-brand d-inline-flex" href="/">
<img src="${fe:url('/images/logo-head.png')}"
Expand Down
2 changes: 1 addition & 1 deletion src/main/webapp/WEB-INF/view/search.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@
<c:choose>
<c:when test="${f:h(allRecordCount) != 0}">
<jsp:include page="searchResults.jsp" />
<div class="text-end">
<div class="text-end d-print-none">
<a href="#"><la:message key="labels.footer_back_to_top" /></a>
</div>
</c:when>
Expand Down
4 changes: 2 additions & 2 deletions src/main/webapp/WEB-INF/view/searchResults.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
<div class="description">${doc.content_description}</div>
</div>
<div class="site text-truncate">
<c:if test="${clipboardCopyIcon}"><i class="far fa-copy url-copy" data-clipboard-text="${doc.url_link}"></i></c:if>
<c:if test="${clipboardCopyIcon}"><i class="far fa-copy url-copy d-print-none" data-clipboard-text="${doc.url_link}"></i></c:if>
<cite>${f:h(doc.site_path)}</cite>
</div>
<div class="more">
Expand Down Expand Up @@ -84,7 +84,7 @@
<div class="d-sm-none"></div>
<span class="d-none d-sm-inline-block">&nbsp;</span>
<la:link href="/cache/?docId=${doc.doc_id}${appendHighlightParams}"
class="cache">
styleClass="cache d-print-none">
<la:message key="labels.search_result_cache" />
</la:link>
</c:if>
Expand Down

0 comments on commit 1bbf6aa

Please sign in to comment.