From: Benjamin Auder <benjamin.auder@somewhere>
Date: Wed, 8 Apr 2020 21:52:08 +0000 (+0200)
Subject: Do not show variant name when practicing against computer
X-Git-Url: https://git.auder.net/variants/Chakart/doc/scripts/pieces/css/common.css?a=commitdiff_plain;h=f76dd684a2738f98092cd8770146885cd423d2a9;p=vchess.git

Do not show variant name when practicing against computer
---

diff --git a/client/src/views/Rules.vue b/client/src/views/Rules.vue
index 367963c5..d02901a0 100644
--- a/client/src/views/Rules.vue
+++ b/client/src/views/Rules.vue
@@ -26,7 +26,7 @@ main
           | {{ st.tr["Analysis mode"] }}
   .row
     .col-sm-12.col-md-8.col-md-offset-2.col-lg-6.col-lg-offset-3
-      h4#variantName {{ gameInfo.vname }}
+      h4#variantName(v-show="display=='rules'") {{ gameInfo.vname }}
       div(
         v-show="display=='rules'"
         v-html="content"