Fixed line length.
authorMario Ferraro <fadinlight@gmail.com>
Wed, 15 Jul 2009 17:11:17 +0200
changeset 2661 03fcd4812eaa
parent 2660 e2654d53a643
child 2662 833785d10ecf
Fixed line length.
app/soc/templates/soc/templatetags/_as_table_row.html
--- a/app/soc/templates/soc/templatetags/_as_table_row.html	Wed Jul 15 15:28:02 2009 +0200
+++ b/app/soc/templates/soc/templatetags/_as_table_row.html	Wed Jul 15 17:11:17 2009 +0200
@@ -54,7 +54,20 @@
   {% if help_text %}
   <script type="text/javascript">
   $(document).ready( function() {
-    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>";
+    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>"
+    ].join("");
     var tooltip_object=null;
     var documented = $("#{{ field_id }}");
     var not_fieldset = documented.attr('tagName') !== 'FIELDSET';