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
59a6f15c
Commit
59a6f15c
authored
Oct 02, 2017
by
Luke "Jared" Bennett
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Further review changes
parent
00ee7a9f
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+3
-4
app/assets/javascripts/notes/components/issue_note_form.vue
app/assets/javascripts/notes/components/issue_note_form.vue
+3
-3
app/assets/javascripts/notes/mixins/issuable_state.js
app/assets/javascripts/notes/mixins/issuable_state.js
+4
-4
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
59a6f15c
...
...
@@ -266,9 +266,9 @@
<div
class=
"error-alert"
></div>
<issue-warning
v-if=
"has
Issue
Warning(getIssueData)"
:is-locked=
"is
Issue
Locked(getIssueData)"
:is-confidential=
"is
Issue
Confidential(getIssueData)"
v-if=
"hasWarning(getIssueData)"
:is-locked=
"isLocked(getIssueData)"
:is-confidential=
"isConfidential(getIssueData)"
/>
<markdown-field
...
...
@@ -276,7 +276,6 @@
:markdown-docs-path=
"markdownDocsPath"
:quick-actions-docs-path=
"quickActionsDocsPath"
:add-spacing-classes=
"false"
:is-confidential-issue=
"isIssueConfidential(getIssueData)"
ref=
"markdownField"
>
<textarea
id=
"note-body"
...
...
app/assets/javascripts/notes/components/issue_note_form.vue
View file @
59a6f15c
...
...
@@ -129,9 +129,9 @@
class=
"edit-note common-note-form js-quick-submit gfm-form"
>
<issue-warning
v-if=
"has
Issue
Warning(getIssueData)"
:is-locked=
"is
Issue
Locked(getIssueData)"
:is-confidential=
"is
Issue
Confidential(getIssueData)"
v-if=
"hasWarning(getIssueData)"
:is-locked=
"isLocked(getIssueData)"
:is-confidential=
"isConfidential(getIssueData)"
/>
<markdown-field
...
...
app/assets/javascripts/notes/mixins/issuable_state.js
View file @
59a6f15c
export
default
{
methods
:
{
is
Issue
Confidential
(
issue
)
{
isConfidential
(
issue
)
{
return
!!
issue
.
confidential
;
},
is
Issue
Locked
(
issue
)
{
isLocked
(
issue
)
{
return
!!
issue
.
discussion_locked
;
},
has
Issue
Warning
(
issue
)
{
return
this
.
is
IssueConfidential
(
issue
)
||
this
.
isIssue
Locked
(
issue
);
hasWarning
(
issue
)
{
return
this
.
is
Confidential
(
issue
)
||
this
.
is
Locked
(
issue
);
},
},
};
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