Skip to content

Commit

Permalink
SAK-33661 - contentitem.jsp getCssToolSkinLink needs two parameters (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
jonespm committed Jul 26, 2018
1 parent 8d2989d commit 0cbca1d
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions basiclti/basiclti-portlet/src/webapp/contentitem.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
<%@ page import="org.sakaiproject.tool.api.Tool" %>
<%@ page import="org.sakaiproject.portal.util.PortalUtils" %>
<%@ page import="org.sakaiproject.portal.util.CSSUtils" %>
<%@ page import="org.sakaiproject.portal.util.ToolUtils" %>
<title>IMS ContentItem Experimental Support</title>
<%= CSSUtils.getCssToolSkinLink((String) null) %>
<%= CSSUtils.getCssToolSkinLink((String) null, ToolUtils.isInlineRequest(request)) %>
<script src="<%= PortalUtils.getScriptPath() %>headscripts.js<%= PortalUtils.getCDNQuery() %>"></script>
<style>
.card {
Expand Down Expand Up @@ -43,7 +44,7 @@
<%= (String) request.getAttribute("launch_html") %>
<% } else { %>
<div id="box">
<% for (Tool tool : (List<Tool>) request.getAttribute("tools") ) { %>
<% if (request != null && request.getAttribute("tools") != null) { for (Tool tool : (List<Tool>) request.getAttribute("tools") ) { %>
<div style="border: 2px, solid, red;" class="card">
<p>
<span class="icon-<%= tool.getId().replace(".","-") %>">
Expand All @@ -52,7 +53,7 @@
<center><a href="content.item?install=<%= tool.getId() %>" class="btn btn-default" role="button">Details</a></center>
</p>
</div>
<% } %>
<% }} %>
</div>
<%= PortalUtils.includeLatestJQuery("content.item") %>
<script type="text/javascript" src="<%= request.getContextPath() %>/static/waterfall-light.js"></script>
Expand Down

0 comments on commit 0cbca1d

Please sign in to comment.