app/soc/templates/soc/templatetags/_as_table_row.html
changeset 2561 2751a2462bb3
parent 2419 82ce842da661
child 2575 e319fd52cbc4
equal deleted inserted replaced
2560:a944c0169ad8 2561:2751a2462bb3
    52     </script>
    52     </script>
    53   {% endif %}
    53   {% endif %}
    54   {% if help_text %}
    54   {% if help_text %}
    55   <script type="text/javascript">
    55   <script type="text/javascript">
    56   $(document).ready( function() {
    56   $(document).ready( function() {
    57     var tooltip = "<div class='tooltip'><div class='tooltip-body'><img src='/soc/content/images/purrInfo.png' alt='' /><h3>Info</h3><p>{{ help_text }}</p></div><div class='tooltip-bottom'></div></div>";
    57     var tooltip = "<div class='tooltip'><div class='tooltip-body'><img src='/soc/content/images/purrInfo.png' alt='' /><h3>Info</h3><p>{% autoescape off %}{{ help_text|linebreaksbr|escapejs }}{% endautoescape %}</p></div><div class='tooltip-bottom'></div></div>";
    58     var tooltip_object=null;
    58     var tooltip_object=null;
    59     var documented = $("#{{ field_id }}");
    59     var documented = $("#{{ field_id }}");
    60     var not_fieldset = documented.attr('tagName') !== 'FIELDSET';
    60     var not_fieldset = documented.attr('tagName') !== 'FIELDSET';
    61     if (not_fieldset) {
    61     if (not_fieldset) {
    62       documented.focus(function() {
    62       documented.focus(function() {