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
254161c2
Commit
254161c2
authored
Mar 07, 2016
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Move confidential issue checkbox below the description field
parent
483808ae
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
8 deletions
+9
-8
app/views/shared/issuable/_form.html.haml
app/views/shared/issuable/_form.html.haml
+9
-8
No files found.
app/views/shared/issuable/_form.html.haml
View file @
254161c2
...
...
@@ -20,14 +20,6 @@
Start the title with
<code>
[WIP]
</code>
or
<code>
WIP:
</code>
to prevent a
<strong>
Work In Progress
</strong>
merge request from being merged before it's ready.
-
if
issuable
.
is_a?
(
Issue
)
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
label
:confidential
do
=
f
.
check_box
:confidential
This issue is confidential and should only be visible to team members
.form-group.detail-page-description
=
f
.
label
:description
,
'Description'
,
class:
'control-label'
.col-sm-10
...
...
@@ -38,6 +30,15 @@
=
render
'projects/notes/hints'
.clearfix
.error-alert
-
if
issuable
.
is_a?
(
Issue
)
.form-group
.col-sm-offset-2.col-sm-10
.checkbox
=
f
.
label
:confidential
do
=
f
.
check_box
:confidential
This issue is confidential and should only be visible to team members
-
if
can?
(
current_user
,
:"admin_
#{
issuable
.
to_ability_name
}
"
,
issuable
.
project
)
%hr
.form-group
...
...
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