From 1b50ac08c1a4737598e0e7d4ea9f32b07a49e09f Mon Sep 17 00:00:00 2001 From: Claire Date: Mon, 22 Feb 2021 18:26:24 +0100 Subject: Fix server rules not being displayed if extended server discription isn't set (#15778) --- app/views/about/more.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') diff --git a/app/views/about/more.html.haml b/app/views/about/more.html.haml index 3c5f4f6f1..cd93b0f58 100644 --- a/app/views/about/more.html.haml +++ b/app/views/about/more.html.haml @@ -43,7 +43,7 @@ .column-3 = render 'application/flashes' - - if @contents.blank? && (!display_blocks? || @blocks&.empty?) + - if @contents.blank? && @rules.empty? && (!display_blocks? || @blocks&.empty?) = nothing_here - else .box-widget -- cgit