about summary refs log tree commit diff
path: root/app
diff options
context:
space:
mode:
authorClaire <claire.github-309c@sitedethib.com>2021-02-22 18:26:24 +0100
committerGitHub <noreply@github.com>2021-02-22 18:26:24 +0100
commit1b50ac08c1a4737598e0e7d4ea9f32b07a49e09f (patch)
tree0784bec97150a836e34988abbbb0325de1b04d15 /app
parent2127f40e6bf6deab62f48030263c459d14fed364 (diff)
Fix server rules not being displayed if extended server discription isn't set (#15778)
Diffstat (limited to 'app')
-rw-r--r--app/views/about/more.html.haml2
1 files changed, 1 insertions, 1 deletions
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