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
8411e5a4
Commit
8411e5a4
authored
Feb 19, 2020
by
Jose Vargas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Replace underscore for lodash in releases
parent
da0e5519
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
app/assets/javascripts/releases/components/app_edit.vue
app/assets/javascripts/releases/components/app_edit.vue
+2
-2
app/assets/javascripts/releases/components/release_block.vue
app/assets/javascripts/releases/components/release_block.vue
+2
-2
No files found.
app/assets/javascripts/releases/components/app_edit.vue
View file @
8411e5a4
<
script
>
<
script
>
import
{
mapState
,
mapActions
}
from
'
vuex
'
;
import
{
mapState
,
mapActions
}
from
'
vuex
'
;
import
{
GlButton
,
GlFormInput
,
GlFormGroup
}
from
'
@gitlab/ui
'
;
import
{
GlButton
,
GlFormInput
,
GlFormGroup
}
from
'
@gitlab/ui
'
;
import
_
from
'
underscore
'
;
import
{
escape
as
esc
}
from
'
lodash
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
{
__
,
sprintf
}
from
'
~/locale
'
;
import
MarkdownField
from
'
~/vue_shared/components/markdown/field.vue
'
;
import
MarkdownField
from
'
~/vue_shared/components/markdown/field.vue
'
;
import
autofocusonshow
from
'
~/vue_shared/directives/autofocusonshow
'
;
import
autofocusonshow
from
'
~/vue_shared/directives/autofocusonshow
'
;
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
'
Changing a Release tag is only supported via Releases API. %{linkStart}More information%{linkEnd}
'
,
'
Changing a Release tag is only supported via Releases API. %{linkStart}More information%{linkEnd}
'
,
),
),
{
{
linkStart
:
`<a href="
${
_
.
escape
(
linkStart
:
`<a href="
${
esc
(
this
.
updateReleaseApiDocsPath
,
this
.
updateReleaseApiDocsPath
,
)}
" target="_blank" rel="noopener noreferrer">`
,
)}
" target="_blank" rel="noopener noreferrer">`
,
linkEnd
:
'
</a>
'
,
linkEnd
:
'
</a>
'
,
...
...
app/assets/javascripts/releases/components/release_block.vue
View file @
8411e5a4
<
script
>
<
script
>
import
_
from
'
underscore
'
;
import
{
isEmpty
}
from
'
lodash
'
;
import
$
from
'
jquery
'
;
import
$
from
'
jquery
'
;
import
{
slugify
}
from
'
~/lib/utils/text_utility
'
;
import
{
slugify
}
from
'
~/lib/utils/text_utility
'
;
import
{
getLocationHash
}
from
'
~/lib/utils/url_utility
'
;
import
{
getLocationHash
}
from
'
~/lib/utils/url_utility
'
;
...
@@ -64,7 +64,7 @@ export default {
...
@@ -64,7 +64,7 @@ export default {
return
!
this
.
glFeatures
.
releaseIssueSummary
;
return
!
this
.
glFeatures
.
releaseIssueSummary
;
},
},
shouldRenderMilestoneInfo
()
{
shouldRenderMilestoneInfo
()
{
return
Boolean
(
this
.
glFeatures
.
releaseIssueSummary
&&
!
_
.
isEmpty
(
this
.
release
.
milestones
));
return
Boolean
(
this
.
glFeatures
.
releaseIssueSummary
&&
!
isEmpty
(
this
.
release
.
milestones
));
},
},
},
},
...
...
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