diff --git a/app/src/main/java/uk/ac/ebi/atlas/trader/ScxaExperimentRepository.java b/app/src/main/java/uk/ac/ebi/atlas/trader/ScxaExperimentRepository.java index f2490b207..f31f8a004 100644 --- a/app/src/main/java/uk/ac/ebi/atlas/trader/ScxaExperimentRepository.java +++ b/app/src/main/java/uk/ac/ebi/atlas/trader/ScxaExperimentRepository.java @@ -57,4 +57,9 @@ public Experiment getExperiment(String experimentAccession) { idfParser.parse(experimentDto.getExperimentAccession()), sdrfParser.parseSingleCellTechnologyType(experimentDto.getExperimentAccession())); } + + @Override + public String getExperimentType(String experimentAccession) { + return experimentCrudDao.getExperimentType(experimentAccession); + } } diff --git a/app/src/main/webapp/WEB-INF/jsp/tiles/views/experiment-page/experiment-description.jsp b/app/src/main/webapp/WEB-INF/jsp/tiles/views/experiment-page/experiment-description.jsp index adb69325c..056720089 100644 --- a/app/src/main/webapp/WEB-INF/jsp/tiles/views/experiment-page/experiment-description.jsp +++ b/app/src/main/webapp/WEB-INF/jsp/tiles/views/experiment-page/experiment-description.jsp @@ -18,7 +18,7 @@ <%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
-
+ + +
+ Experiment with annotated data from external source +
+
diff --git a/app/src/main/webapp/resources/css/atlas.css b/app/src/main/webapp/resources/css/atlas.css index 3e0f0193d..07374071c 100644 --- a/app/src/main/webapp/resources/css/atlas.css +++ b/app/src/main/webapp/resources/css/atlas.css @@ -10,6 +10,17 @@ padding-right: 0; } +.media-object.stack-for-small.anndata { + background: lightyellow; + display: flex; +} + +.experiment-type-icon { + margin-left: auto; + margin-right: 10px; + margin-top: 10px; +} + a.clear { border-bottom: none; } diff --git a/app/src/main/webapp/resources/images/experiment-type/anndata.png b/app/src/main/webapp/resources/images/experiment-type/anndata.png new file mode 100644 index 000000000..717a6e933 Binary files /dev/null and b/app/src/main/webapp/resources/images/experiment-type/anndata.png differ diff --git a/atlas-web-core b/atlas-web-core index 59d2cec77..2281e3fb1 160000 --- a/atlas-web-core +++ b/atlas-web-core @@ -1 +1 @@ -Subproject commit 59d2cec7729ac0b9355f9ceb504e96bec1b742a1 +Subproject commit 2281e3fb14a455e6ead882883b345e84d2d0aa72