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
864fa5a9
Commit
864fa5a9
authored
Nov 24, 2017
by
Simon Knox
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
rename issue_note_attachment
parent
4ce19967
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
6 deletions
+6
-6
app/assets/javascripts/notes/components/issue_note_body.vue
app/assets/javascripts/notes/components/issue_note_body.vue
+3
-3
app/assets/javascripts/notes/components/note_attachment.vue
app/assets/javascripts/notes/components/note_attachment.vue
+1
-1
spec/javascripts/notes/components/note_attachment_spec.js
spec/javascripts/notes/components/note_attachment_spec.js
+2
-2
No files found.
app/assets/javascripts/notes/components/issue_note_body.vue
View file @
864fa5a9
<
script
>
import
noteEditedText
from
'
./note_edited_text.vue
'
;
import
issueNoteAwardsList
from
'
./issue_note_awards_list.vue
'
;
import
issueNoteAttachment
from
'
./issue_
note_attachment.vue
'
;
import
noteAttachment
from
'
./
note_attachment.vue
'
;
import
issueNoteForm
from
'
./issue_note_form.vue
'
;
import
TaskList
from
'
../../task_list
'
;
import
autosave
from
'
../mixins/autosave
'
;
...
...
@@ -28,7 +28,7 @@
components
:
{
noteEditedText
,
issueNoteAwardsList
,
issueN
oteAttachment
,
n
oteAttachment
,
issueNoteForm
,
},
computed
:
{
...
...
@@ -114,7 +114,7 @@
:awards=
"note.award_emoji"
:toggle-award-path=
"note.toggle_award_path"
/>
<
issue-
note-attachment
<note-attachment
v-if=
"note.attachment"
:attachment=
"note.attachment"
/>
...
...
app/assets/javascripts/notes/components/
issue_
note_attachment.vue
→
app/assets/javascripts/notes/components/note_attachment.vue
View file @
864fa5a9
<
script
>
export
default
{
name
:
'
issueN
oteAttachment
'
,
name
:
'
n
oteAttachment
'
,
props
:
{
attachment
:
{
type
:
Object
,
...
...
spec/javascripts/notes/components/
issue_
note_attachment_spec.js
→
spec/javascripts/notes/components/note_attachment_spec.js
View file @
864fa5a9
import
Vue
from
'
vue
'
;
import
issueNoteAttachment
from
'
~/notes/components/issue_
note_attachment.vue
'
;
import
noteAttachment
from
'
~/notes/components/
note_attachment.vue
'
;
describe
(
'
issue note attachment
'
,
()
=>
{
it
(
'
should render properly
'
,
()
=>
{
...
...
@@ -11,7 +11,7 @@ describe('issue note attachment', () => {
},
};
const
Component
=
Vue
.
extend
(
issueN
oteAttachment
);
const
Component
=
Vue
.
extend
(
n
oteAttachment
);
const
vm
=
new
Component
({
propsData
:
props
,
}).
$mount
();
...
...
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