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
Boxiang Sun
gitlab-ce
Commits
e7a0e7f4
Commit
e7a0e7f4
authored
Nov 02, 2017
by
Alexander Randa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix webhook recent deliveries elapsed time field
parent
e54dd249
Changes
5
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
8 additions
and
3 deletions
+8
-3
app/views/admin/hook_logs/_index.html.haml
app/views/admin/hook_logs/_index.html.haml
+1
-1
app/views/projects/hook_logs/_index.html.haml
app/views/projects/hook_logs/_index.html.haml
+1
-1
app/views/shared/hook_logs/_content.html.haml
app/views/shared/hook_logs/_content.html.haml
+1
-1
changelogs/unreleased/39704_fix_webhooks_log_time.yml
changelogs/unreleased/39704_fix_webhooks_log_time.yml
+5
-0
doc/user/project/integrations/img/webhook_logs.png
doc/user/project/integrations/img/webhook_logs.png
+0
-0
No files found.
app/views/admin/hook_logs/_index.html.haml
View file @
e7a0e7f4
...
...
@@ -24,7 +24,7 @@
%td
=
truncate
(
hook_log
.
url
,
length:
50
)
%td
.light
#{
number_with_precision
(
hook_log
.
execution_duration
,
precision:
2
)
}
ms
#{
number_with_precision
(
hook_log
.
execution_duration
,
precision:
2
)
}
sec
%td
.light
=
time_ago_with_tooltip
(
hook_log
.
created_at
)
%td
...
...
app/views/projects/hook_logs/_index.html.haml
View file @
e7a0e7f4
...
...
@@ -24,7 +24,7 @@
%td
=
truncate
(
hook_log
.
url
,
length:
50
)
%td
.light
#{
number_with_precision
(
hook_log
.
execution_duration
,
precision:
2
)
}
ms
#{
number_with_precision
(
hook_log
.
execution_duration
,
precision:
2
)
}
sec
%td
.light
=
time_ago_with_tooltip
(
hook_log
.
created_at
)
%td
...
...
app/views/shared/hook_logs/_content.html.haml
View file @
e7a0e7f4
...
...
@@ -11,7 +11,7 @@
=
hook_log
.
trigger
.
singularize
.
titleize
%p
%strong
Elapsed time:
#{
number_with_precision
(
hook_log
.
execution_duration
,
precision:
2
)
}
ms
#{
number_with_precision
(
hook_log
.
execution_duration
,
precision:
2
)
}
sec
%p
%strong
Request time:
=
time_ago_with_tooltip
(
hook_log
.
created_at
)
...
...
changelogs/unreleased/39704_fix_webhooks_log_time.yml
0 → 100644
View file @
e7a0e7f4
---
title
:
Fix webhooks recent deliveries
merge_request
:
15146
author
:
Alexander Randa (@randaalex)
type
:
fixed
doc/user/project/integrations/img/webhook_logs.png
View replaced file @
e54dd249
View file @
e7a0e7f4
23.5 KB
|
W:
|
H:
129 KB
|
W:
|
H:
2-up
Swipe
Onion skin
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