From 410fe87045cf21a0439a191f4be581ce407ce828 Mon Sep 17 00:00:00 2001 From: Andy Allan Date: Thu, 19 Dec 2019 17:50:22 +0100 Subject: [PATCH] Use a warning alert for reporting new issues This removes custom colouring for the alert. The list overrides need to stay until we unpick more of our custom styling. --- app/assets/stylesheets/_bootstrap-custom.scss | 2 +- app/assets/stylesheets/common.scss | 6 ------ app/views/reports/new.html.erb | 2 +- 3 files changed, 2 insertions(+), 8 deletions(-) diff --git a/app/assets/stylesheets/_bootstrap-custom.scss b/app/assets/stylesheets/_bootstrap-custom.scss index 0cbec1a27..1c3629aa8 100644 --- a/app/assets/stylesheets/_bootstrap-custom.scss +++ b/app/assets/stylesheets/_bootstrap-custom.scss @@ -29,7 +29,7 @@ // @import "bootstrap/pagination"; // @import "bootstrap/badge"; // @import "bootstrap/jumbotron"; -// @import "bootstrap/alert"; +@import "bootstrap/alert"; // @import "bootstrap/progress"; // @import "bootstrap/media"; // @import "bootstrap/list-group"; diff --git a/app/assets/stylesheets/common.scss b/app/assets/stylesheets/common.scss index 6e73da63b..afe5324b2 100644 --- a/app/assets/stylesheets/common.scss +++ b/app/assets/stylesheets/common.scss @@ -2890,12 +2890,6 @@ input.richtext_title[type="text"] { } .report-disclaimer { - background: #fff1f0; - color: #d85030; - border-color: rgba(216, 80, 48, 0.3); - padding: 10px 20px; - margin-bottom: $lineheight; - ul { padding-left: $lineheight; margin-bottom: 0; diff --git a/app/views/reports/new.html.erb b/app/views/reports/new.html.erb index f152049ef..599456db2 100644 --- a/app/views/reports/new.html.erb +++ b/app/views/reports/new.html.erb @@ -2,7 +2,7 @@

<%= t ".title_html", :link => link_to(reportable_title(@report.issue.reportable), reportable_url(@report.issue.reportable)) %>

<% end %> -
+
<%= t(".disclaimer.intro") %>
  • <%= t(".disclaimer.not_just_mistake") %>
  • -- 2.39.5