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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
b78f6581
Commit
b78f6581
authored
Nov 09, 2011
by
gitlabhq
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dashboard beautify
parent
a44e3292
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
27 additions
and
21 deletions
+27
-21
app/assets/stylesheets/projects.css.scss
app/assets/stylesheets/projects.css.scss
+18
-11
app/views/projects/_recent_commits.html.haml
app/views/projects/_recent_commits.html.haml
+3
-4
app/views/projects/_recent_messages.html.haml
app/views/projects/_recent_messages.html.haml
+6
-6
No files found.
app/assets/stylesheets/projects.css.scss
View file @
b78f6581
...
@@ -443,16 +443,6 @@ input.ssh_project_url {
...
@@ -443,16 +443,6 @@ input.ssh_project_url {
padding
:
10px
;
padding
:
10px
;
}
}
.commit
,
.message
{
.author
{
background
:
#eaeaea
;
color
:
#333
;
border
:
1px
solid
#aaa
;
padding
:
1px
2px
;
margin-right
:
5px
;
}
}
/* Note textare */
/* Note textare */
#note_note
{
#note_note
{
...
@@ -673,4 +663,21 @@ body.project-page #notes-list .note span.note-author strong{font-weight: bold; f
...
@@ -673,4 +663,21 @@ body.project-page #notes-list .note span.note-author strong{font-weight: bold; f
}
}
}
}
.message
.note-title
p
{
margin-bottom
:
0px
;
}
//.message .note-title p { margin-bottom:0px; }
.commit
,
.message
{
.title
{
color
:
#666
;
a
{
color
:
#666
!
important
;
}
p
{
margin-top
:
0px
;
}
}
.author
{
color
:
#999
}
}
app/views/projects/_recent_commits.html.haml
View file @
b78f6581
...
@@ -21,12 +21,11 @@
...
@@ -21,12 +21,11 @@
=
image_tag
gravatar_icon
(
commit
.
author
.
email
),
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
=
image_tag
gravatar_icon
(
commit
.
author
.
email
),
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
-
else
-
else
=
image_tag
"no_avatar.png"
,
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
=
image_tag
"no_avatar.png"
,
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
%p
{
:style
=>
"margin-bottom: 3px;"
}
.title
%strong
%p
=
link_to
truncate
(
commit
.
safe_message
,
:length
=>
fixed_mode?
?
40
:
100
),
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
=
link_to
truncate
(
commit
.
safe_message
,
:length
=>
fixed_mode?
?
40
:
100
),
project_commit_path
(
@project
,
:id
=>
commit
.
id
)
%span
%span
%span
.
note-
author
%span
.author
%strong
=
commit
.
author
.
name
.
force_encoding
(
"UTF-8"
)
%strong
=
commit
.
author
.
name
.
force_encoding
(
"UTF-8"
)
%cite
.cgray
%cite
.cgray
=
time_ago_in_words
(
commit
.
committed_date
)
=
time_ago_in_words
(
commit
.
committed_date
)
...
...
app/views/projects/_recent_messages.html.haml
View file @
b78f6581
...
@@ -13,15 +13,15 @@
...
@@ -13,15 +13,15 @@
%td
%td
%div
.message
%div
.message
=
image_tag
gravatar_icon
(
note
.
author_email
),
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
=
image_tag
gravatar_icon
(
note
.
author_email
),
:class
=>
"left"
,
:width
=>
40
,
:style
=>
"padding-right:5px;"
%div
.note-author
%div
.title
%strong
=
note
.
author_name
%cite
.cgray
=
time_ago_in_words
(
note
.
updated_at
)
ago
%div
.note-title
=
link_to
markdown
(
truncate
(
note
.
note
,
:length
=>
fixed_mode?
?
40
:
100
)),
dashboard_feed_path
(
@project
,
parent
)
+
"#note_
#{
note
.
id
}
"
=
link_to
markdown
(
truncate
(
note
.
note
,
:length
=>
fixed_mode?
?
40
:
100
)),
dashboard_feed_path
(
@project
,
parent
)
+
"#note_
#{
note
.
id
}
"
-
if
note
.
attachment
.
url
-
if
note
.
attachment
.
url
%br
%br
Attachment:
Attachment:
=
link_to
note
.
attachment_identifier
,
note
.
attachment
.
url
=
link_to
note
.
attachment_identifier
,
note
.
attachment
.
url
%div
.author
%strong
=
note
.
author_name
%cite
.cgray
=
time_ago_in_words
(
note
.
updated_at
)
ago
%br
%br
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