[Rt-commit] rtir branch, 5.0/restore-incidents-and-investigations-on-create, repushed

Blaine Motsinger blaine at bestpractical.com
Tue May 19 17:05:45 EDT 2020


The branch 5.0/restore-incidents-and-investigations-on-create was deleted and repushed:
       was 9fe4c2c520ab2d7df911e6dbf9e451d3e4f10509
       now 879a8b8de0398ba5965990a029756c922eb9aec1

1: ebc13027 = 1: ebc13027 Core RT::Extension::CreateIncidentAndInvestigation
2: 9fe4c2c5 ! 2: 879a8b8d Migrate Investigation/Elements/Create to elevator themes
    @@ -1,6 +1,19 @@
     Author: Blaine Motsinger <blaine at bestpractical.com>
     
         Migrate Investigation/Elements/Create to elevator themes
    +
    +diff --git a/html/RTIR/Incident/Create.html b/html/RTIR/Incident/Create.html
    +--- a/html/RTIR/Incident/Create.html
    ++++ b/html/RTIR/Incident/Create.html
    +@@
    + my $InvestigationsQueue = 'Investigations';
    + my $InvestigationsQueueObj = RT::Queue->new( $session{'CurrentUser'} );
    + my ($ret, $msg) = $InvestigationsQueueObj->Load( $InvestigationsQueue );
    +-RT::Logger->error("Unable to load $InvestigationsQueue : $msg") unless $ret;
    ++RT->Logger->error("Unable to load $InvestigationsQueue : $msg") unless $ret;
    + 
    + if( !RT::IR->IsIncidentQueue($QueueObj) ) {
    +     RT::Interface::Web::Redirect(RT::IR->HREFTo( '/Create.html?' . $m->comp('/Elements/QueryString', %ARGS )));
     
     diff --git a/html/RTIR/Investigation/Elements/Create b/html/RTIR/Investigation/Elements/Create
     --- a/html/RTIR/Investigation/Elements/Create
    @@ -83,20 +96,19 @@
     -    <td class="label"><&|/l&>Time Left</&>:</td>
     -    <td class="value"><& /Elements/EditTimeValue,
     -        Name => $NamePrefix .'TimeLeft',
    --        Default => $value_cb->('TimeLeft') || '',
    ++    &>
    ++  </div>
    ++</div>
    ++<div class="form-row">
    ++  <div class="label col-3">
    ++    <&|/l&>Time Left</&>:
    ++  </div>
    ++  <div class="value col-9">
    ++    <& /Elements/EditTimeValue,
    ++        Name    => $NamePrefix . 'TimeLeft',
    +         Default => $value_cb->('TimeLeft') || '',
     -    &></td>
     -</tr>
    -+    &>
    -+  </div>
    -+</div>
    -+<div class="form-row">
    -+  <div class="label col-3">
    -+    <&|/l&>Time Left</&>:
    -+  </div>
    -+  <div class="value col-9">
    -+    <& /Elements/EditTimeValue,
    -+        Name    => $NamePrefix . 'TimeWorked',
    -+        Default => $value_cb->('TimeWorked') || '',
     +    &>
     +  </div>
     +</div>



More information about the rt-commit mailing list