debian-mirror-gitlab/app/views/projects/merge_requests/_description.html.haml

10 lines
395 B
Text
Raw Normal View History

2020-01-01 13:55:28 +05:30
%div
- if @merge_request.description.present?
.description.qa-description{ class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : '' }
.md
= markdown_field(@merge_request, :description)
%textarea.hidden.js-task-list-field
= @merge_request.description
= edited_time_ago_with_tooltip(@merge_request, placement: 'bottom')