gitlab-org--gitlab-foss/app/views/projects/merge_requests/_mr_box.html.haml
Tomislav Nikic 103a631b8d
Created a refreshed create merge request suite
Created a refreshed test suite using api to improve speed.
This was done by adding qa tags to the merge request view.
2019-06-17 10:28:42 +02:00

13 lines
501 B
Text

.detail-page-description
%h2.title.qa-title
= markdown_field(@merge_request, :title)
%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')