diff --git a/_static/drag_drop.css b/_static/drag_drop.css index 1c6ff85..bed38fc 100644 --- a/_static/drag_drop.css +++ b/_static/drag_drop.css @@ -154,7 +154,7 @@ html[data-theme='dark'] .reset-button { .reset-button:hover { background: #00305e; - color: white; + color: white !important; } .feedback { diff --git a/quadriga/metadata/create_zenodo_json.py b/quadriga/metadata/create_zenodo_json.py index 3360a01..6cf96cb 100644 --- a/quadriga/metadata/create_zenodo_json.py +++ b/quadriga/metadata/create_zenodo_json.py @@ -183,7 +183,7 @@ def create_zenodo_json() -> bool | None: logger.error("No authors found in metadata.yml") return False - # description + # description - must exist in metadata or schema checks block it description = "

" + metadata.get("description") + "

" description_base = f""" diff --git a/quadriga/metadata/utils.py b/quadriga/metadata/utils.py index 36f3b38..5f0913e 100644 --- a/quadriga/metadata/utils.py +++ b/quadriga/metadata/utils.py @@ -552,15 +552,15 @@ def get_content_license(metadata: dict) -> str | None: """ license_data = metadata.get("license") if isinstance(license_data, str): - return license_data + return license_data.replace(" ", "-") if isinstance(license_data, dict) and "content" in license_data: content = license_data["content"] if isinstance(content, str): - return content + return content.replace(" ", "-") if isinstance(content, dict) and "name" in content: - return str(content["name"]) + return str(content["name"]).replace(" ", "-") if isinstance(content, list) and content: - return str(content[0]) + return str(content[0]).replace(" ", "-") return None