Removed tag attribute which are no longer useful

remotes/origin/master
echarp 4 years ago
parent 876f325633
commit 31c619a8b4
  1. 4
      app/views/events/index.html.haml
  2. 9
      app/views/simple_calendar/_month_calendar.html.haml

@ -1,9 +1,9 @@
- if params[:year]
%header.calendar-header.year
= link_to year: params[:year].to_i - 1, tag: params[:tag] do
= link_to year: params[:year].to_i - 1 do
%em.fa.fa-backward
= params[:year]
= link_to year: params[:year].to_i + 1, tag: params[:tag] do
= link_to year: params[:year].to_i + 1 do
%em.fa.fa-forward
:ruby
set_meta_tags(

@ -1,17 +1,14 @@
%header.calendar-header
- if params[:year]
= link_to start_date: start_date.beginning_of_month,
tag: params[:tag] do
= link_to start_date: start_date.beginning_of_month do
= I18n.t('date.month_names')[start_date.month]
= start_date.year
- else
= link_to '<<', start_date: (date_range.first - 1.day).beginning_of_month,
tag: params[:tag]
= link_to '<<', start_date: (date_range.first - 1.day).beginning_of_month
= I18n.t('date.month_names')[start_date.month]
= link_to root_path(year: start_date.year) do
= start_date.year
= link_to '>>', start_date: (date_range.last + 1.day).beginning_of_month,
tag: params[:tag]
= link_to '>>', start_date: (date_range.last + 1.day).beginning_of_month
%table.table.table-striped
%thead

Loading…
Cancel
Save