[Rt-commit] rt branch 5.0/convert-to-pod-simple-2 created. rt-5.0.3-131-gfb22d26fcb

BPS Git Server git at git.bestpractical.com
Thu Nov 17 18:49:33 UTC 2022


This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "rt".

The branch, 5.0/convert-to-pod-simple-2 has been created
        at  fb22d26fcb45cc0f0733f23f15c33231d66cfdc0 (commit)

- Log -----------------------------------------------------------------
commit fb22d26fcb45cc0f0733f23f15c33231d66cfdc0
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Nov 17 23:35:50 2022 +0800

    Render no-target header links more like normal text in shredder pod
    
    As clicking them doesn't have any effects, it's good to not render them
    like normal links. This is consistent with old behavior with Pod::Select.

diff --git a/share/static/css/elevator-light/shredder.css b/share/static/css/elevator-light/shredder.css
index 3af89e4ede..9c8694a113 100644
--- a/share/static/css/elevator-light/shredder.css
+++ b/share/static/css/elevator-light/shredder.css
@@ -17,3 +17,18 @@
 .shredder-form {
   padding-left: 4em;
 }
+
+/* always use the customized color(set above) for header1 */
+.rt-general-header1 a:not([href]) {
+  color: inherit;
+}
+
+.rt-general-header1 a:not([href]):hover,
+.rt-general-header2 a:not([href]):hover,
+.rt-general-header3 a:not([href]):hover,
+.rt-general-header4 a:not([href]):hover,
+.rt-general-header5 a:not([href]):hover,
+.rt-general-header6 a:not([href]):hover {
+  text-decoration: none;
+  color: inherit;
+}

commit 83d2061a8ffac048d0d0ac64a06880f2a9641469
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Thu Nov 17 23:30:55 2022 +0800

    Fix links in shredder tickets pod
    
    Previously they were wrongly linked to metacpan.

diff --git a/lib/RT/Shredder/Plugin/Tickets.pm b/lib/RT/Shredder/Plugin/Tickets.pm
index df2206f721..6d431434be 100644
--- a/lib/RT/Shredder/Plugin/Tickets.pm
+++ b/lib/RT/Shredder/Plugin/Tickets.pm
@@ -74,13 +74,13 @@ See examples above.
 
 =head2 with_linked - boolean
 
-Deletes all tickets that are linked to tickets that match L<query>.
+Deletes all tickets that are linked to tickets that match L<query|/query - query string>.
 
 =head2 apply_query_to_linked - boolean
 
-Delete linked tickets only if those too match L<query>.
+Delete linked tickets only if those too match L<query|/query - query string>.
 
-See also L<with_linked>.
+See also L<with_linked|/with_linked - boolean>.
 
 =cut
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
rt


More information about the rt-commit mailing list