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
a2fd7a5d
Commit
a2fd7a5d
authored
Sep 25, 2020
by
Amy Qualls (slowly returning after surgery)
Committed by
Andrew Fontaine
Sep 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Strip deprecations from last_commit.vue
Strip deprecated strings from this Vue file.
parent
14025583
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
8 deletions
+6
-8
app/assets/javascripts/repository/components/last_commit.vue
app/assets/javascripts/repository/components/last_commit.vue
+6
-8
No files found.
app/assets/javascripts/repository/components/last_commit.vue
View file @
a2fd7a5d
<
script
>
<
script
>
/* eslint-disable vue/no-v-html */
/* eslint-disable vue/no-v-html */
import
{
GlTooltipDirective
,
GlLink
,
Gl
DeprecatedButton
,
GlLoadingIcon
,
Gl
Icon
}
from
'
@gitlab/ui
'
;
import
{
GlTooltipDirective
,
GlLink
,
Gl
Button
,
GlLoading
Icon
}
from
'
@gitlab/ui
'
;
import
defaultAvatarUrl
from
'
images/no_avatar.png
'
;
import
defaultAvatarUrl
from
'
images/no_avatar.png
'
;
import
{
sprintf
,
s__
}
from
'
~/locale
'
;
import
{
sprintf
,
s__
}
from
'
~/locale
'
;
import
UserAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
import
UserAvatarLink
from
'
../../vue_shared/components/user_avatar/user_avatar_link.vue
'
;
...
@@ -13,13 +13,12 @@ import pathLastCommitQuery from '../queries/path_last_commit.query.graphql';
...
@@ -13,13 +13,12 @@ import pathLastCommitQuery from '../queries/path_last_commit.query.graphql';
export
default
{
export
default
{
components
:
{
components
:
{
GlIcon
,
UserAvatarLink
,
UserAvatarLink
,
TimeagoTooltip
,
TimeagoTooltip
,
ClipboardButton
,
ClipboardButton
,
CiIcon
,
CiIcon
,
GlLink
,
GlLink
,
Gl
Deprecated
Button
,
GlButton
,
GlLoadingIcon
,
GlLoadingIcon
,
},
},
directives
:
{
directives
:
{
...
@@ -123,15 +122,14 @@ export default {
...
@@ -123,15 +122,14 @@ export default {
class="commit-row-message item-title"
class="commit-row-message item-title"
v-html="commit.titleHtml"
v-html="commit.titleHtml"
/>
/>
<gl-
deprecated-
button
<gl-button
v-if=
"commit.descriptionHtml"
v-if=
"commit.descriptionHtml"
:class=
"
{ open: showDescription }"
:class=
"
{ open: showDescription }"
:aria-label="__('Show commit description')"
:aria-label="__('Show commit description')"
class="text-expander"
class="text-expander gl-vertical-align-bottom!"
icon="ellipsis_h"
@click="toggleShowDescription"
@click="toggleShowDescription"
>
/>
<gl-icon
name=
"ellipsis_h"
:size=
"10"
/>
</gl-deprecated-button>
<div
class=
"committer"
>
<div
class=
"committer"
>
<gl-link
<gl-link
v-if=
"commit.author"
v-if=
"commit.author"
...
...
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