Films: Navigation bar adjustments #104429

Merged
Márton Lente merged 1 commits from pablovazquez/blender-studio:ui-film-nav-bar into main 2024-08-16 11:17:06 +02:00
Showing only changes of commit 7cf170e000 - Show all commits

View File

@ -14,20 +14,13 @@
<header class="navbar navbar-secondary" role="navigation"> <header class="navbar navbar-secondary" role="navigation">
<div class="container"> <div class="container">
<ul class="navbar-nav"> <ul class="navbar-nav">
<li class="nav-item nav-parent show-on-scroll" data-link="/">
<a class="nav-link" href="/">Home</a>
</li>
<li class="nav-item" data-link="{% url 'film-detail' film_slug=film.slug %}"> <li class="nav-item" data-link="{% url 'film-detail' film_slug=film.slug %}">
<a class="nav-link" href="{% url 'film-detail' film_slug=film.slug %}">{{ film.title }}</a> <a class="nav-link" href="{% url 'film-detail' film_slug=film.slug %}"><strong>{{ film.title }}</strong></a>
</li> </li>
<li class="nav-separator"><i class="i-chevron-right"></i></li>
<li class="nav-item {% if current_collection %}active{% endif %}" data-link="{% url 'film-gallery' film_slug=film.slug %}"> <li class="nav-item {% if current_collection %}active{% endif %}" data-link="{% url 'film-gallery' film_slug=film.slug %}">
<a class="nav-link" href="{% url 'film-gallery' film_slug=film.slug %}">Content Gallery</a> <a class="nav-link" href="{% url 'film-gallery' film_slug=film.slug %}">Content Gallery</a>
</li> </li>
{% for flatpage in film.flatpages.all %}
<li class="nav-item" data-link="{% url 'film-flatpage' film_slug=film.slug page_slug=flatpage.slug %}">
<a class="nav-link" href="{% url 'film-flatpage' film_slug=film.slug page_slug=flatpage.slug %}">{{ flatpage.title|title }}</a>
</li>
{% endfor %}
{% if film.show_production_logs_nav_link %} {% if film.show_production_logs_nav_link %}
<li class="nav-item {% if date_list or production_log.name %}active{% endif %}"> <li class="nav-item {% if date_list or production_log.name %}active{% endif %}">
<a class="nav-link" href="{% url 'film-production-logs' film_slug=film.slug %}">Production Logs</a> <a class="nav-link" href="{% url 'film-production-logs' film_slug=film.slug %}">Production Logs</a>
@ -38,6 +31,11 @@
</li> </li>
{% endif %} {% endif %}
{% endif %} {% endif %}
{% for flatpage in film.flatpages.all %}
<li class="nav-item" data-link="{% url 'film-flatpage' film_slug=film.slug page_slug=flatpage.slug %}">
<a class="nav-link" href="{% url 'film-flatpage' film_slug=film.slug page_slug=flatpage.slug %}">{{ flatpage.title|title }}</a>
</li>
{% endfor %}
{% if user_has_production_credit or credit %} {% if user_has_production_credit or credit %}
<li class="nav-item" data-link="{% url 'production-credit' film_slug=film.slug %}"> <li class="nav-item" data-link="{% url 'production-credit' film_slug=film.slug %}">
<a href="{% url 'production-credit' film_slug=film.slug %}" class="nav-link"> <a href="{% url 'production-credit' film_slug=film.slug %}" class="nav-link">