diff --git a/src/main/java/eu/erasmuswithoutpaper/registry/cmatrix/CoverageMatrixRow.java b/src/main/java/eu/erasmuswithoutpaper/registry/cmatrix/CoverageMatrixRow.java index a581c801..09efc830 100644 --- a/src/main/java/eu/erasmuswithoutpaper/registry/cmatrix/CoverageMatrixRow.java +++ b/src/main/java/eu/erasmuswithoutpaper/registry/cmatrix/CoverageMatrixRow.java @@ -68,7 +68,7 @@ static void generateHtmlTableHeader(StringBuilder sb) { /* Erasmus code */ - row1.append(genRow("Erasmus code", NAME_COLOR_CLASS, 2, 1, "ewpst__cell-schac")); + row1.append(genRow("Erasmus code", NAME_COLOR_CLASS, 2, 1, "ewpst__cell-erasmus")); /* Primary Network APIs */ @@ -185,7 +185,7 @@ static void generateHtmlTableHeader(StringBuilder sb) { /* Erasmus code */ cell = new CoverageMatrixCell(NAME_COLOR_CLASS); - cell.addClass("ewpst__cell-schac"); + cell.addClass("ewpst__cell-erasmus"); this.cells.add(cell); Collection erasmusCodes = hei.getOtherIds("erasmus"); Optional erasmusCode = erasmusCodes.stream().findFirst(); diff --git a/src/main/resources/style.css b/src/main/resources/style.css index 962e7823..2c842dda 100644 --- a/src/main/resources/style.css +++ b/src/main/resources/style.css @@ -334,6 +334,12 @@ a:hover { word-break: break-all; } +.ewpst__cell-erasmus { + min-width: 10em; + width: 200px; + word-break: break-all; +} + /* Column appearance (cc stands for "column color") */ .ewpst__cell.ewpst__cell--cc1 { diff --git a/src/main/resources/templates/heiSearch.pebble b/src/main/resources/templates/heiSearch.pebble index ca274bca..9e1d205d 100644 --- a/src/main/resources/templates/heiSearch.pebble +++ b/src/main/resources/templates/heiSearch.pebble @@ -31,7 +31,7 @@ {{ hei.id }} - + {% if hei.otherIds('erasmus') is not empty %} {{ hei.otherIds('erasmus') | first }} {% endif %}