Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorNur Rony <pro.nmrony@gmail.com>2016-10-24 10:58:46 +0300
committerNur Rony <pro.nmrony@gmail.com>2016-10-24 10:58:46 +0300
commit2fc2be9b7b8b80905acccbb74e4788a7e8a03f55 (patch)
tree2adc7a95cbed3ba78f4b448819443e61863f8d1b /app/views
parent884d49ea991322f6530b3281a980527cfb909bb7 (diff)
removes extra line for empty milestone description
Diffstat (limited to 'app/views')
-rw-r--r--app/views/projects/milestones/show.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/milestones/show.html.haml b/app/views/projects/milestones/show.html.haml
index c83818e9199..f9ba77e87b5 100644
--- a/app/views/projects/milestones/show.html.haml
+++ b/app/views/projects/milestones/show.html.haml
@@ -31,7 +31,7 @@
= link_to namespace_project_milestone_path(@project.namespace, @project, @milestone), data: { confirm: 'Are you sure?' }, method: :delete, class: "btn btn-grouped btn-danger" do
Delete
- .detail-page-description.milestone-detail
+ .detail-page-description.milestone-detail{ class: ('hide-bottom-border' unless @milestone.description.present? ) }
%h2.title
= markdown_field(@milestone, :title)
%div