Updated class names
authorThierry Florac <thierry.florac@onf.fr>
Fri, 28 Dec 2018 10:13:41 +0100
changeset 101 19635af1ecec
parent 100 a80822efae47
child 102 882b5db98946
Updated class names
src/pyams_thesaurus/zmi/templates/extract-tree.pt
src/pyams_thesaurus/zmi/templates/terms-tree.pt
--- a/src/pyams_thesaurus/zmi/templates/extract-tree.pt	Fri Dec 07 16:12:16 2018 +0100
+++ b/src/pyams_thesaurus/zmi/templates/extract-tree.pt	Fri Dec 28 10:13:41 2018 +0100
@@ -2,13 +2,13 @@
 	 tal:attributes="data-ams-tree-context tales:absolute_url(context)">
 	<ul role="tree">
 		<li tal:repeat="node view.tree" role="treeitem" class="parent_li">
-			<span class="label label-success"
+			<span class="label"
 				  tal:define="term node.context;
 							  url tales:absolute_url(term);"
 				  tal:attributes="data-ams-url string:${url}/properties.html;
-								  class string:label label-success ${node.css_class};"
+								  class string:label ${node.css_class};"
 				  data-toggle="modal">
-				<i class="fa fa-lg fa-plus-circle"
+				<i class="fa fa-fw fa-plus-circle"
 				   data-ams-click-handler="PyAMS_thesaurus.tree.expand"
 				   data-ams-stop-propagation="true"
 				   tal:condition="node.has_children"></i>
--- a/src/pyams_thesaurus/zmi/templates/terms-tree.pt	Fri Dec 07 16:12:16 2018 +0100
+++ b/src/pyams_thesaurus/zmi/templates/terms-tree.pt	Fri Dec 28 10:13:41 2018 +0100
@@ -51,13 +51,13 @@
 											   style string:color: #${extract.color};"></i>
 						</div>
 					</tal:loop>
-					<span class="label label-success"
+					<span class="label"
 						  tal:define="term node.context;
 									  url tales:absolute_url(term);"
 						  tal:attributes="data-ams-url string:${url}/properties.html;
-										  class string:label label-success ${node.css_class};"
+										  class string:label ${node.css_class};"
 						  data-toggle="modal">
-						<i class="fa fa-lg fa-plus-circle"
+						<i class="fa fa-fw fa-plus-circle"
 						   data-ams-click-handler="PyAMS_thesaurus.tree.expand"
 						   data-ams-stop-propagation="true"
 						   tal:condition="node.has_children"></i>