[Rt-commit] rt branch, 5.0/custom-date-ranges-config-ui, repushed

? sunnavy sunnavy at bestpractical.com
Thu May 7 12:53:04 EDT 2020


The branch 5.0/custom-date-ranges-config-ui was deleted and repushed:
       was 0355413e5af580eaa013bda475ebd41e5d441483
       now b5ea71222c5f3438b86003dd5afef4b2287fefca

 1: ff4b420e17 !  1: 6b7be38bb0 Migrate CustomDateRanges page to elevator themes
    @@ -56,10 +56,13 @@
      
      <form name="CustomDateRanges" method="POST" method="?">
     -  <&|/Widgets/TitleBox, title => loc('Custom Date Ranges') &>
    -+  <&|/Widgets/TitleBox, title => loc('Custom Date Ranges'), class => 'mx-auto max-width-xl' &>
    -   <div class="table-responsive">
    +-  <div class="table-responsive">
     -    <table class="collection-as-table">
     -      <tr class="collection-as-table">
    ++  <&|/Widgets/TitleBox, title => loc('Custom Date Ranges'), class => 'mx-auto max-width-xl' &>
    ++%# TODO selectpicker options exceeding the table are invisible in .table-responsive
    ++%# <div class="table-responsive">
    ++  <div>
     +    <table class="collection-as-table table">
     +      <tr class="collection-as-table text-center">
              <th class="collection-as-table"><&|/l&>Name</&></th>
 2: b4788d39b8 =  2: 8d31f2cab0 Switch from system attribute to "CustomDateRangesUI" configuration
 3: b7594c45a1 !  3: ad3d922896 Abstract (Show/Edit/Process)CustomDateRanges for future reusage
    @@ -212,7 +212,9 @@
     +%#
     +%# END BPS TAGGED BLOCK }}}
     +
    -+<div class="table-responsive">
    ++%# TODO selectpicker options exceeding the table are invisible in .table-responsive
    ++%# <div class="table-responsive">
    ++<div>
     +  <table class="collection-as-table table">
     +    <tr class="collection-as-table text-center">
     +      <th class="collection-as-table"><&|/l&>Name</&></th>
    @@ -400,7 +402,9 @@
      
      <form name="CustomDateRanges" method="POST" method="?">
        <&|/Widgets/TitleBox, title => loc('Custom Date Ranges'), class => 'mx-auto max-width-xl' &>
    --  <div class="table-responsive">
    +-%# TODO selectpicker options exceeding the table are invisible in .table-responsive
    +-%# <div class="table-responsive">
    +-  <div>
     -    <table class="collection-as-table table">
     -      <tr class="collection-as-table text-center">
     -        <th class="collection-as-table"><&|/l&>Name</&></th>
 4: 65a64c328a =  4: d989bb9906 Delete before checking other rules for conflicts
 5: 1f5bef7ba9 =  5: 7b9d29d61b Move CustomDateRanges to the Features section of the web config editor.
 6: 5f5e453651 =  6: d50c4ff8f9 Add missing EOF newline
 7: b6b91bebb9 =  7: 3fb675821d Move CustomDateRanges to system edit config page
 8: 1a62ec2062 =  8: 40be30e719 Add decent space for nested widgets on system edit config page
 9: 65c4cbd9e0 !  9: 97bd362075 Support users(with ModifySelf) to update custom date ranges
    @@ -92,20 +92,16 @@
      
              }
     +
    -+        if ( $request_path eq '/Prefs/SearchOptions.html' ) {
    ++        if ( $request_path =~ qr{/Prefs/(?:SearchOptions|CustomDateRanges)\.html} ) {
    ++            $page->child(
    ++                search_options => title => loc('Search Preferences'),
    ++                path               => "/Prefs/SearchOptions.html"
    ++            );
     +            $page->child(
     +                custom_date_ranges => title => loc('Custom Date Ranges'),
     +                path               => "/Prefs/CustomDateRanges.html"
     +            );
     +        }
    -+
    -+        if ( $request_path eq '/Prefs/CustomDateRanges.html' ) {
    -+            $page->child(
    -+                search_options => title => loc('Search Preferences'),
    -+                path               => "/Prefs/SearchOptions.html"
    -+            );
    -+        }
    -+
          }
          my $logout_url = RT->Config->Get('LogoutURL');
          if ( $current_user->Name
10: 0355413e5a ! 10: b70578b646 Warn custom date range name conflicts on config load
    @@ -44,3 +44,4 @@
              },
          },
          CustomDateRangesUI => {
    +
--:  ------- > 11: b5ea71222c Don't cache CustomDateRanges in ColumnMap



More information about the rt-commit mailing list