Fixed ignorecase for categories. Fixed logo file name.

This commit is contained in:
Christian P. MOMON 2020-10-23 04:41:04 +02:00
parent c24cea3727
commit eabdc733d6
3 changed files with 3 additions and 3 deletions

View file

@ -82,7 +82,7 @@ public class Categories extends ArrayList<Category>
{ {
Category category = iterator.next(); Category category = iterator.next();
if (category.getSoftwares().contains(softwareName)) if (category.getSoftwares().containsIgnoreCase(softwareName))
{ {
ended = true; ended = true;
result = true; result = true;

View file

@ -109,7 +109,7 @@ public class Category
{ {
boolean result; boolean result;
if (this.softwares.contains(service.getSoftwareName())) if (this.softwares.containsIgnoreCase(service.getSoftwareName()))
{ {
result = true; result = true;
} }

View file

@ -59,7 +59,7 @@ public class ServicePage
TagDataManager data = new TagDataManager(); TagDataManager data = new TagDataManager();
data.setAttribute("serviceLogo", "src", organization.getTechnicalName() + "-" + service.getTechnicalName() + "-logo.png"); data.setAttribute("serviceLogo", "src", service.getLogoFileName());
data.setEscapedContent("serviceName", service.getName()); data.setEscapedContent("serviceName", service.getName());
data.setAttribute("serviceName", "href", service.getWebsite()); data.setAttribute("serviceName", "href", service.getWebsite());