diff options
author | Taurie Davis <taurie@gitlab.com> | 2017-04-25 17:13:59 +0000 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-04-25 17:13:59 +0000 |
commit | 4a972aa2293af24f5b1a343b073acd9c1b18ca97 (patch) | |
tree | 3aa339ba1464d5a32de8c258e12b8f0f687f3c91 /app/views/projects | |
parent | 226e184d6ae5d249016acbd0661e94b006193da9 (diff) | |
download | gitlab-ce-4a972aa2293af24f5b1a343b073acd9c1b18ca97.tar.gz |
Resolve "Clean up padding with Markdown headers"
Diffstat (limited to 'app/views/projects')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 2 | ||||
-rw-r--r-- | app/views/projects/milestones/show.html.haml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index fcbd8829595..4d56aa214e2 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -50,7 +50,7 @@ = link_to 'Edit', edit_namespace_project_issue_path(@project.namespace, @project, @issue), class: 'hidden-xs hidden-sm btn btn-grouped issuable-edit' .issue-details.issuable-details - .detail-page-description.content-block{ class: ('hide-bottom-border' unless @issue.description.present? ) } + .detail-page-description.content-block .issue-title-data.hidden{ "data" => { "initial-title" => markdown_field(@issue, :title), "endpoint" => rendered_title_namespace_project_issue_path(@project.namespace, @project, @issue), } } diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml index e8c9d7f8429..33bbbd9a3f8 100644 --- a/app/views/projects/milestones/show.html.haml +++ b/app/views/projects/milestones/show.html.haml @@ -36,7 +36,7 @@ %a.btn.btn-default.btn-grouped.pull-right.visible-xs-block.js-sidebar-toggle{ href: "#" } = icon('angle-double-left') - .detail-page-description.milestone-detail{ class: ('hide-bottom-border' unless @milestone.description.present? ) } + .detail-page-description.milestone-detail %h2.title = markdown_field(@milestone, :title) %div |