From 966c9033ef8ff5ffd6109e785bf5fb7d50756b62 Mon Sep 17 00:00:00 2001 From: Josef Rokos Date: Mon, 8 Dec 2014 14:13:25 +0100 Subject: [PATCH] =?UTF-8?q?Opraveno=20generov=C3=A1n=C3=AD=20URL=20z=C3=A1?= =?UTF-8?q?znamu=20do=20e-mailov=C3=BDch=20zpr=C3=A1v.=20closes=20#179?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/java/info/bukova/isspst/RequirementUrlResolver.java | 4 ++-- src/main/webapp/WEB-INF/locales/zk-label.properties | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/info/bukova/isspst/RequirementUrlResolver.java b/src/main/java/info/bukova/isspst/RequirementUrlResolver.java index f427c103..117fe81b 100644 --- a/src/main/java/info/bukova/isspst/RequirementUrlResolver.java +++ b/src/main/java/info/bukova/isspst/RequirementUrlResolver.java @@ -30,9 +30,9 @@ public class RequirementUrlResolver implements EntityUrlResolver { Requirement req = (Requirement)entity; if (req.getKind() == Constants.REQ_TYPE_MATERIAL) { - return defaultUrl + Constants.URL_MAP.get(req) + "material/?select=" + String.valueOf(req.getId()); + return defaultUrl + Constants.URL_MAP.get(req.getClass()) + "material/?select=" + String.valueOf(req.getId()); } else { - return defaultUrl + Constants.URL_MAP.get(req) + "services/?select=" + String.valueOf(req.getId()); + return defaultUrl + Constants.URL_MAP.get(req.getClass()) + "services/?select=" + String.valueOf(req.getId()); } } diff --git a/src/main/webapp/WEB-INF/locales/zk-label.properties b/src/main/webapp/WEB-INF/locales/zk-label.properties index 1d446c72..eb050a4a 100644 --- a/src/main/webapp/WEB-INF/locales/zk-label.properties +++ b/src/main/webapp/WEB-INF/locales/zk-label.properties @@ -125,7 +125,7 @@ AgendaServices=Skupiny služeb ServiceFormTitle=Skupina služeb AgendaWorkgroups=Střediska / komise -WorkgroupFormTitle=Pracvní skupina +WorkgroupFormTitle=Pracovní skupina AgendaWorkflow=Procesy schválení RequirementType=Typ požadavku: