Commit 2f1cb367 authored by Ubbo Veentjer's avatar Ubbo Veentjer
Browse files

disabled shelf notice

parent 75ecb83e
Pipeline #132369 passed with stages
in 7 minutes and 9 seconds
package info.textgrid.rep.basket;
import java.util.Locale;
import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;
import info.textgrid.rep.i18n.I18N;
import info.textgrid.rep.i18n.I18NProvider;
public class BasketController {
private I18NProvider i18nProvider;
private static final Log log = LogFactory.getLog(BasketController.class);
public BasketController(I18NProvider i18nProvider) {
this.i18nProvider = i18nProvider;
public String render(
Model model,
Locale locale) {
I18N i18n = i18nProvider.getI18N(locale);
model.addAttribute("i18n", i18n.getTranslationMap());
model.addAttribute("language", i18n.getLanguage());
return "basket";
<%@ page contentType="text/html" pageEncoding="UTF-8" %>
<%@ taglib prefix="c" uri="" %>
<%@ taglib uri="" prefix="fn" %>
<%@ taglib uri="" prefix="utils" %>
<%@ include file="base/head.jsp" %>
<%@ include file="components/js-incl.jsp" %>
<div class="tgrep wrap">
<div class="tgrep sidebar-toggle">
<button class="tgrep sidebar-toggle_button -show">${i18n['show-sidebar']}</button>
<button class="tgrep sidebar-toggle_button -hide">${i18n['hide-sidebar']}</button>
<aside class="tgrep sidebar">
<main class="tgrep main">
<h1 class="tgrep main_heading">${i18n['shelf']}</h1>
<header class="tgrep header">
<h2 class="tgrep header_heading">The shelf is temporarely disabled. It will be back soon.</h2>
<%@ include file="base/foot.jsp" %>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment