Skip to content

Commit

Permalink
Web location config: optimize texts
Browse files Browse the repository at this point in the history
  • Loading branch information
dexterbg committed Mar 25, 2023
1 parent cc7a35a commit 874e4c1
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions vehicle/OVMS.V3/components/ovms_webserver/src/web_cfg.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3296,18 +3296,18 @@ void OvmsWebServer::HandleCfgLocations(PageEntry_t& p, PageContext_t& c)
"</div>"
"<div id=\"tab-system-locations\" class=\"tab-pane fade section-system-locations\">");

c.input("number", "Flatbed Alert Distance", "flatbed.dist", flatbed_dist.c_str(), "Default: 500",
"<p>Distance from the parked location that the car needs to have moved before a 'flat-bed' alert is raised.</p>",
c.input("number", "Flatbed Alert Distance", "flatbed.dist", flatbed_dist.c_str(), "Default: 500 m",
"<p>Distance from the parked location that the car needs to have moved before a 'flat-bed' alert is raised, 0 = disable flatbed alerts.</p>",
"min=\"0\" step=\"1\"", "m");
c.input("number", "Flatbed Alert Interval", "flatbed.interval", flatbed_time.c_str(), "Default: 15",
"Minimum interval between Flatbed alerts",
c.input("number", "Flatbed Alert Interval", "flatbed.interval", flatbed_time.c_str(), "Default: 15 min",
"Interval between repeated flatbed alerts, 0 = disable alert repetition",
"min=\"1\" step=\"1\"", "min");

c.input("number", "Valet Alert Distance", "valet.dist", valet_dist.c_str(), "Default: 0",
"<p>Distance from the location Valet Mode was enabled that the car needs to have travelled before an alert is raised.</p>",
c.input("number", "Valet Alert Distance", "valet.dist", valet_dist.c_str(), "Default: 0 (disabled)",
"<p>Distance from the location Valet Mode was enabled that the car needs to have travelled before an alert is raised, 0 = disable valet alerts.</p>",
"min=\"0\" step=\"1\"", "m");
c.input("number", "Valet Alert Interval", "valet.interval", valet_time.c_str(), "Default: 15",
"Minimum interval between Valet alerts",
c.input("number", "Valet Alert Interval", "valet.interval", valet_time.c_str(), "Default: 15 min",
"Interval between repeated valet alerts, 0 = disable alert repetition",
"min=\"1\" step=\"1\"", "min");

c.print(
Expand Down

0 comments on commit 874e4c1

Please sign in to comment.