{% extends "almanac/sg-base.html" %}

{% block title %} Almanac - {{chart}} {% endblock %}

{% block flag %}
    <h1>Compass Almanac</h1>
{% endblock %}

{% block content %}
<div id="tide">
  <h1>Compass Alamanc</h1>
  <h2><span class="alamanc_town">{{chart.place.point.town.name}} Tides, Sun &amp; Moon</span> - {% ifnotequal start_date.month end_date.month %}{{start_date|date:"F"}}/{% endifnotequal %}{{second_end_date|date:"F, Y"}}</h2>
  {% load typogrify humanize almanac_tags %}
	<div id="seasonal-guide" class="first">
    {% for day in first_day_set.all %}
    <table id="guide" >
      <tr class="sg-row" valign="top">
	{% show_tide_day_as_box day %}
      </tr>
    </table>
    {% endfor %}
  </div>
  <div id="seasonal-guide" class="second" >
    {% for day in second_day_set.all %}
    <table id="guide">
      <tr class="sg-row" valign="top">
	{% show_tide_day_as_box day %}      
      </tr>
    </table>
    {% endfor %}
  </div>
</div>
{% endblock %}

{% block sidebar %}

{% endblock %}
