NIHVIVO-2411 Extend the mock implementation of the ShortViewService to the index page. There should be no difference for the end-user.

This commit is contained in:
j2blake 2012-04-25 20:10:46 +00:00
parent 022506cbf4
commit 4b90513f1d
2 changed files with 2 additions and 2 deletions

View file

@ -67,7 +67,7 @@ public interface ShortViewService {
* The available contexts for short views.
*/
public enum ShortViewContext {
SEARCH("view-search-default.ftl");
SEARCH("view-search-default.ftl"), INDEX("listedIndividual.ftl");
private final String defaultTemplateName;

View file

@ -43,7 +43,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/browseIndex.css
<ul>
<#list individuals as individual>
<li>
<#include "listedIndividual.ftl">
<@shortView uri=individual.uri viewContext="index" />
</li>
</#list>
</ul>