You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@allura.apache.org by ke...@apache.org on 2021/10/06 19:34:30 UTC

[allura] branch kt/screenshots_page_extend updated (7625be6 -> 7135926)

This is an automated email from the ASF dual-hosted git repository.

kentontaylor pushed a change to branch kt/screenshots_page_extend
in repository https://gitbox.apache.org/repos/asf/allura.git.


 discard 7625be6  Allow screenshots admin page to be extended further; config improvement to tooltips
     new 7135926  Configuration improvement to global tooltips

This update added new revisions after undoing existing revisions.
That is to say, some revisions that were in the old version of the
branch are not in the new version.  This situation occurs
when a user --force pushes a change and generates a repository
containing something like this:

 * -- * -- B -- O -- O -- O   (7625be6)
            \
             N -- N -- N   refs/heads/kt/screenshots_page_extend (7135926)

You should already have received notification emails for all of the O
revisions, and so the following emails describe only the N revisions
from the common base, B.

Any revisions marked "omit" are not gone; other references still
refer to them.  Any revisions marked "discard" are gone forever.

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 Allura/allura/ext/admin/templates/project_screenshots.html | 2 --
 1 file changed, 2 deletions(-)

[allura] 01/01: Configuration improvement to global tooltips

Posted by ke...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

kentontaylor pushed a commit to branch kt/screenshots_page_extend
in repository https://gitbox.apache.org/repos/asf/allura.git

commit 71359266662bbc8ad4caf3a5f8136672cc7b81d8
Author: Kenton Taylor <kt...@slashdotmedia.com>
AuthorDate: Tue Oct 5 19:51:24 2021 +0000

    Configuration improvement to global tooltips
---
 Allura/allura/templates/jinja_master/master.html | 30 ++++++++++++++----------
 1 file changed, 17 insertions(+), 13 deletions(-)

diff --git a/Allura/allura/templates/jinja_master/master.html b/Allura/allura/templates/jinja_master/master.html
index 9b6042e..5c2b15a 100644
--- a/Allura/allura/templates/jinja_master/master.html
+++ b/Allura/allura/templates/jinja_master/master.html
@@ -176,20 +176,24 @@
 {% endif %}
 <script>
     $(document).ready(function () {
-        $(".tooltip, .m-tooltip").tooltipster({
-            animation: 'fade',
-            delay: 200,
-            theme: 'tooltipster-light',
-            trigger: 'hover',
-            position: 'right',
-            iconCloning: false,
-            maxWidth: 300
-        }).focus(function () {
-            $(this).tooltipster('show');
-        }).blur(function () {
-            $(this).tooltipster('hide');
+        $(".tooltip, .m-tooltip").each(function(){
+            let $el = $(this);
+            $el.tooltipster({
+                animation: 'fade',
+                delay: 200,
+                theme: 'tooltipster-light',
+                trigger: 'hover',
+                position: $el.data('position') || 'right',
+                iconCloning: false,
+                maxWidth: 300,
+                contentAsHTML: true,
+                interactive: true
+            }).focus(function () {
+                $(this).tooltipster('show');
+            }).blur(function () {
+                $(this).tooltipster('hide');
+            });
         });
-
     });
 </script>
 </body>