
- Introduced risks/navigation_registry.py for central navigation registry - Added risks/templatetags/navigation.py to render registry entries - Created template fragment risks/templates/risks/_extra_nav.html - Updated README.md with integration instructions - Prepared risks/base.html to include extra navigation automatically
8 lines
No EOL
269 B
HTML
8 lines
No EOL
269 B
HTML
{% for item in extra_items %}
|
|
<div class="navbar-item has-dropdown is-hoverable">
|
|
<a class="navbar-link">{{ item.label }}</a>
|
|
<div class="navbar-dropdown">
|
|
<a class="navbar-item" href="{{ item.url }}">{{ item.label }} Übersicht</a>
|
|
</div>
|
|
</div>
|
|
{% endfor %} |