Some style fixes
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<div class="calendarpage">
|
||||
{% if type == 'year' %}
|
||||
<h1 class="title">Календарь</h1>
|
||||
<h2 class="year">{{year_data.number}}</h2>
|
||||
<h2 class="year">Год {{year_data.number}}-й</h2>
|
||||
|
||||
<div class="calendar">
|
||||
{% for month in month_data %}
|
||||
@@ -25,7 +25,7 @@
|
||||
</div>
|
||||
{% elif type == 'day' %}
|
||||
<h1 class="title">Календарь — События</h1>
|
||||
<h2 class="year">Год {{year_data.number}}, {{month_data.name}}, день {{day}}-й</h2>
|
||||
<h2 class="year">Год {{year_data.number}}-й, {{month_data.name}}{% if not month_data.is_oneday %}, день {{day}}-й{% endif %}</h2>
|
||||
|
||||
<div class="calendar-events">
|
||||
{% if events.count == 0 %}
|
||||
|
||||
@@ -1,7 +1,13 @@
|
||||
<div class="month">
|
||||
<table class="month">
|
||||
<tr>
|
||||
<th colspan="10" class="title">{{month.name}}</th>
|
||||
<th colspan="10" class="title">
|
||||
{% if not month.is_oneday %}
|
||||
{{month.name}}
|
||||
{% else %}
|
||||
<a href="{{year_data.number}}/{{month.number}}/{{1}}">{{month.name}}</a>
|
||||
{% endif %}
|
||||
</th>
|
||||
</tr>
|
||||
{% if month.folkname %}
|
||||
<th colspan="10" class="subtitle">{{month.folkname}}</th>
|
||||
|
||||
Reference in New Issue
Block a user