{% load i18n static localcosmos_tags template_content_tags %}

	<div id="ctype-{{ navigation|ctype_id }}-{{ navigation.id }}" class="card" style="width: 100%;">
		<div class="card-header">
			{{ navigation.navigation_type }}
		</div>
		<div class="card-body">
			<h5 class="card-title">
				<a href="{% url 'manage_template_content_navigation_entries' app.uid navigation.pk %}">
					{{ navigation }}
				</a>
			</h5>
			{% with localizeable_instance=navigation %}
				{% include 'template_content/ajax/translation_status_matrix.html' %}
			{% endwith %}
			<hr>
			{% include 'template_content/ajax/publication_feedback.html' %}
			<div class="btn-group dropup">
				<button type="button" class="btn btn-xs btn-outline-primary dropdown-toggle" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">
					{% trans 'Manage' %}
				</button>
				<div class="dropdown-menu">
					<a class="dropdown-item" href="{% url 'manage_template_content_navigation_entries' app.uid navigation.pk %}">{% trans 'Edit' %}</a>
					<a class="xhr dropdown-item" data-url="{% url 'manage_template_content_navigation' app.uid navigation.pk %}" ajax-target="ModalContent">{% trans 'Edit navigation type' %}</a>
					<div class="dropdown-divider"></div>
					<a href="{% url 'publish_template_content_navigation' app.uid navigation.pk %}" class="dropdown-item xhr" ajax-target="navigation-{{ navigation.id }}">{% trans 'Publish' %}</a>
					{% for language in app.secondary_languages %}
						<a class="dropdown-item" href="{% url 'translate_template_content_navigation' app.uid navigation.pk language %}">{% blocktrans %}Translate into {{ language }} {% endblocktrans %} <img src="{% static 'localcosmos_server/images/countries/' %}{{ language }}.gif" /></a>
					{% endfor %}
					<div class="dropdown-divider"></div>
					<a class="dropdown-item xhr" href="{% url 'delete_template_content_navigation' navigation.pk %}" ajax-target="ModalContent">{% trans 'Delete' %}</a>
				</div>
			</div>

		</div>
	</div>



	
