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
a353b253
Commit
a353b253
authored
Oct 09, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
add prop to hide modal footer
parent
87ca75a3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
app/assets/javascripts/boards/components/board_form.vue
app/assets/javascripts/boards/components/board_form.vue
+1
-4
app/assets/javascripts/vue_shared/components/popup_dialog.vue
...assets/javascripts/vue_shared/components/popup_dialog.vue
+7
-2
No files found.
app/assets/javascripts/boards/components/board_form.vue
View file @
a353b253
...
...
@@ -170,6 +170,7 @@ export default {
<
template
>
<popup-dialog
v-show=
"currentPage"
:hide-footer=
"readonly"
:title=
"title"
:primary-button-label=
"buttonText"
:kind=
"buttonKind"
...
...
@@ -261,9 +262,5 @@ export default {
</div>
</div>
</form>
<div
slot=
"footer"
v-if=
"readonly"
></div>
</popup-dialog>
</
template
>
app/assets/javascripts/vue_shared/components/popup_dialog.vue
View file @
a353b253
...
...
@@ -11,6 +11,11 @@ export default {
type
:
String
,
required
:
false
,
},
hideFooter
:
{
type
:
Boolean
,
required
:
false
,
default
:
false
,
},
kind
:
{
type
:
String
,
required
:
false
,
...
...
@@ -24,7 +29,7 @@ export default {
type
:
Boolean
,
required
:
false
,
default
:
false
,
}
}
,
},
computed
:
{
...
...
@@ -79,7 +84,7 @@ export default {
</slot>
</div>
<slot
name=
"footer"
>
<div
class=
"modal-footer"
>
<div
class=
"modal-footer"
v-if=
"!hideFooter"
>
<button
type=
"button"
class=
"btn pull-left"
...
...
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