Added seperate minerals detail page

This commit is contained in:
2014-01-21 21:43:23 +10:00
parent 07c6260bde
commit d5867c8d4a
6 changed files with 34 additions and 5 deletions

View File

@@ -0,0 +1,6 @@
{% extends "three_d_viewer/detail.html" %}
{% block pageheader %}
<h1>{{ 'MINERALS' }}</h1>
<p class="lead">{{ sample.description }}</p>
{% endblock %}

View File

@@ -8,7 +8,7 @@
{%endwith%}
{% endfor %}
{% for sample in category.active_samples %}
<li><a href="{% url 'three_d_viewer:detail' sample.id %}">{{ sample.name }}</a></li>
<li><a href={% url sample.url sample.id %}>{{ sample.name }}</a></li>
{% endfor %}
</ul>
</li>