Commit f22003ba by Antti Tönkyrä

dur

1 parent e246166f
...@@ -16,7 +16,7 @@ ...@@ -16,7 +16,7 @@
<ui:define name="content"> <ui:define name="content">
<h:dataTable var="templ" value="#{foodWaveView.templates}"> <h:dataTable var="templ" value="#{foodWaveVie}">
<h:column> <h:column>
<f:facet name="header"> <f:facet name="header">
<h:outputText value="#{i18n['foodwaveTemplate.name']}" /> <h:outputText value="#{i18n['foodwaveTemplate.name']}" />
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
</h:column> </h:column>
<h:column> <h:column>
<h:link value="LOL" outcome="/foodadmin/editTemplate"> <h:link value="LOL" outcome="/foodadmin/editTemplate">
<f:param value="#{templ.id}" /> <f:param value="#{templ.}" name="id" />
</h:link> </h:link>
</h:column> </h:column>
</h:dataTable> </h:dataTable>
......
...@@ -45,6 +45,7 @@ public class FoodWaveView extends GenericCDIView { ...@@ -45,6 +45,7 @@ public class FoodWaveView extends GenericCDIView {
private Product currentProduct; private Product currentProduct;
public void initTemplateList() { public void initTemplateList() {
if (super.requirePermissions(ShopPermission.LIST_USERPRODUCTS)) { 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!