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
93080b65
Commit
93080b65
authored
Jun 10, 2016
by
Phil Hughes
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Displays time remaining relative to now
parent
e0673f82
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
2 deletions
+9
-2
app/assets/javascripts/application.js.coffee
app/assets/javascripts/application.js.coffee
+0
-2
app/assets/javascripts/ci/build.coffee
app/assets/javascripts/ci/build.coffee
+9
-0
No files found.
app/assets/javascripts/application.js.coffee
View file @
93080b65
...
...
@@ -254,8 +254,6 @@ $ ->
.
on
"resize.app"
,
(
e
)
->
fitSidebarForSize
()
jQuery
.
timeago
.
settings
.
allowFuture
=
true
;
gl
.
awardsHandler
=
new
AwardsHandler
()
checkInitialSidebarSize
()
new
Aside
()
app/assets/javascripts/ci/build.coffee
View file @
93080b65
...
...
@@ -17,6 +17,8 @@ class @CiBuild
.
off
'resize.build'
.
on
'resize.build'
,
@
hideSidebar
@
updateArtifactRemoveDate
()
if
$
(
'#build-trace'
).
length
@
getInitialBuildTrace
()
@
initScrollButtonAffix
()
...
...
@@ -103,3 +105,10 @@ class @CiBuild
$
(
'.js-build-sidebar'
)
.
removeClass
'right-sidebar-collapsed'
.
addClass
'right-sidebar-expanded'
updateArtifactRemoveDate
:
->
$date
=
$
(
'.js-artifacts-remove'
)
if
$date
.
length
date
=
$date
.
text
()
$date
.
text
$
.
timefor
(
new
Date
(
date
),
' '
)
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