gitlab-org--gitlab-foss/app/views/projects/merge_requests/_mr_box.html.haml

14 lines
493 B
Text
Raw Normal View History

.detail-page-description.content-block
%h2.title
= markdown_field(@merge_request, :title)
%div
- if @merge_request.description.present?
.description{ class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : '' }
.wiki
2017-04-28 10:57:17 -04:00
= markdown_field(@merge_request, :description)
%textarea.hidden.js-task-list-field
= @merge_request.description
= edited_time_ago_with_tooltip(@merge_request, placement: 'bottom')