From 8ca30493822d60e5f8b5cc29502c1f8981eef683 Mon Sep 17 00:00:00 2001 From: John BOTELLA Date: Fri, 1 Mar 2019 12:06:25 +0100 Subject: [PATCH] update badge doc --- htdocs/theme/eldy/doc/badges.php | 20 +++++++++++++++++--- 1 file changed, 17 insertions(+), 3 deletions(-) diff --git a/htdocs/theme/eldy/doc/badges.php b/htdocs/theme/eldy/doc/badges.php index dc21afcb3cc..5a3666c83b3 100644 --- a/htdocs/theme/eldy/doc/badges.php +++ b/htdocs/theme/eldy/doc/badges.php @@ -282,9 +282,8 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php'; with html', 'warning', 'dot') ?>
-<?php print badgeHelper('your label for accessibility', ' your label with html', 'primary') ?>
-<?php print badgeHelper('your label for accessibility', ' your label with html', 'danger', 'pill') ?>
-<?php print badgeHelper('your label for accessibility', ' your label with html', 'warning', 'dot') ?>
+<?php print badgeHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'danger', 'pill') ?>
+<?php print badgeHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'warning', 'dot') ?>
 		

Use status helper function

@@ -307,6 +306,21 @@ require_once DOL_DOCUMENT_ROOT.'/core/lib/functions.lib.php';

with html', 'status4',3) ?>

global->MAIN_STATUS_USES_CSS = $saveGlobalConf; ?> + + +
+<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4') ?>
+<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',1) ?>
+<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',2) ?>
+<?php print statusHelper('your label for accessibility', 'your label <u>with</u> <em>html</em>', 'status4',3) ?>
+		
+ + + + + + +