Commit f22003ba by Antti Tönkyrä

dur

1 parent e246166f
......@@ -16,7 +16,7 @@
<ui:define name="content">
<h:dataTable var="templ" value="#{foodWaveView.templates}">
<h:dataTable var="templ" value="#{foodWaveVie}">
<h:column>
<f:facet name="header">
<h:outputText value="#{i18n['foodwaveTemplate.name']}" />
......@@ -25,7 +25,7 @@
</h:column>
<h:column>
<h:link value="LOL" outcome="/foodadmin/editTemplate">
<f:param value="#{templ.id}" />
<f:param value="#{templ.}" name="id" />
</h:link>
</h:column>
</h:dataTable>
......
......@@ -45,6 +45,7 @@ public class FoodWaveView extends GenericCDIView {
private Product currentProduct;
public void initTemplateList() {
if (super.requirePermissions(ShopPermission.LIST_USERPRODUCTS)) {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!