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
a2326c8a
Commit
a2326c8a
authored
Jul 21, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueNotesRefactor: kebab-case all Vue data bindings.
parent
787616d4
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
48 deletions
+48
-48
issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+4
-4
issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+12
-12
issue_note.vue
app/assets/javascripts/notes/components/issue_note.vue
+19
-19
issue_note_body.vue
app/assets/javascripts/notes/components/issue_note_body.vue
+9
-9
issue_note_edited_text.vue
...s/javascripts/notes/components/issue_note_edited_text.vue
+1
-1
issue_system_note.vue
...assets/javascripts/notes/components/issue_system_note.vue
+3
-3
No files found.
app/assets/javascripts/notes/components/issue_comment_form.vue
View file @
a2326c8a
...
...
@@ -161,10 +161,10 @@ export default {
<div
class=
"timeline-icon hidden-xs hidden-sm"
>
<user-avatar-link
v-if=
"author"
:link
H
ref=
"author.path"
:img
S
rc=
"author.avatar_url"
:img
A
lt=
"author.name"
:img
S
ize=
"40"
/>
:link
-h
ref=
"author.path"
:img
-s
rc=
"author.avatar_url"
:img
-a
lt=
"author.name"
:img
-s
ize=
"40"
/>
</div>
<div
class=
"js-main-target-form timeline-content timeline-content-form common-note-form"
>
<markdown-field
...
...
app/assets/javascripts/notes/components/issue_discussion.vue
View file @
a2326c8a
...
...
@@ -109,25 +109,25 @@ export default {
<div
class=
"timeline-entry-inner"
>
<div
class=
"timeline-icon"
>
<user-avatar-link
:link
H
ref=
"author.path"
:img
S
rc=
"author.avatar_url"
:img
A
lt=
"author.name"
:img
S
ize=
"40"
/>
:link
-h
ref=
"author.path"
:img
-s
rc=
"author.avatar_url"
:img
-a
lt=
"author.name"
:img
-s
ize=
"40"
/>
</div>
<div
class=
"timeline-content"
>
<div
class=
"discussion"
>
<div
class=
"discussion-header"
>
<issue-note-header
:author=
"author"
:created
A
t=
"discussion.created_at"
:note
I
d=
"discussion.id"
:include
T
oggle=
"true"
:toggle
H
andler=
"toggleDiscussion"
:created
-a
t=
"discussion.created_at"
:note
-i
d=
"discussion.id"
:include
-t
oggle=
"true"
:toggle
-h
andler=
"toggleDiscussion"
actionText=
"started a discussion"
/>
<issue-note-edited-text
v-if=
"note.last_updated_by"
:edited
A
t=
"note.last_updated_at"
:edited
B
y=
"note.last_updated_by"
:edited
-a
t=
"note.last_updated_at"
:edited
-b
y=
"note.last_updated_by"
actionText=
"Last updated"
className=
"discussion-headline-light js-discussion-headline"
/>
</div>
...
...
@@ -155,8 +155,8 @@ export default {
<issue-note-form
v-if=
"isReplying"
saveButtonTitle=
"Comment"
:update
H
andler=
"saveReply"
:cancel
H
andler=
"cancelReplyForm"
:update
-h
andler=
"saveReply"
:cancel
-h
andler=
"cancelReplyForm"
ref=
"noteForm"
/>
<issue-note-signed-out-widget
v-if=
"!canReply"
/>
</div>
...
...
app/assets/javascripts/notes/components/issue_note.vue
View file @
a2326c8a
...
...
@@ -121,35 +121,35 @@ export default {
<div
class=
"timeline-entry-inner"
>
<div
class=
"timeline-icon"
>
<user-avatar-link
:link
H
ref=
"author.path"
:img
S
rc=
"author.avatar_url"
:img
A
lt=
"author.name"
:img
S
ize=
"40"
/>
:link
-h
ref=
"author.path"
:img
-s
rc=
"author.avatar_url"
:img
-a
lt=
"author.name"
:img
-s
ize=
"40"
/>
</div>
<div
class=
"timeline-content"
>
<div
class=
"note-header"
>
<issue-note-header
:author=
"author"
:created
A
t=
"note.created_at"
:note
I
d=
"note.id"
:created
-a
t=
"note.created_at"
:note
-i
d=
"note.id"
actionText=
"commented"
/>
<issue-note-actions
:author
I
d=
"author.id"
:note
I
d=
"note.id"
:access
L
evel=
"note.human_access"
:can
E
dit=
"note.current_user.can_edit"
:can
D
elete=
"note.current_user.can_edit"
:can
ReportAsA
buse=
"canReportAsAbuse"
:report
AbuseP
ath=
"note.report_abuse_path"
:edit
H
andler=
"editHandler"
:delete
H
andler=
"deleteHandler"
/>
:author
-i
d=
"author.id"
:note
-i
d=
"note.id"
:access
-l
evel=
"note.human_access"
:can
-e
dit=
"note.current_user.can_edit"
:can
-d
elete=
"note.current_user.can_edit"
:can
-report-as-a
buse=
"canReportAsAbuse"
:report
-abuse-p
ath=
"note.report_abuse_path"
:edit
-h
andler=
"editHandler"
:delete
-h
andler=
"deleteHandler"
/>
</div>
<issue-note-body
:note=
"note"
:can
E
dit=
"note.current_user.can_edit"
:is
E
diting=
"isEditing"
:form
UpdateH
andler=
"formUpdateHandler"
:form
CancelH
andler=
"formCancelHandler"
:can
-e
dit=
"note.current_user.can_edit"
:is
-e
diting=
"isEditing"
:form
-update-h
andler=
"formUpdateHandler"
:form
-cancel-h
andler=
"formCancelHandler"
ref=
"noteBody"
/>
</div>
</div>
...
...
app/assets/javascripts/notes/components/issue_note_body.vue
View file @
a2326c8a
...
...
@@ -78,10 +78,10 @@ export default {
<issue-note-form
v-if=
"isEditing"
ref=
"noteForm"
:update
H
andler=
"handleFormUpdate"
:cancel
H
andler=
"formCancelHandler"
:note
B
ody=
"noteBody"
:note
I
d=
"note.id"
/>
:update
-h
andler=
"handleFormUpdate"
:cancel
-h
andler=
"formCancelHandler"
:note
-b
ody=
"noteBody"
:note
-i
d=
"note.id"
/>
<textarea
v-if=
"canEdit"
v-model=
"note.note"
...
...
@@ -89,14 +89,14 @@ export default {
class=
"hidden js-task-list-field"
></textarea>
<issue-note-edited-text
v-if=
"note.last_edited_by"
:edited
A
t=
"note.last_edited_at"
:edited
B
y=
"note.last_edited_by"
:edited
-a
t=
"note.last_edited_at"
:edited
-b
y=
"note.last_edited_by"
actionText=
"Edited"
/>
<issue-note-awards-list
v-if=
"note.award_emoji.length"
:note
I
d=
"note.id"
:note
AuthorI
d=
"note.author.id"
:note
-i
d=
"note.id"
:note
-author-i
d=
"note.author.id"
:awards=
"note.award_emoji"
:toggle
AwardP
ath=
"note.toggle_award_path"
/>
:toggle
-award-p
ath=
"note.toggle_award_path"
/>
</div>
</
template
>
app/assets/javascripts/notes/components/issue_note_edited_text.vue
View file @
a2326c8a
...
...
@@ -38,6 +38,6 @@ export default {
</a>
<time-ago-tooltip
:time=
"editedAt"
tooltip
P
lacement=
"bottom"
/>
tooltip
-p
lacement=
"bottom"
/>
</div>
</
template
>
app/assets/javascripts/notes/components/issue_system_note.vue
View file @
a2326c8a
...
...
@@ -45,9 +45,9 @@ export default {
<div
class=
"note-header"
>
<issue-note-header
:author=
"note.author"
:created
A
t=
"note.created_at"
:note
I
d=
"note.id"
:action
TextH
tml=
"note.note_html"
/>
:created
-a
t=
"note.created_at"
:note
-i
d=
"note.id"
:action
-text-h
tml=
"note.note_html"
/>
</div>
</div>
</div>
...
...
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