blob: 300b6f4a39aa47c96250b2cd3408e071ea564cf2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
exports[`Delete merged branches component Delete merged branches confirmation modal matches snapshot 1`] = `
<div>
<gl-base-dropdown-stub
category="tertiary"
class="gl-disclosure-dropdown"
data-qa-selector="delete_merged_branches_dropdown_button"
icon="ellipsis_v"
nocaret="true"
placement="right"
popperoptions="[object Object]"
size="medium"
textsronly="true"
toggleid="dropdown-toggle-btn-25"
toggletext=""
variant="default"
>
<ul
aria-labelledby="dropdown-toggle-btn-25"
class="gl-new-dropdown-contents"
data-testid="disclosure-content"
id="disclosure-26"
tabindex="-1"
>
<gl-disclosure-dropdown-item-stub
item="[object Object]"
/>
</ul>
</gl-base-dropdown-stub>
<div>
<form
action="/namespace/project/-/merged_branches"
method="post"
>
<p>
You are about to
<strong>
delete all branches
</strong>
that were merged into
<code>
master
</code>
.
</p>
<p>
This may include merged branches that are not visible on the current screen.
</p>
<p>
A branch won't be deleted if it is protected or associated with an open merge request.
</p>
<p>
This bulk action is
<strong>
permanent and cannot be undone or recovered
</strong>
.
</p>
<p>
Plese type the following to confirm:
<code>
delete
</code>
.
<b-form-input-stub
aria-labelledby="input-label"
autocomplete="off"
class="gl-form-input gl-mt-2 gl-form-input-sm"
data-qa-selector="delete_merged_branches_input"
debounce="0"
formatter="[Function]"
type="text"
value=""
/>
</p>
<input
name="_method"
type="hidden"
value="delete"
/>
<input
name="authenticity_token"
type="hidden"
value="mock-csrf-token"
/>
</form>
<div
class="gl-display-flex gl-flex-direction-row gl-justify-content-end gl-flex-wrap gl-m-0 gl-mr-3"
>
<b-button-stub
class="gl-button"
data-testid="delete-merged-branches-cancel-button"
size="md"
tag="button"
type="button"
variant="default"
>
<!---->
<!---->
<span
class="gl-button-text"
>
Cancel
</span>
</b-button-stub>
<b-button-stub
class="gl-button"
data-qa-selector="delete_merged_branches_confirmation_button"
data-testid="delete-merged-branches-confirmation-button"
disabled="true"
size="md"
tag="button"
type="button"
variant="danger"
>
<!---->
<!---->
<span
class="gl-button-text"
>
Delete merged branches
</span>
</b-button-stub>
</div>
</div>
</div>
`;
|