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
b82870af
Commit
b82870af
authored
May 02, 2017
by
blackst0ne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add author to 'Edited time ago by ...' message
parent
323596f6
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
application_helper.rb
app/helpers/application_helper.rb
+1
-1
No files found.
app/helpers/application_helper.rb
View file @
b82870af
...
@@ -187,7 +187,7 @@ module ApplicationHelper
...
@@ -187,7 +187,7 @@ module ApplicationHelper
output
=
content_tag
(
:span
,
"Edited "
)
output
=
content_tag
(
:span
,
"Edited "
)
output
<<
time_ago_with_tooltip
(
object
.
updated_at
,
placement:
placement
,
html_class:
html_class
)
output
<<
time_ago_with_tooltip
(
object
.
updated_at
,
placement:
placement
,
html_class:
html_class
)
if
include_author
&&
object
.
updated_by
&&
object
.
updated_by
!=
object
.
author
if
include_author
&&
object
.
updated_by
output
<<
content_tag
(
:span
,
" by "
)
output
<<
content_tag
(
:span
,
" by "
)
output
<<
link_to_member
(
object
.
project
,
object
.
updated_by
,
avatar:
false
,
author_class:
nil
)
output
<<
link_to_member
(
object
.
project
,
object
.
updated_by
,
avatar:
false
,
author_class:
nil
)
end
end
...
...
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