test footer

This commit is contained in:
Alessio Fabrizio 2024-10-08 15:38:23 +02:00
parent a86b9ef627
commit 4a6c16bec6
6 changed files with 20 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

BIN
ckanext/.DS_Store vendored Normal file

Binary file not shown.

BIN
ckanext/d4science/.DS_Store vendored Normal file

Binary file not shown.

View File

@ -6,4 +6,8 @@ def d4science_hello():
def get_helpers():
return {
"d4science_hello": d4science_hello,
"get_deliverable_type": get_deliverable_type
}
def get_deliverable_type():
return "This is a custom deliverable type!"

Binary file not shown.

After

Width:  |  Height:  |  Size: 82 KiB

View File

@ -0,0 +1,16 @@
{% ckan_extends %}
{% block footer_links %}
<img src="batman_logo.png" alt="test" />
{% endblock %}
{% block footer_links_ckan %}
{{ super() }}
<li><a href="">Some Link</a></li>
<li><a href="">Another Link</a></li>
{% endblock %}