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:
parent
022506cbf4
commit
4b90513f1d
2 changed files with 2 additions and 2 deletions
|
@ -67,7 +67,7 @@ public interface ShortViewService {
|
||||||
* The available contexts for short views.
|
* The available contexts for short views.
|
||||||
*/
|
*/
|
||||||
public enum ShortViewContext {
|
public enum ShortViewContext {
|
||||||
SEARCH("view-search-default.ftl");
|
SEARCH("view-search-default.ftl"), INDEX("listedIndividual.ftl");
|
||||||
|
|
||||||
private final String defaultTemplateName;
|
private final String defaultTemplateName;
|
||||||
|
|
||||||
|
|
|
@ -43,7 +43,7 @@ ${stylesheets.add('<link rel="stylesheet" href="${urls.base}/css/browseIndex.css
|
||||||
<ul>
|
<ul>
|
||||||
<#list individuals as individual>
|
<#list individuals as individual>
|
||||||
<li>
|
<li>
|
||||||
<#include "listedIndividual.ftl">
|
<@shortView uri=individual.uri viewContext="index" />
|
||||||
</li>
|
</li>
|
||||||
</#list>
|
</#list>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue