Commits

Sam Adams committed 6767b89

Fixed httpcore dependency in webapp

  • Participants
  • Parent commits f144d9c

Comments (0)

Files changed (2)

chempound-webapp/pom.xml

         </dependency>
 
         <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpclient</artifactId>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.httpcomponents</groupId>
+            <artifactId>httpcore</artifactId>
+        </dependency>
+
+        <dependency>
             <groupId>org.restlet.jee</groupId>
             <artifactId>org.restlet.ext.json</artifactId>
         </dependency>

chempound-webapp/src/main/resources/net/chempound/templates/default/collection.ftl

 <div class="collection">
-<#if title><h1 class="title">${title}</h1></#if>
+<#if title??><h1 class="title">${title}</h1></#if>
 <#list aggregation.aggregatedResources as resource>
     <div class="result<#if resource_index == 0> first</#if>">
     <@macro.snippet items[resource.uri] />