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
1b20b656
Commit
1b20b656
authored
Jul 10, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
eee55aab
473d36d1
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
5 deletions
+48
-5
app/assets/javascripts/confidential_merge_request/components/project_form_group.vue
...fidential_merge_request/components/project_form_group.vue
+9
-1
app/assets/stylesheets/framework/dropdowns.scss
app/assets/stylesheets/framework/dropdowns.scss
+3
-2
spec/frontend/confidential_merge_request/components/__snapshots__/project_form_group_spec.js.snap
.../components/__snapshots__/project_form_group_spec.js.snap
+36
-2
No files found.
app/assets/javascripts/confidential_merge_request/components/project_form_group.vue
View file @
1b20b656
...
...
@@ -105,7 +105,7 @@ export default {
</
script
>
<
template
>
<div
class=
"form-group"
>
<div
class=
"
confidential-merge-request-fork-group
form-group"
>
<label>
{{
__
(
'
Project
'
)
}}
</label>
<div>
<dropdown
...
...
@@ -126,6 +126,14 @@ export default {
{{
__
(
'
No forks available to you.
'
)
}}
<br
/>
<span
v-html=
"noForkText"
></span>
</
template
>
<gl-link
:href=
"helpPagePath"
class=
"w-auto p-0 d-inline-block text-primary bg-transparent"
target=
"_blank"
>
<span
class=
"sr-only"
>
{{ __('Read more') }}
</span>
<i
class=
"fa fa-question-circle"
aria-hidden=
"true"
></i>
</gl-link>
</p>
</div>
</div>
...
...
app/assets/stylesheets/framework/dropdowns.scss
View file @
1b20b656
...
...
@@ -63,7 +63,8 @@
margin-top
:
11px
;
}
.dropdown-toggle
{
.dropdown-toggle
,
.confidential-merge-request-fork-group
.dropdown-toggle
{
padding
:
6px
8px
6px
10px
;
background-color
:
$white-light
;
color
:
$gl-text-color
;
...
...
@@ -288,7 +289,7 @@
padding
:
0
1px
;
a
,
button
:not
(
.dropdown-toggle
,
.ci-action-icon-container
)
,
button
,
.menu-item
{
@include
dropdown-link
;
}
...
...
spec/frontend/confidential_merge_request/components/__snapshots__/project_form_group_spec.js.snap
View file @
1b20b656
...
...
@@ -2,7 +2,7 @@
exports[`Confidential merge request project form group component renders empty state when response is empty 1`] = `
<div
class="form-group"
class="
confidential-merge-request-fork-group
form-group"
>
<label>
Project
...
...
@@ -28,6 +28,23 @@ exports[`Confidential merge request project form group component renders empty s
</a>
and set the forks visiblity to private.
</span>
<gllink-stub
class="w-auto p-0 d-inline-block text-primary bg-transparent"
href="/help"
target="_blank"
>
<span
class="sr-only"
>
Read more
</span>
<i
aria-hidden="true"
class="fa fa-question-circle"
/>
</gllink-stub>
</p>
</div>
</div>
...
...
@@ -35,7 +52,7 @@ exports[`Confidential merge request project form group component renders empty s
exports[`Confidential merge request project form group component renders fork dropdown 1`] = `
<div
class="form-group"
class="
confidential-merge-request-fork-group
form-group"
>
<label>
Project
...
...
@@ -61,6 +78,23 @@ exports[`Confidential merge request project form group component renders fork dr
</a>
and set the forks visiblity to private.
</span>
<gllink-stub
class="w-auto p-0 d-inline-block text-primary bg-transparent"
href="/help"
target="_blank"
>
<span
class="sr-only"
>
Read more
</span>
<i
aria-hidden="true"
class="fa fa-question-circle"
/>
</gllink-stub>
</p>
</div>
</div>
...
...
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