Files
gitlabhq/app/views/projects/merge_requests/show/_mr_box.html.haml
T
Phil Hughes 3d99ffc862 Edited timeago text on comments
Unified the 'edited text' to be the same in descriptions and comments

Closes #5538
2016-03-10 08:39:47 +00:00

15 lines
581 B
Plaintext

.detail-page-description.content-block
%h2.title
= markdown escape_once(@merge_request.title), pipeline: :single_line
%div
- if @merge_request.description.present?
.description{class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : ''}
.wiki
= preserve do
= markdown(@merge_request.description, cache_key: [@merge_request, "description"])
%textarea.hidden.js-task-list-field
= @merge_request.description
= edited_time_ago_with_tooltip(@merge_request, placement: 'bottom')