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
Kazuhiko Shiozaki
gitlab-ce
Commits
bc789718
Commit
bc789718
authored
Jul 28, 2012
by
randx
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Better visibility of event commit links & commits ids
parent
9a709f76
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
23 additions
and
9 deletions
+23
-9
app/assets/stylesheets/common.scss
app/assets/stylesheets/common.scss
+9
-0
app/assets/stylesheets/gitlab_bootstrap.scss
app/assets/stylesheets/gitlab_bootstrap.scss
+2
-1
app/assets/stylesheets/sections/commits.scss
app/assets/stylesheets/sections/commits.scss
+7
-0
app/assets/stylesheets/sections/issues.scss
app/assets/stylesheets/sections/issues.scss
+1
-4
app/views/commits/_commit.html.haml
app/views/commits/_commit.html.haml
+1
-1
app/views/events/_commit.html.haml
app/views/events/_commit.html.haml
+3
-3
No files found.
app/assets/stylesheets/common.scss
View file @
bc789718
...
...
@@ -337,6 +337,15 @@ p.time {
padding
:
15px
5px
;
&
:last-child
{
border
:none
}
.wll
:hover
{
background
:none
}
.event_commits
{
margin-top
:
5px
;
li
.commit
{
padding
:
5px
;
border
:none
;
}
}
}
.ico
{
...
...
app/assets/stylesheets/gitlab_bootstrap.scss
View file @
bc789718
...
...
@@ -18,7 +18,8 @@ a {
}
&
.lined
{
text-decoration
:underlined
;
text-decoration
:underline
;
&
:hover
{
text-decoration
:underline
;
}
}
&
.gray
{
...
...
app/assets/stylesheets/sections/commits.scss
View file @
bc789718
...
...
@@ -199,4 +199,11 @@
background
:
#FCEEC1
;
color
:
$style_color
;
}
.commit_short_id
{
float
:left
;
@extend
.lined
;
min-width
:
65px
;
font-family
:
'Menlo'
,
'Liberation Mono'
,
'Consolas'
,
'Courier New'
,
'andale mono'
,
'lucida console'
,
monospace
;
}
}
app/assets/stylesheets/sections/issues.scss
View file @
bc789718
...
...
@@ -32,15 +32,12 @@
p
{
padding-top
:
0
;
padding-bottom
:
2px
;
}
img
.avatar
{
width
:
32px
;
margin-top
:
4px
;
}
.row_title
{
padding
:
0px
;
padding-bottom
:
2px
;
}
}
}
app/views/commits/_commit.html.haml
View file @
bc789718
...
...
@@ -3,7 +3,7 @@
%p
%strong
=
link_to
"Browse Code »"
,
tree_project_ref_path
(
@project
,
commit
.
id
),
:class
=>
"right"
%p
%code
.left
=
link_to
commit
.
short_id
,
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
=
link_to
commit
.
short_id
(
8
),
project_commit_path
(
@project
,
:id
=>
commit
.
id
),
:class
=>
"commit_short_id"
%strong
.cgray
=
commit
.
author_name
–
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
"avatar"
,
:width
=>
16
...
...
app/views/events/_commit.html.haml
View file @
bc789718
-
commit
=
CommitDecorator
.
decorate
(
commit
)
%li
.wll.commit
%p
%code
.left
=
link_to
commit
.
short_id
,
project_commit_path
(
project
,
:id
=>
commit
.
id
)
%strong
.c
gray
=
commit
.
author_name
=
link_to
commit
.
short_id
(
8
),
project_commit_path
(
project
,
:id
=>
commit
.
id
),
:class
=>
"commit_short_id"
%strong
.c
dark
=
commit
.
author_name
–
=
image_tag
gravatar_icon
(
commit
.
author_email
),
:class
=>
"avatar"
,
:width
=>
16
=
link_to
truncate
(
commit
.
title
,
:length
=>
50
),
project_commit_path
(
project
,
:id
=>
commit
.
id
),
:class
=>
"row_title"
rescue
"--broken encoding"
=
truncate
(
commit
.
title
,
:length
=>
50
)
rescue
"--broken encoding"
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