From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] backup.cgi: Cosmetic fix - mark backup files bold for better readability Date: Fri, 22 May 2020 13:39:19 +0100 Message-ID: In-Reply-To: <20200522121338.4908-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3527794924865095595==" List-Id: --===============3527794924865095595== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hey, Can you post a screenshot about what has changed and why this was a problem f= or you? Best, -Michael > On 22 May 2020, at 13:13, Matthias Fischer = wrote: >=20 > Signed-off-by: Matthias Fischer > --- > html/cgi-bin/backup.cgi | 12 ++++++------ > 1 file changed, 6 insertions(+), 6 deletions(-) >=20 > diff --git a/html/cgi-bin/backup.cgi b/html/cgi-bin/backup.cgi > index cac4146ab..3ced1371d 100644 > --- a/html/cgi-bin/backup.cgi > +++ b/html/cgi-bin/backup.cgi > @@ -202,7 +202,7 @@ my $Datei =3D "/var/ipfire/backup/".$_; > my @Info =3D stat($Datei); > my $Size =3D $Info[7] / 1024 / 1024; > $Size =3D sprintf("%0.2f", $Size); > -print "$Lang::tr{'backup from'} $_ $Lang::tr{'siz= e'} $Size MB
"; > +print "$Lang::tr{'backup from'} $_ $Lang::= tr{'size'} $Size MB
<= input type=3D'hidden' name=3D'FILE' value=3D'$_' />
"; > print "
= "; > } > foreach (@backupisos){ > @@ -212,7 +212,7 @@ my $Datei =3D "/var/tmp/backupiso/".$_; > my @Info =3D stat($Datei); > my $Size =3D $Info[7] / 1024 / 1024; > $Size =3D sprintf("%0.2f", $Size); > -print "$Lang::tr{'backup from'} $_ $Lang::tr{'siz= e'} $Size MB
"; > +print "$Lang::tr{'backup from'} $_ $Lang::= tr{'size'} $Size MB
"; > print "
= "; > } > print < @@ -246,10 +246,10 @@ my $Size =3D $Info[7] / 1024; > if ( -e $Datei ){ > if ($Size < 1) { > $Size =3D sprintf("%.2f", $Size); > - print "$Lang::tr{'backup from'} $_ $Lang::tr{'= size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; > + print "$Lang::tr{'backup from'} $_ $Lan= g::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; > } else { > $Size =3D sprintf("%2d", $Size); > - print "$Lang::tr{'backup from'} $_ $Lang::tr{'= size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; > + print "$Lang::tr{'backup from'} $_ $Lan= g::tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; >=20 > } >=20 > @@ -272,7 +272,7 @@ END > ; > } > else{ > - print "$Lang::tr{'backup from'} $_ "; > + print "$Lang::tr{'backup from'} $_ = "; > } > print < > @@ -291,7 +291,7 @@ my $Datei =3D "/var/ipfire/backup/addons/backup/".$_.".= ipf"; > my @Info =3D stat($Datei); > my $Size =3D $Info[7] / 1024; > $Size =3D sprintf("%2d", $Size); > -print "$Lang::tr{'backup from'} $_ $Lang::tr{'siz= e'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; > +print "$Lang::tr{'backup from'} $_ $Lang::= tr{'size'} $Size KB $Lang::tr{'date'} ".localtime($Info[9]).""; > print < >
> --=20 > 2.18.0 >=20 --===============3527794924865095595==--