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: