{% extends "cavebase.html" %}

{% block title %}Recent Caves Index{% endblock %}

{% block content %}

<h1>Recent Caves Index</h1>
<h3>Notable caves</h3>
<ul>
{% for cave in notablecaves %}
  <li> {{ cave.areacode }} <a href="/{{ cave.url }}">
      {% if cave.kataster_number %}
          {{ cave.kataster_number }} <em>{{cave.official_name|safe}}</em></a> 
          {% if cave.unofficial_number %}
              ({{cave.unofficial_number }})
          {% endif %}
      {% else %}
          {{cave.unofficial_number }} <em>{{cave.official_name|safe}}</em></a> 
      {% endif %}
{% endfor %}
</ul>

{% include 'cave_red_star.html' %}
<p>
See <em><a href="/caves">All Caves</a></em> for all the caves in areas 1623, 1626, 1624, 1627 <br />
See <em><a href="/caves_undropped">Undropped Caves</a></em> for all unexplored caves

    <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
     
    </p>



<h3>This year's caves</h3>
<div style="column-count: 3; -moz-column-count: 3;">
{% for cave in caves_this_year %}
	{% include 'cavelist_columns.html' %}
{% endfor %}
</div>

<h3>Last year's caves</h3>
<div style="column-count: 3;-moz-column-count: 3">
{% for cave in caves_last_year %}
	{% include 'cavelist_columns.html' %}
{% endfor %}
</div>

<h3>Previous year's caves</h3>
<div style="column-count: 3;-moz-column-count: 3">
{% for cave in caves_previous_year %}
	{% include 'cavelist_columns.html' %}
{% endfor %}
</div>

<h3>The year before's caves</h3>
<div style="column-count: 3;-moz-column-count: 3">
{% for cave in caves_previous2_year %}
	{% include 'cavelist_columns.html' %}
{% endfor %}
</div>
<p>
See <em><a href="/caves">All Caves</a></em> for all the caves in areas 1623, 1626, 1624, 1627 
 
  <p style="text-align:right">
    <a href="{% url "newcave" %}">New Cave</a><br>
  
  </p>
{% endblock %}
