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
70a322c5
Commit
70a322c5
authored
Aug 18, 2017
by
Fatih Acet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
IssueNotesRefactor: Support legacy last edited by case.
parent
4e77db39
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
11 additions
and
9 deletions
+11
-9
app/assets/javascripts/notes/components/issue_discussion.vue
app/assets/javascripts/notes/components/issue_discussion.vue
+1
-1
app/assets/javascripts/notes/components/issue_note_body.vue
app/assets/javascripts/notes/components/issue_note_body.vue
+1
-1
app/assets/javascripts/notes/components/issue_note_edited_text.vue
...s/javascripts/notes/components/issue_note_edited_text.vue
+9
-7
No files found.
app/assets/javascripts/notes/components/issue_discussion.vue
View file @
70a322c5
...
@@ -170,7 +170,7 @@
...
@@ -170,7 +170,7 @@
class=
"discussion"
class=
"discussion"
/>
/>
<issue-note-edited-text
<issue-note-edited-text
v-if=
"lastUpdated
By
"
v-if=
"lastUpdated
At
"
:edited-at=
"lastUpdatedAt"
:edited-at=
"lastUpdatedAt"
:edited-by=
"lastUpdatedBy"
:edited-by=
"lastUpdatedBy"
action-text=
"Last updated"
action-text=
"Last updated"
...
...
app/assets/javascripts/notes/components/issue_note_body.vue
View file @
70a322c5
...
@@ -99,7 +99,7 @@
...
@@ -99,7 +99,7 @@
:data-update-url=
"note.path"
:data-update-url=
"note.path"
class=
"hidden js-task-list-field"
></textarea>
class=
"hidden js-task-list-field"
></textarea>
<issue-note-edited-text
<issue-note-edited-text
v-if=
"note.last_edited_
by
"
v-if=
"note.last_edited_
at
"
:edited-at=
"note.last_edited_at"
:edited-at=
"note.last_edited_at"
:edited-by=
"note.last_edited_by"
:edited-by=
"note.last_edited_by"
action-text=
"Edited"
action-text=
"Edited"
...
...
app/assets/javascripts/notes/components/issue_note_edited_text.vue
View file @
70a322c5
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
},
},
editedBy
:
{
editedBy
:
{
type
:
Object
,
type
:
Object
,
required
:
tru
e
,
required
:
fals
e
,
},
},
className
:
{
className
:
{
type
:
String
,
type
:
String
,
...
@@ -35,11 +35,13 @@
...
@@ -35,11 +35,13 @@
:time=
"editedAt"
:time=
"editedAt"
tooltip-placement=
"bottom"
tooltip-placement=
"bottom"
/>
/>
by
<template
v-if=
"editedBy"
>
<a
by
:href=
"editedBy.path"
<a
class=
"js-vue-author author_link"
>
:href=
"editedBy.path"
{{
editedBy
.
name
}}
class=
"js-vue-author author_link"
>
</a>
{{
editedBy
.
name
}}
</a>
</
template
>
</div>
</div>
</template>
</template>
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