Skip to content

Commit 01d797b

Browse files
committed
make thumbnail non-clickable
1 parent efb9f3a commit 01d797b

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/webapp/search-include-fragment.xhtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -588,10 +588,10 @@
588588
<h:outputText value="#{bundle['incomplete']}" styleClass="label label-danger" rendered="#{!result.harvested and !SearchIncludeFragment.isValid(result)}"/>
589589
</div>
590590
<div class="card-preview-icon-block text-center">
591-
<a rel="nofollow" href="#{!SearchIncludeFragment.rootDv and !result.isInTree ? result.datasetUrl : widgetWrapper.wrapURL(result.datasetUrl)}" target="#{(!SearchIncludeFragment.rootDv and !result.isInTree and widgetWrapper.widgetView) or result.harvested ? '_blank' : ''}" aria-label="#{result.title}">
592-
<img src="#{result.imageUrl}" jsf:rendered="#{!empty result.imageUrl and !result.deaccessionedState}" alt="#{result.title}"/>
591+
<span>
592+
<img src="#{result.imageUrl}" jsf:rendered="#{!empty result.imageUrl and !result.deaccessionedState}" role="presentation"/>
593593
<span class="icon-dataset" jsf:rendered="#{empty result.imageUrl or result.deaccessionedState}"/>
594-
</a>
594+
</span>
595595
</div>
596596

597597
<div>

0 commit comments

Comments
 (0)