Files
ofbiz-framework/themes/helveticus/template/macro/HtmlFormMacroLibrary.ftl
T
Nicolas Malin fe542cfee1 Improved: Tooltips overload labels (OFBIZ-12277)
Adding new method to display tooltip on overload when we have a mouse hover on icon information to reduce
 text quantity for optional information.

 Add some other improvement :
  * remove bold on dynamic lookup return to avoid constant moving display
  * escape error when on TopappBar if display apps are not present

Thanks to Marine Desmarchelier and Gil Portenseigne for their works
2021-08-20 17:42:54 +02:00

31 lines
1.1 KiB
Plaintext

<#--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you under the Apache License, Version 2.0 (the
"License"); you may not use this file except in compliance
with the License. You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing,
software distributed under the License is distributed on an
"AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, either express or implied. See the License for the
specific language governing permissions and limitations
under the License.
-->
<#include "component://common-theme/template/macro/HtmlFormMacroLibrary.ftl"/>
<#macro renderTooltip tooltip="" tooltipStyle="">
<#if tooltip?has_content>
<span class="tooltipContainer<#if tooltipStyle?has_content> ${tooltipStyle}<#else> tooltip</#if>">
${tooltip}
</span>
<i class="hidden"></i>
<#rt/>
</#if>
</#macro>