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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
9e9f0551
Commit
9e9f0551
authored
Sep 09, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move commits dates to left
parent
b349af20
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
24 additions
and
7 deletions
+24
-7
app/assets/stylesheets/sections/commits.scss
app/assets/stylesheets/sections/commits.scss
+15
-0
app/views/projects/commits/_commits.html.haml
app/views/projects/commits/_commits.html.haml
+9
-7
No files found.
app/assets/stylesheets/sections/commits.scss
View file @
9e9f0551
...
@@ -374,6 +374,15 @@
...
@@ -374,6 +374,15 @@
min-width
:
65px
;
min-width
:
65px
;
font-family
:
$monospace_font
;
font-family
:
$monospace_font
;
}
}
.row_title
{
font-weight
:
bold
;
color
:
#444
;
&
:hover
{
color
:
#444
;
text-decoration
:
underline
;
}
}
}
}
.file-stats
a
{
.file-stats
a
{
...
@@ -496,3 +505,9 @@ li.commit {
...
@@ -496,3 +505,9 @@ li.commit {
font-weight
:
bold
;
font-weight
:
bold
;
}
}
}
}
.commits-row
{
padding-bottom
:
10px
;
margin-bottom
:
10px
;
border-bottom
:
1px
solid
#DDD
;
}
app/views/projects/commits/_commits.html.haml
View file @
9e9f0551
-
@commits
.
group_by
{
|
c
|
c
.
committed_date
.
to_date
}.
sort
.
reverse
.
each
do
|
day
,
commits
|
-
@commits
.
group_by
{
|
c
|
c
.
committed_date
.
to_date
}.
sort
.
reverse
.
each
do
|
day
,
commits
|
.ui-box.small-box
.row.commits-row
.title
.span2
%h4
%i
.icon-calendar
%i
.icon-calendar
%span
=
day
.
stamp
(
"28 Aug, 2010"
)
%span
=
day
.
stamp
(
"28 Aug, 2010"
)
.pull-right
%p
=
pluralize
(
commits
.
count
,
'commit'
)
%small
=
pluralize
(
commits
.
count
,
'commit'
)
.span10
%ul
.well-list
=
render
commits
,
project:
@project
%ul
.well-list
=
render
commits
,
project:
@project
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