diff options
author | Munyoki Kilyungi | 2023-11-03 17:25:37 +0300 |
---|---|---|
committer | BonfaceKilz | 2023-11-27 12:32:27 +0300 |
commit | 76ecc54760416fa32ff251d08a3d53d40b6a1cd6 (patch) | |
tree | 8cfedbdf44fb325629003288912e0e8ad67b096a | |
parent | 0d90c71c287a20a775a5dc8f197ac3646c02ff36 (diff) | |
download | genenetwork2-76ecc54760416fa32ff251d08a3d53d40b6a1cd6.tar.gz |
Float the details panel only when metadata exists.
Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
-rw-r--r-- | wqflask/wqflask/templates/dataset.html | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/wqflask/wqflask/templates/dataset.html b/wqflask/wqflask/templates/dataset.html index 244f529e..e910b37c 100644 --- a/wqflask/wqflask/templates/dataset.html +++ b/wqflask/wqflask/templates/dataset.html @@ -16,6 +16,13 @@ width: fit-content; height: fit-content; padding: 0; + {% if dataset.description or dataset.specificity or dataset.experimentDesignInfo or + dataset.caseInfo or dataset.tissue or + dataset.platform or dataset.processingInfo or + dataset.notes or dataset.references or dataset.acknowledgment or dataset.contributors + %} + float: right; + {% endif %} } .panel-metadata dt { |