public inbox for yew-devel@lists.proxmox.com
 help / color / mirror / Atom feed
From: "Shannon Sterz" <s.sterz@proxmox.com>
To: "Shannon Sterz" <s.sterz@proxmox.com>
Cc: yew-devel@lists.proxmox.com
Subject: Re: [yew-devel] [PATCH yew-comp] node info: fix displaying boot mode
Date: Thu, 04 Dec 2025 10:24:51 +0100	[thread overview]
Message-ID: <DEPBO5DVWAVE.3J875AD0ORKS9@proxmox.com> (raw)
In-Reply-To: <20251204092333.63911-1-s.sterz@proxmox.com>

sorry send this by accident.

On Thu Dec 4, 2025 at 10:23 AM CET, Shannon Sterz wrote:
> BootMode::Efi and BootMode::LegacyBios were accidentally switched
> around.
>
> Signed-off-by: Shannon Sterz <s.sterz@proxmox.com>
> ---
>  src/node_info.rs | 6 +++---
>  1 file changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/src/node_info.rs b/src/node_info.rs
> index b7c0360..0f8fcb5 100644
> --- a/src/node_info.rs
> +++ b/src/node_info.rs
> @@ -253,9 +253,9 @@ pub fn node_info(data: Option<NodeStatus>) -> Container {
>          )
>          .with_optional_child(boot_mode.map(|m| {
>              let mode = match m.mode {
> -                BootMode::Efi => tr!("Legacy BIOS"),
> -                BootMode::LegacyBios if m.secureboot => tr!("UEFI (Secure Boot Enabled)"),
> -                BootMode::LegacyBios => tr!("UEFI"),
> +                BootMode::LegacyBios => tr!("Legacy BIOS"),
> +                BootMode::Efi if m.secureboot => tr!("UEFI (Secure Boot Enabled)"),
> +                BootMode::Efi => tr!("UEFI"),
>              };
>              StatusRow::new(tr!("Boot Mode"))
>                  .style("grid-column", "1/-1")



_______________________________________________
yew-devel mailing list
yew-devel@lists.proxmox.com
https://lists.proxmox.com/cgi-bin/mailman/listinfo/yew-devel


  reply	other threads:[~2025-12-04  9:24 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-12-04  9:23 Shannon Sterz
2025-12-04  9:24 ` Shannon Sterz [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-12-03 10:37 Shannon Sterz
2025-12-03 10:40 ` Lukas Wagner
2025-12-03 12:51 ` Thomas Lamprecht

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=DEPBO5DVWAVE.3J875AD0ORKS9@proxmox.com \
    --to=s.sterz@proxmox.com \
    --cc=yew-devel@lists.proxmox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
Service provided by Proxmox Server Solutions GmbH | Privacy | Legal