Merge branch 'fix-missing-day-in-network-graph' into 'master'
Fix missing date of month in network graph when commits span a month Closes #3635, #1383 Before: ![image](/uploads/6a169e0cd402cb26f3a2cf13bd0ecc88/image.png) After: ![image](/uploads/2600a454394383660a1e50a4a1ba1204/image.png) See merge request !2325
This commit is contained in:
commit
8d0886d6d0
|
@ -1,6 +1,7 @@
|
|||
Please view this file on the master branch, on stable branches it's out of date.
|
||||
|
||||
v 8.4.0 (unreleased)
|
||||
- Fix missing date of month in network graph when commits span a month (Stan Hu)
|
||||
- Expire view caches when application settings change (e.g. Gravatar disabled) (Stan Hu)
|
||||
- Don't notify users twice if they are both project watchers and subscribers (Stan Hu)
|
||||
- Implement new UI for group page
|
||||
|
|
|
@ -66,7 +66,7 @@ class @BranchGraph
|
|||
r.rect(40, 0, 30, @barHeight).attr fill: "#444"
|
||||
|
||||
for day, mm in @days
|
||||
if cuday isnt day[0]
|
||||
if cuday isnt day[0] || cumonth isnt day[1]
|
||||
# Dates
|
||||
r.text(55, @offsetY + @unitTime * mm, day[0])
|
||||
.attr(
|
||||
|
|
Loading…
Reference in New Issue