From 08dc9201cd9536849988b0cb28072b3264ddaf77 Mon Sep 17 00:00:00 2001 From: Laurent Bossavit Date: Fri, 27 Apr 2018 17:10:17 +0200 Subject: [PATCH] =?UTF-8?q?:alien:=20Traduction=20du=20breadcrumb=20de=20l?= =?UTF-8?q?a=20page=20de=20r=C3=A8gle?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- source/components/rule/Rule.js | 56 ++++++++++++++++++++++------------ 1 file changed, 36 insertions(+), 20 deletions(-) diff --git a/source/components/rule/Rule.js b/source/components/rule/Rule.js index f572f607d..570c68bb9 100644 --- a/source/components/rule/Rule.js +++ b/source/components/rule/Rule.js @@ -47,6 +47,7 @@ export default class Rule extends Component { description, question, rule, + flatRules, name, title }} @@ -123,10 +124,19 @@ let NamespaceRulesList = withColours( ) ) -let RuleMeta = ({ ns, type, description, question, rule, name, title }) => ( +let RuleMeta = ({ + ns, + type, + description, + question, + rule, + flatRules, + name, + title +}) => (
- {ns && } + {ns && }

{title || capitalise0(name)}

@@ -143,7 +153,7 @@ let RuleMeta = ({ ns, type, description, question, rule, name, title }) => (
) -export let Namespace = withColours(({ ns, colours }) => ( +export let Namespace = withColours(({ ns, flatRules, colours }) => (