Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactor MrListController and list.html #29

Merged
merged 1 commit into from
Jan 28, 2024
Merged

Refactor MrListController and list.html #29

merged 1 commit into from
Jan 28, 2024

Conversation

tttol
Copy link
Owner

@tttol tttol commented Jan 28, 2024

  • createdAtが1週間以上前の場合は作成日を黄色文字で強調表示するよう修正
  • createdAtが2週間以上前の場合は作成日を赤色文字で強調表示するよう修正(この場合、上述の黄色文字装飾は上書きされる)

Closes #28

This commit refactors the MrListController and list.html files. It adds two new model attributes in the MrListController and modifies the th:classappend attribute in list.html to apply different CSS classes based on the createdAt date.
@tttol tttol merged commit a8150bf into main Jan 28, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

作成から一定日数経過したMRを強調表示する
1 participant