BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
59a6f15c
Unverified
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
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
11 deletions
+10
-11
issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+3
-4
issue_note_form.vue
app/assets/javascripts/notes/components/issue_note_form.vue
+3
-3
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