Updated hint position
authorThierry Florac <thierry.florac@onf.fr>
Thu, 08 Oct 2015 11:41:02 +0200
changeset 18 23ac4c21b235
parent 17 cbb60bf47bf3
child 19 6cb6acc05cc3
Updated hint position
src/pyams_thesaurus/widget/templates/term-input.pt
src/pyams_thesaurus/widget/templates/terms-list-input.pt
src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt
--- a/src/pyams_thesaurus/widget/templates/term-input.pt	Thu Oct 08 11:40:41 2015 +0200
+++ b/src/pyams_thesaurus/widget/templates/term-input.pt	Thu Oct 08 11:41:02 2015 +0200
@@ -3,6 +3,7 @@
 	<i class="icon-append fa fa-trash-o hint opaque"
 		title="Clear selected value" i18n:attributes="title"
 		tal:omit-tag="view/required"
+		data-ams-hint-gravity="se"
 		data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent"
--- a/src/pyams_thesaurus/widget/templates/terms-list-input.pt	Thu Oct 08 11:40:41 2015 +0200
+++ b/src/pyams_thesaurus/widget/templates/terms-list-input.pt	Thu Oct 08 11:41:02 2015 +0200
@@ -3,6 +3,7 @@
 	<i class="icon-append fa fa-trash-o hint opaque"
 		title="Clear selected values" i18n:attributes="title"
 		tal:omit-tag="view/required"
+		data-ams-hint-gravity="se"
 		data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<div class="select2-parent"
--- a/src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt	Thu Oct 08 11:40:41 2015 +0200
+++ b/src/pyams_thesaurus/widget/templates/terms-list-selector-input.pt	Thu Oct 08 11:41:02 2015 +0200
@@ -2,6 +2,7 @@
 	<i class="icon-append fa fa-trash-o hint opaque"
 		title="Clear selected values" i18n:attributes="title"
 		tal:omit-tag="view/required"
+		data-ams-hint-gravity="se"
 		data-ams-click-handler="MyAMS.helpers.select2ClearSelection"
 		tal:attributes="data-ams-select2-target view/name"></i>
 	<i class="icon-append icon-append-2 fa fa-th-list hint opaque"