diff --git a/app/views/applications/show.html.erb b/app/views/applications/show.html.erb index 7d35eb120..4bcfe05dc 100644 --- a/app/views/applications/show.html.erb +++ b/app/views/applications/show.html.erb @@ -57,18 +57,20 @@
<%= render "applications/scraped_and_received_text", application: @application %>
- <%# TODO: Do we show the notified line if nobody has been notified? %> -
-
- <%= image_tag "letter.svg", width: 24, alt: "" %> -
Notified
-
-
- <%# TODO: The link in notified text should go to the new alert sign up page %> - <%# TODO: Should we have the link at all now? %> -
- <%= render "applications/notified_text", application: @application %> -
+ <%# Only show the notified line if people have been notified %> + <% if @application.no_alerted %> +
+
+ <%= image_tag "letter.svg", width: 24, alt: "" %> +
Notified
+
+
+ <%# TODO: The link in notified text should go to the new alert sign up page %> + <%# TODO: Should we have the link at all now? %> +
+ <%= render "applications/notified_text", application: @application %> +
+ <% end %> <%# TODO: What to do if there are 0 comments? %>