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
52f183ba
Commit
52f183ba
authored
Mar 02, 2016
by
Douglas Barbosa Alexandre
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change the label to make a issue confidential to one more clear
parent
6ce5f97e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
7 deletions
+9
-7
app/views/shared/issuable/_form.html.haml
app/views/shared/issuable/_form.html.haml
+9
-7
No files found.
app/views/shared/issuable/_form.html.haml
View file @
52f183ba
...
...
@@ -19,6 +19,15 @@
-
else
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
...
...
@@ -29,13 +38,6 @@
=
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
Make this issue confidential
-
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