[Rt-commit] rt branch, 4.6/fontawesome-icons, repushed

Blaine Motsinger blaine at bestpractical.com
Wed Oct 23 17:58:52 EDT 2019


The branch 4.6/fontawesome-icons was deleted and repushed:
       was 59c8c9a9dc7836735f74047655edd0a227fd2332
       now d8c7fadc07846c206ddb11831a345f486c0f32cf

1: 09f03e2e1 = 1: 09f03e2e1 Add project-diagram to fontawesome SVG build
2: 2d367a9f0 ! 2: 33cf72bbe Replace text links with fontawesome SVGs
    @@ -45,6 +45,15 @@
     --- a/share/html/Elements/ShowHistoryHeader
     +++ b/share/html/Elements/ShowHistoryHeader
     @@
    + $ShowHeaders       => 0
    + $ShowTitle         => 1
    + $ShowDisplayModes  => 1
    +-$ScrollShowHistory => 0
    ++$ScrollShowHistory => 1
    + </%ARGS>
    + <%INIT>
    + my $record_type = $Object->RecordType;
    +@@
          my $title = $ShowTitle
                          ? loc('History')
                          : ' ';
    @@ -53,13 +62,16 @@
     +    my @elements;
          if ( $ScrollShowHistory ) {
     -        $titleright .= qq{<span id="LoadAllHistoryContainer">} .
    -+        my $element = qq{<span id="LoadAllHistoryContainer">} .
    -                        qq{<a href="#" id="LoadAllHistory">} .
    -                        loc('Load all history') .
    -                        qq{</a>} .
    +-                       qq{<a href="#" id="LoadAllHistory">} .
    +-                       loc('Load all history') .
    +-                       qq{</a>} .
     -                       ($ShowDisplayModes ? '—' : '') .
    -                        qq{</span>};
    -+        push( @elements, $element );
    +-                       qq{</span>};
    ++        push( @elements, qq{<span id="LoadAllHistoryContainer">} .
    ++                         qq{<a href="#" id="LoadAllHistory">} .
    ++                         loc('Load all history') .
    ++                         qq{</a>} .
    ++                         qq{</span>} );
          }
      
          if ( $ShowDisplayModes ) {
    @@ -68,39 +80,43 @@
                  my $open_html = $m->interp->apply_escapes( loc("Show all quoted text"), 'h' );
                  my $close_all = $m->interp->apply_escapes( loc("Hide all quoted text"), 'j' );
     -            $titleright .=    '<a href="#" data-direction="open" '
    -+            my $element = '<a href="#" data-direction="open" '
    -                             . qq{onclick="return toggle_all_folds(this, $open_all, $close_all);"}
    +-                            . qq{onclick="return toggle_all_folds(this, $open_all, $close_all);"}
     -                            . ">$open_html</a> — ";
    -+                            . ">$open_html</a>";
    -+            push( @elements, $element );
    ++            push( @elements, qq{<a href="#" data-direction="open" } .
    ++                             qq{onclick="return toggle_all_folds(this, $open_all, $close_all);"} .
    ++                             qq{>$open_html</a>} );
              }
      
              if ($ShowHeaders) {
     -            $titleright .= qq{<a href="?ForceShowHistory=1;id=} .
    -+            my $element = qq{<a href="?ForceShowHistory=1;id=} .
    -                            $Object->id.qq{#$histid">} .
    -                            loc("Show brief headers") .
    -                            qq{</a>};
    -+            push( @elements, $element );
    +-                           $Object->id.qq{#$histid">} .
    +-                           loc("Show brief headers") .
    +-                           qq{</a>};
    ++            push( @elements, qq{<a href="?ForceShowHistory=1;id=} .
    ++                             $Object->id.qq{#$histid">} .
    ++                             loc("Show brief headers") .
    ++                             qq{</a>} );
              } else {
     -            $titleright .= qq{<a href="?ForceShowHistory=1;ShowHeaders=1;id=} .
    -+            my $element = qq{<a href="?ForceShowHistory=1;ShowHeaders=1;id=} .
    -                            $Object->id.qq{#$histid">} .
    -                            loc("Show full headers") .
    -                            qq{</a>};
    -+            push( @elements, $element );
    +-                           $Object->id.qq{#$histid">} .
    +-                           loc("Show full headers") .
    +-                           qq{</a>};
    ++            push( @elements, qq{<a href="?ForceShowHistory=1;ShowHeaders=1;id=} .
    ++                             $Object->id.qq{#$histid">} .
    ++                             loc("Show full headers") .
    ++                             qq{</a>} );
              }
          }
      
     +    # build the new link
    -+    my $titleright = q[<div class="btn-group dropdown"><a id="history-dropdown" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="fas fa-cog" /></a><ul class="dropdown-menu dropdown-menu-right">];
    ++    my $titleright = q{<div class="btn-group dropdown"><a id="history-dropdown" href="#" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"><img class="fas fa-cog" /></a><ul class="dropdown-menu dropdown-menu-right">};
     +
     +    # foreach of the elements, build a new <li>$element</li> and append to the output.
     +    foreach my $element ( @elements ) {
    -+        $titleright .= qq[<li class="dropdown-item">$element</li>];
    ++        $titleright .= qq{<li class="dropdown-item">$element</li>};
     +    }
     +
    -+    $titleright .= q[</ul></div>];
    ++    $titleright .= q{</ul></div>};
     +
      </%perl>
      % $m->callback( CallbackName => 'BeforeTitle', %ARGS, title => \$title, titleright => \$titleright );
3: 59c8c9a9d ! 3: 72c1efb54 Remove timer and bookmark css and images
    @@ -111,3 +111,4 @@
     diff --git a/share/static/images/star-full.png b/share/static/images/star-full.png
     deleted file mode 100644
     Binary files a/share/static/images/star-full.png and /dev/null differ
    +
-:  ------- > 4: d8c7fadc0 Add alt and title tooltips for new icons



More information about the rt-commit mailing list