Working with the #DSpace #JSPUI is like working with the proverbial bad #PHP web application. Tons of business logic in the template generating the view. https://github.com/DSpace/DSpace/blob/dspace-6_x/dspace-jspui/src/main/webapp/search/discovery.jsp