View | Details | Raw Unified | Return to bug 35682
Collapse All | Expand All

(-)a/C4/Installer.pm (-1 / +11 lines)
Lines 26-31 use YAML::XS; Link Here
26
use File::Slurp qw( read_file );
26
use File::Slurp qw( read_file );
27
use DBI;
27
use DBI;
28
28
29
use HTML::FromANSI ();
29
use C4::Context;
30
use C4::Context;
30
use Koha::Schema;
31
use Koha::Schema;
31
use Koha;
32
use Koha;
Lines 818-825 sub generate_output_db_entry { Link Here
818
            push @output, sprintf "\t%s", $line;
819
            push @output, sprintf "\t%s", $line;
819
        }
820
        }
820
    }
821
    }
822
    my @coutput;
823
    foreach my $line ( @output ) {
821
824
822
    return \@output;
825
        my $h = HTML::FromANSI->new(
826
            font_face   => '',
827
            style       => '',
828
        );
829
        $h->add_text( color('bold blue'), 'hi' );
830
        push @coutput, $h->ansi2html($line);
831
    }
832
    return \@coutput;
823
}
833
}
824
834
825
sub get_atomic_updates {
835
sub get_atomic_updates {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step3.tt (-2 / +1 lines)
Lines 381-387 Link Here
381
                        <ul>
381
                        <ul>
382
                            [% FOR s IN atomic_updates.success %]
382
                            [% FOR s IN atomic_updates.success %]
383
                                [% FOR o IN s.output %]
383
                                [% FOR o IN s.output %]
384
                                    <li>[% o | html %]</li>
384
                                    <li>[% o %]</li>
385
                                    [% IF s.output.size > 1 %]
385
                                    [% IF s.output.size > 1 %]
386
                                        [% IF loop.first %]<ul>[% ELSIF loop.last %]</ul>[% END %]
386
                                        [% IF loop.first %]<ul>[% ELSIF loop.last %]</ul>[% END %]
387
                                    [% END %]
387
                                    [% END %]
388
- 

Return to bug 35682