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
96e82ab4
Commit
96e82ab4
authored
Aug 13, 2020
by
Illya Klymov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add external link icon to repositories
parent
9289e85a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
14 additions
and
1 deletion
+14
-1
app/assets/javascripts/import_projects/components/imported_project_table_row.vue
...import_projects/components/imported_project_table_row.vue
+3
-0
app/assets/javascripts/import_projects/components/incompatible_repo_table_row.vue
...mport_projects/components/incompatible_repo_table_row.vue
+3
-1
app/assets/javascripts/import_projects/components/provider_repo_table_row.vue
...ts/import_projects/components/provider_repo_table_row.vue
+3
-0
changelogs/unreleased/xanf-add-external-link-icon-for-importers.yml
.../unreleased/xanf-add-external-link-icon-for-importers.yml
+5
-0
No files found.
app/assets/javascripts/import_projects/components/imported_project_table_row.vue
View file @
96e82ab4
<
script
>
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
ImportStatus
from
'
./import_status.vue
'
;
import
{
STATUSES
}
from
'
../constants
'
;
...
...
@@ -6,6 +7,7 @@ export default {
name
:
'
ImportedProjectTableRow
'
,
components
:
{
ImportStatus
,
GlIcon
,
},
props
:
{
project
:
{
...
...
@@ -36,6 +38,7 @@ export default {
class=
"js-provider-link"
>
{{
project
.
importSource
}}
<gl-icon
v-if=
"project.providerLink"
name=
"external-link"
/>
</a>
</td>
<td
class=
"js-full-path"
>
{{
displayFullPath
}}
</td>
...
...
app/assets/javascripts/import_projects/components/incompatible_repo_table_row.vue
View file @
96e82ab4
<
script
>
import
{
GlBadge
}
from
'
@gitlab/ui
'
;
import
{
Gl
Icon
,
Gl
Badge
}
from
'
@gitlab/ui
'
;
export
default
{
components
:
{
GlBadge
,
GlIcon
,
},
props
:
{
repo
:
{
...
...
@@ -19,6 +20,7 @@ export default {
<td>
<a
:href=
"repo.providerLink"
rel=
"noreferrer noopener"
target=
"_blank"
>
{{
repo
.
fullName
}}
<gl-icon
v-if=
"repo.providerLink"
name=
"external-link"
/>
</a>
</td>
<td></td>
...
...
app/assets/javascripts/import_projects/components/provider_repo_table_row.vue
View file @
96e82ab4
<
script
>
import
{
mapState
,
mapGetters
,
mapActions
}
from
'
vuex
'
;
import
{
GlIcon
}
from
'
@gitlab/ui
'
;
import
Select2Select
from
'
~/vue_shared/components/select2_select.vue
'
;
import
{
__
}
from
'
~/locale
'
;
import
eventHub
from
'
../event_hub
'
;
...
...
@@ -11,6 +12,7 @@ export default {
components
:
{
Select2Select
,
ImportStatus
,
GlIcon
,
},
props
:
{
repo
:
{
...
...
@@ -84,6 +86,7 @@ export default {
class=
"js-provider-link"
>
{{
repo
.
fullName
}}
<gl-icon
v-if=
"repo.providerLink"
name=
"external-link"
/>
</a>
</td>
<td
class=
"d-flex flex-wrap flex-lg-nowrap"
>
...
...
changelogs/unreleased/xanf-add-external-link-icon-for-importers.yml
0 → 100644
View file @
96e82ab4
---
title
:
Add external link icon to list of repositories in importer
merge_request
:
39442
author
:
type
:
added
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