Merge branch 'development' of gitlab.ub.uni-bielefeld.de:sfb1288inf/opaque into development

This commit is contained in:
Stephan Porada
2020-04-15 14:55:36 +02:00
8 changed files with 72 additions and 25 deletions

View File

@ -68,12 +68,19 @@ indicator will show up how the column is sorted right now.; */
z-index: 999; /* tmp fix */
}
.show-if-only-child:not(:only-child) {
display: none !important;
}
/* class for expert view */
.expert-view {
cursor: pointer;
}
/* styles for resource lists */
.analyse-link[href=""] {
display: none;
}
.service[data-service]:before {
content: "help";
}

View File

@ -56,7 +56,7 @@ RessourceList.dataMapper = {
corpus: corpus => ({creation_date: corpus.creation_date,
description: corpus.description,
id: corpus.id,
"analyse-link": `/corpora/${corpus.id}/analyse`,
"analyse-link": ["analysing", "prepared", "start analysis"].includes(corpus.status) ? `/corpora/${corpus.id}/analyse` : "",
"edit-link": `/corpora/${corpus.id}`,
status: corpus.status,
title: corpus.title}),