helpers_update #1

Merged
a.fabrizio0a806 merged 27 commits from helpers_update into main 2024-10-15 15:42:14 +02:00
6 changed files with 20 additions and 0 deletions
Showing only changes of commit 4a6c16bec6 - Show all commits

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 %}