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

14 lines
501 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
.detail-page-description
2019-09-04 21:01:54 +05:30
%h2.title.qa-title
2016-11-03 12:29:30 +05:30
= markdown_field(@merge_request, :title)
2014-09-02 18:07:02 +05:30
2015-09-25 12:07:36 +05:30
%div
- if @merge_request.description.present?
2019-09-04 21:01:54 +05:30
.description.qa-description{ class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : '' }
2019-07-07 11:18:12 +05:30
.md
2017-08-17 22:00:37 +05:30
= markdown_field(@merge_request, :description)
2015-09-25 12:07:36 +05:30
%textarea.hidden.js-task-list-field
= @merge_request.description
2016-04-02 18:10:28 +05:30
2016-06-02 11:05:42 +05:30
= edited_time_ago_with_tooltip(@merge_request, placement: 'bottom')