Remove redundant js-timeago-pending from user activity log
This commit is contained in:
parent
08ab410f22
commit
eba024366b
|
@ -30,6 +30,7 @@ v 8.12.0 (unreleased)
|
|||
- Add last commit time to repo view (ClemMakesApps)
|
||||
- Added project specific enable/disable setting for LFS !5997
|
||||
- Don't expose a user's token in the `/api/v3/user` API (!6047)
|
||||
- Remove redundant js-timeago-pending from user activity log (ClemMakesApps)
|
||||
- Added tests for diff notes
|
||||
- Add a button to download latest successful artifacts for branches and tags !5142
|
||||
- Remove redundant pipeline tooltips (ClemMakesApps)
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
}
|
||||
|
||||
Activities.prototype.updateTooltips = function() {
|
||||
return gl.utils.localTimeAgo($('.js-timeago', '#activity'));
|
||||
return gl.utils.localTimeAgo($('.js-timeago', '.content_list'));
|
||||
};
|
||||
|
||||
Activities.prototype.reloadActivities = function() {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
- if event.visible_to_user?(current_user)
|
||||
.event-item{ class: event_row_class(event) }
|
||||
.event-item-timestamp
|
||||
#{time_ago_with_tooltip(event.created_at)}
|
||||
#{time_ago_with_tooltip(event.created_at, skip_js: true)}
|
||||
|
||||
= cache [event, current_application_settings, "v2.2"] do
|
||||
= author_avatar(event, size: 40)
|
||||
|
|
Loading…
Reference in New Issue