{% extends 'infrastructure/base_detail.html' %}
{% load i18n %}
{% load url from future %}
{% block title %}{% trans "Node Detail"%}{% endblock %}

{% block page_header %}
  {% include "horizon/common/_page_header.html" with title=_("Node Detail") %}
{% endblock page_header %}

{% block breadcrumbs %}
  <div class="breadcrumbs">
    <a href="{% url 'horizon:infrastructure:resource_management:index' %}?tab=resource_management_tabs__resource_classes_tab" >Home</a>
    <span class="separator"></span>
    <a href="{% url 'horizon:infrastructure:resource_management:index' %}?tab=resource_management_tabs__racks_tab" >Racks</a>
    <span class="separator"></span>
    {% if tuskar_node.rack %}
      <a href="{% url 'horizon:infrastructure:resource_management:racks:detail' tuskar_node.rack_id %}">{{ tuskar_node.rack.name }}</a>
    {% else %}
      <a href="{% url 'horizon:infrastructure:resource_management:nodes:unracked' %}" >Unracked Nodes</a>
    {% endif %}
    <span class="separator"></span>
  </div>
{% endblock breadcrumbs %}

{% block name %}{{ tuskar_node.name }}{% endblock %}
