diff options
author | Phil Hughes <me@iamphill.com> | 2016-03-02 11:33:55 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2016-03-10 08:39:47 +0000 |
commit | 3d99ffc862b76c4dcc560aa8d8f4f9c1b7dd3f81 (patch) | |
tree | 7e6d6beaaece6348c9c1a5bac60505be914da016 /app/views/projects/issues | |
parent | 491ac7ce4b79c901e23799d2062f9f013f08c6c3 (diff) | |
download | gitlab-ce-3d99ffc862b76c4dcc560aa8d8f4f9c1b7dd3f81.tar.gz |
Edited timeago text on comments
Unified the 'edited text' to be the same in descriptions and comments
Closes #5538
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index 617b0437807..f507fd7f5b8 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -63,10 +63,7 @@ = markdown(@issue.description, cache_key: [@issue, "description"]) %textarea.hidden.js-task-list-field = @issue.description - - if @issue.updated_at != @issue.created_at - %small - Edited - = time_ago_with_tooltip(@issue.updated_at, placement: 'bottom', html_class: 'issue_edited_ago') + = edited_time_ago_with_tooltip(@issue, placement: 'bottom', html_class: 'issue_edited_ago') .merge-requests = render 'merge_requests' |