{% extends "generic.html" %} 
{% block heading %}{{ equipment }}{% endblock %}
{% block content %}
<div id="equipment" class="hostinfo">
	<table>
		<tbody>
			<tr><th>Project:</th><td>{% if equipment.allocation %}<a href="{% url hwdoc.views.project equipment.allocation.pk %}">{{ equipment.allocation.name }}</a>{% else %}-{% endif %}</td></tr>
		<tr><th>Model:</th><td>{{ equipment.model }}</td></tr>
		<tr><th>Serial:</th><td>{{ equipment.serial }}</td></tr>
		<tr><th>Rack Unit:</th><td>{{ equipment.rack|stringformat:"02d" }}{{ equipment.unit|stringformat:"02d" }}</td></tr>
		<tr><th>State:</th><td>{{ equipment.state }}</td></tr>
		<tr><th>Purpose:</th><td>{{ equipment.purpose }}</td></tr>
		<tr><th>OOB MAC:</th><td>{% if equipment.servermanagment %}{{ equipment.servermanagement.mac }}{% endif %}</td></tr>
		<tr><th>OOB Hostname:</th><td>{% if equipment.servermanagement %}{{ equipment.servermanagement.hostname }}{% endif %}</td></tr>
		</tbody>
	</table>
</div>
{% endblock %}

{% extends "generic.html" %} 
{% block heading %}{{ equipment }}{% endblock %}
{% block content %}
<div id="equipment" class="hostinfo">
	<table>
		<tbody>
			<tr><th>Project:</th><td>{% if equipment.allocation %}<a href="{% url hwdoc.views.project equipment.allocation.pk %}">{{ equipment.allocation.name }}</a>{% else %}-{% endif %}</td></tr>
		<tr><th>Model:</th><td>{{ equipment.model }}</td></tr>
		<tr><th>Serial:</th><td>{{ equipment.serial }}</td></tr>
		<tr><th>Rack Unit:</th><td>{{ equipment.rack|stringformat:"02d" }}{{ equipment.unit|stringformat:"02d" }}</td></tr>
		<tr><th>State:</th><td>{{ equipment.state }}</td></tr>
		<tr><th>Purpose:</th><td>{{ equipment.purpose }}</td></tr>
		<tr><th>OOB MAC:</th><td>{% if equipment.servermanagement %}{{ equipment.servermanagement.mac }}{% endif %}</td></tr>
		<tr><th>OOB Hostname:</th><td>{% if equipment.servermanagement %}{{ equipment.servermanagement.hostname }}{% endif %}</td></tr>
		</tbody>
	</table>
</div>
{% endblock %}

Fix bug with servermanagement mac address not being displayed
Fix bug with servermanagement mac address not being displayed
