Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Tatuya Kamada
gitlab-ce
Commits
0d3fb680
Commit
0d3fb680
authored
Jan 26, 2017
by
Jose Ivan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Added ltr direction for the calendar contribution month row
parent
27a3505e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
app/assets/javascripts/users/calendar.js
app/assets/javascripts/users/calendar.js
+2
-2
No files found.
app/assets/javascripts/users/calendar.js
View file @
0d3fb680
...
...
@@ -88,7 +88,7 @@
var
lastMonth
,
lastMonthX
,
month
,
x
;
if
(
a
===
0
&&
stamp
.
day
===
0
)
{
month
=
stamp
.
date
.
getMonth
();
x
=
(
_this
.
daySizeWithSpace
*
i
+
4
1
)
+
_this
.
daySizeWithSpace
;
x
=
(
_this
.
daySizeWithSpace
*
i
+
1
)
+
_this
.
daySizeWithSpace
;
lastMonth
=
_
.
last
(
_this
.
months
);
if
(
lastMonth
!=
null
)
{
lastMonthX
=
lastMonth
.
x
;
...
...
@@ -158,7 +158,7 @@
};
Calendar
.
prototype
.
renderMonths
=
function
()
{
return
this
.
svg
.
append
(
'
g
'
).
selectAll
(
'
text
'
).
data
(
this
.
months
).
enter
().
append
(
'
text
'
).
attr
(
'
x
'
,
function
(
date
)
{
return
this
.
svg
.
append
(
'
g
'
).
attr
(
'
direction
'
,
'
ltr
'
).
selectAll
(
'
text
'
).
data
(
this
.
months
).
enter
().
append
(
'
text
'
).
attr
(
'
x
'
,
function
(
date
)
{
return
date
.
x
;
}).
attr
(
'
y
'
,
10
).
attr
(
'
class
'
,
'
user-contrib-text
'
).
text
((
function
(
_this
)
{
return
function
(
date
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment