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
1
Merge Requests
1
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
nexedi
gitlab-ce
Commits
3fd19685
Commit
3fd19685
authored
Jan 31, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
adacce89
ed6b49b1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
18 additions
and
3 deletions
+18
-3
app/assets/javascripts/ide/components/ide_status_bar.vue
app/assets/javascripts/ide/components/ide_status_bar.vue
+10
-3
app/assets/stylesheets/page_bundles/ide.scss
app/assets/stylesheets/page_bundles/ide.scss
+5
-0
spec/javascripts/ide/components/ide_status_bar_spec.js
spec/javascripts/ide/components/ide_status_bar_spec.js
+3
-0
No files found.
app/assets/javascripts/ide/components/ide_status_bar.vue
View file @
3fd19685
...
...
@@ -107,16 +107,23 @@ export default {
class=
"commit-sha"
>
{{
lastCommit
.
short_id
}}
</a
>
by
{{
lastCommit
.
author_name
}}
by
<user-avatar-image
css-classes=
"ide-status-avatar"
:size=
"18"
:img-src=
"latestPipeline && latestPipeline.commit.author_gravatar_url"
:img-alt=
"lastCommit.author_name"
:tooltip-text=
"lastCommit.author_name"
/>
{{
lastCommit
.
author_name
}}
<time
v-tooltip
:datetime=
"lastCommit.committed_date"
:title=
"tooltipTitle(lastCommit.committed_date)"
data-placement=
"top"
data-container=
"body"
>
{{
lastCommitFormatedAge
}}
</time
>
{{
lastCommitFormatedAge
}}
</time>
</div>
<div
v-if=
"file"
class=
"ide-status-file"
>
{{
file
.
name
}}
</div>
<div
v-if=
"file"
class=
"ide-status-file"
>
{{
file
.
eol
}}
</div>
...
...
app/assets/stylesheets/page_bundles/ide.scss
View file @
3fd19685
...
...
@@ -395,6 +395,11 @@ $ide-commit-header-height: 48px;
svg
{
vertical-align
:
sub
;
}
.ide-status-avatar
{
float
:
none
;
margin
:
0
0
1px
;
}
}
.ide-status-file
{
...
...
spec/javascripts/ide/components/ide_status_bar_spec.js
View file @
3fd19685
...
...
@@ -76,6 +76,9 @@ describe('ideStatusBar', () => {
icon
:
'
status_success
'
,
},
},
commit
:
{
author_gravatar_url
:
'
www
'
,
},
});
vm
.
$nextTick
()
...
...
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