Add TFTP input label and helper text
- Add TFTP input label and helper text for firmware page.
Signed-off-by: Suren Neware <sneware9@in.ibm.com>
Change-Id: I0f1d9f6fda9bf375449da7f8d814953628575775
diff --git a/src/locales/en-US.json b/src/locales/en-US.json
index 0015abc..830d46a 100644
--- a/src/locales/en-US.json
+++ b/src/locales/en-US.json
@@ -211,7 +211,8 @@
"imageFileName": "Image file name",
"onlyTarFilesAccepted": "Only .tar files accepted",
"tftpServer": "TFTP server",
- "tftpServerIpAddress": "TFTP server IP address",
+ "tftpServerAddress": "TFTP server address",
+ "tftpServerAddressHelper": "IP address or FQDN",
"uploadAndRebootBmc": "Upload and reboot BMC",
"uploadLocation": "Upload location",
"workstation": "Workstation"
diff --git a/src/views/Configuration/Firmware/Firmware.vue b/src/views/Configuration/Firmware/Firmware.vue
index cfdc0a3..e63db51 100644
--- a/src/views/Configuration/Firmware/Firmware.vue
+++ b/src/views/Configuration/Firmware/Firmware.vue
@@ -141,15 +141,19 @@
<!-- TFTP Server Upload -->
<template v-else>
<b-form-group
- :label="$t('pageFirmware.form.tftpServerIpAddress')"
+ :label="$t('pageFirmware.form.tftpServerAddress')"
label-for="tftp-ip"
>
+ <b-form-text id="server-address-help-block">
+ {{ $t('pageFirmware.form.tftpServerAddressHelper') }}
+ </b-form-text>
<b-form-input
id="tftp-id"
v-model="tftpIpAddress"
type="text"
:state="getValidationState($v.tftpIpAddress)"
:disabled="isPageDisabled"
+ aria-describedby="server-address-help-block"
@input="$v.tftpIpAddress.$touch()"
/>
<b-form-invalid-feedback role="alert">