Project

General

Profile

Actions

Patch #41509

closed

Replace "even" and "odd" CSS classes with "this-month" and "other-month" for calendar days

Added by Go MAEDA about 1 month ago. Updated about 1 month ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Calendar
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:

Description

Currently, cells in the calendar use the "even" and "odd" CSS classes to set background colors that indicate whether a day belongs to the current month or another month. However, these class names are semantically inappropriate.

The attached patch replaces "even" and "odd" with "this-month" and "other-month" to provide more descriptive and semantically meaningful class names.


Files

calendar-day_css_classes.patch (1.42 KB) calendar-day_css_classes.patch Go MAEDA, 2024-10-20 01:24
41509-v2.patch (3.01 KB) 41509-v2.patch Go MAEDA, 2024-10-20 03:22

Related issues

Blocks Redmine - Feature #41500: Swap odd and even table row background colorsClosedGo MAEDA

Actions
Actions #1

Updated by Go MAEDA about 1 month ago

  • Blocks Feature #41500: Swap odd and even table row background colors added
Actions #2

Updated by Go MAEDA about 1 month ago

  • Description updated (diff)
Actions #3

Updated by Go MAEDA about 1 month ago

Setting the target version to 6.0.0.

Actions #4

Updated by Go MAEDA about 1 month ago

  • Status changed from New to Closed
  • Assignee set to Go MAEDA

Committed the patch in r23151.

Actions

Also available in: Atom PDF