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

14 lines
479 B
Text
Raw Normal View History

2018-11-08 19:23:39 +05:30
.detail-page-description
2015-12-23 02:04:40 +05:30
%h2.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?
2017-08-17 22:00:37 +05:30
.description{ class: can?(current_user, :update_merge_request, @merge_request) ? 'js-task-list-container' : '' }
2015-09-25 12:07:36 +05:30
.wiki
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')