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
Jérome Perrin
gitlab-ce
Commits
bf753e99
Commit
bf753e99
authored
Jan 17, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Improve link to comment targets on dashboard
parent
309e2cea
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
4 deletions
+6
-4
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
+1
-1
app/views/events/event/_note.html.haml
app/views/events/event/_note.html.haml
+5
-3
No files found.
app/assets/stylesheets/gitlab_bootstrap/buttons.scss
View file @
bf753e99
.btn
{
.btn
{
@include
linear-gradient
(
#f7f7f7
,
#d5d5d5
);
@include
linear-gradient
(
#f7f7f7
,
#d5d5d5
);
border-color
:
#
aaa
;
border-color
:
#
BBB
;
&
:hover
{
&
:hover
{
@include
bg-gray-gradient
;
@include
bg-gray-gradient
;
border-color
:
#bbb
;
border-color
:
#bbb
;
...
...
app/views/events/event/_note.html.haml
View file @
bf753e99
.event-title
.event-title
%span
.author_name
=
link_to_author
event
%span
.author_name
=
link_to_author
event
%span
.event_label
commented on
#{
event
.
note_target_type
}
%span
.event_label
commented on
-
if
event
.
note_target
-
if
event
.
note_target
-
if
event
.
note_commit?
-
if
event
.
note_commit?
=
event
.
note_target_type
=
link_to
event
.
note_short_commit_id
,
project_commit_path
(
event
.
project
,
event
.
note_commit_id
),
class:
"commit_short_id"
=
link_to
event
.
note_short_commit_id
,
project_commit_path
(
event
.
project
,
event
.
note_commit_id
),
class:
"commit_short_id"
-
else
-
else
=
link_to
[
event
.
project
,
event
.
note_target
]
do
=
link_to
[
event
.
project
,
event
.
note_target
]
do
%strong
=
truncate
event
.
note_target_id
%strong
#{
event
.
note_target_type
}
##{truncate event.note_target_id}
-
elsif
event
.
wall_note?
-
elsif
event
.
wall_note?
-# nothing here
=
link_to
'wall'
,
wall_project_path
(
event
.
project
)
-
else
-
else
%strong
(deleted)
%strong
(deleted)
at
at
...
...
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