BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
8e117f0e
Unverified
Commit
8e117f0e
authored
Nov 25, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Reduce strong html tag usage for dashboard events
Signed-off-by:
Dmitriy Zaporozhets
<
dmitriy.zaporozhets@gmail.com
>
parent
a5f7f5d8
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
6 deletions
+2
-6
events_helper.rb
app/helpers/events_helper.rb
+2
-6
No files found.
app/helpers/events_helper.rb
View file @
8e117f0e
...
...
@@ -102,15 +102,11 @@ module EventsHelper
end
elsif
event
.
note_project_snippet?
link_to
(
project_snippet_path
(
event
.
project
,
event
.
note_target
))
do
content_tag
:strong
do
"
#{
event
.
note_target_type
}
#
#{
truncate
event
.
note_target_id
}
"
end
"
#{
event
.
note_target_type
}
#
#{
truncate
event
.
note_target_id
}
"
end
else
link_to
event_note_target_path
(
event
)
do
content_tag
:strong
do
"
#{
event
.
note_target_type
}
#
#{
truncate
event
.
note_target_iid
}
"
end
"
#{
event
.
note_target_type
}
#
#{
truncate
event
.
note_target_iid
}
"
end
end
elsif
event
.
wall_note?
...
...
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