aboutsummaryrefslogtreecommitdiffstats
path: root/app/helpers/time_tables_helper.rb
diff options
context:
space:
mode:
authorjpl2017-04-07 18:37:21 +0200
committerjpl2017-04-07 18:37:21 +0200
commit3a51497c578060b7919aeaa34195f25cc7b49901 (patch)
tree5ff895c359a4f67912af83e052d9a6cc16e4fdda /app/helpers/time_tables_helper.rb
parent9f1e47f9ece21b0a56b57f126ecb8ec60671af04 (diff)
downloadchouette-core-3a51497c578060b7919aeaa34195f25cc7b49901.tar.bz2
Refs #3076: improv. responsive behav. on calendars for tt#show
Diffstat (limited to 'app/helpers/time_tables_helper.rb')
-rw-r--r--app/helpers/time_tables_helper.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/helpers/time_tables_helper.rb b/app/helpers/time_tables_helper.rb
index e4253c180..b380a2b0a 100644
--- a/app/helpers/time_tables_helper.rb
+++ b/app/helpers/time_tables_helper.rb
@@ -54,7 +54,7 @@ module TimeTablesHelper
if (options[:month_header])
cal << %(<tr>)
- cal << %(<th scope="col"></th>)
+ cal << %(<th class='weekNumber' scope="col"></th>)
if options[:previous_month_text] or options[:next_month_text]
cal << %(<th colspan="2">#{options[:previous_month_text]}</th>)
colspan=3
@@ -67,7 +67,7 @@ module TimeTablesHelper
end
cal << %(<tr class="#{options[:day_name_class]}">)
- cal << %(<th scope="col"></th>)
+ cal << %(<th class='weekNumber' scope="col"></th>)
week_days.each do |wday|
cal << %(<th id="#{th_id(Date::DAYNAMES[wday], options[:table_id])}" scope="col">)