Commit Graph

8 Commits

Author SHA1 Message Date
Go MAEDA
fdf468cdf7 Move calendar day classes to a helper (#27096).
Patch by Marius BALTEANU.


git-svn-id: http://svn.redmine.org/redmine/trunk@17797 e93f8b46-1217-0410-a6f0-8f06a7374b81
2019-01-14 05:16:33 +00:00
Go MAEDA
0f4fb452e7 Add right-click context menu in calendar (#28067).
Patch by Mizuki ISHIKAWA.


git-svn-id: http://svn.redmine.org/redmine/trunk@17186 e93f8b46-1217-0410-a6f0-8f06a7374b81
2018-01-30 08:03:00 +00:00
Jean-Philippe Lang
ed50d42210 Replace Date.today with User.current.today (#22320).
Depending on the offset between a user's configured timezone and the server
timezone, Date.today may be more or less often wrong from the user's
perspective, leading to things like issues marked as overdue too early or too
late, or yesterday / tomorrow being displayed / selected where 'today' is
intended.

A test case illustrating the problem with Issue#overdue? is included

Patch by Jens Kraemer.

git-svn-id: http://svn.redmine.org/redmine/trunk@15379 e93f8b46-1217-0410-a6f0-8f06a7374b81
2016-05-07 10:42:22 +00:00
Jean-Philippe Lang
b778c51e90 Removed unneeded #h calls in views.
git-svn-id: http://svn.redmine.org/redmine/trunk@14043 e93f8b46-1217-0410-a6f0-8f06a7374b81
2015-02-23 10:11:08 +00:00
Toshi MARUYAMA
576d333c2c Rails3: view: html_safe for common/_calendar.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@8307 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-12-21 03:40:06 +00:00
Toshi MARUYAMA
b900e1bb92 remove a trailing tab from app/views/common/_calendar.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7321 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 09:59:03 +00:00
Toshi MARUYAMA
de288bc1fe remove trailing white-spaces from app/views/common/_calendar.html.erb
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@7269 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-09-17 01:11:14 +00:00
Toshi MARUYAMA
86c8ae68da rename .rhtml to .html.erb of app/views/common/_calendar.rhtml.
:rhtml and :rxml were finally removed as template handlers at Rails 3.1 RC4.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@6545 e93f8b46-1217-0410-a6f0-8f06a7374b81
2011-08-24 00:04:57 +00:00