Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
李少辉-开发者
gitlab-foss
提交
a2326c8a
G
gitlab-foss
项目概览
李少辉-开发者
/
gitlab-foss
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
G
gitlab-foss
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
a2326c8a
编写于
7月 21, 2017
作者:
F
Fatih Acet
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
IssueNotesRefactor: kebab-case all Vue data bindings.
上级
787616d4
变更
6
隐藏空白更改
内联
并排
Showing
6 changed file
with
48 addition
and
48 deletion
+48
-48
app/assets/javascripts/notes/components/issue_comment_form.vue
...ssets/javascripts/notes/components/issue_comment_form.vue
+4
-4
app/assets/javascripts/notes/components/issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+12
-12
app/assets/javascripts/notes/components/issue_note.vue
app/assets/javascripts/notes/components/issue_note.vue
+19
-19
app/assets/javascripts/notes/components/issue_note_body.vue
app/assets/javascripts/notes/components/issue_note_body.vue
+9
-9
app/assets/javascripts/notes/components/issue_note_edited_text.vue
...s/javascripts/notes/components/issue_note_edited_text.vue
+1
-1
app/assets/javascripts/notes/components/issue_system_note.vue
...assets/javascripts/notes/components/issue_system_note.vue
+3
-3
未找到文件。
app/assets/javascripts/notes/components/issue_comment_form.vue
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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
浏览文件 @
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>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录