From 0f40dcf5dd557791738cfb77d42166db41885308 Mon Sep 17 00:00:00 2001 From: Kieran Date: Sat, 2 Mar 2024 13:09:58 -0800 Subject: [PATCH] Clarifies wording of source form for index frequency (#47) --- lib/pinchflat_web/controllers/sources/source_html.ex | 2 +- .../controllers/sources/source_html/source_form.html.heex | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/pinchflat_web/controllers/sources/source_html.ex b/lib/pinchflat_web/controllers/sources/source_html.ex index 044d783..b8b9c53 100644 --- a/lib/pinchflat_web/controllers/sources/source_html.ex +++ b/lib/pinchflat_web/controllers/sources/source_html.ex @@ -14,7 +14,7 @@ defmodule PinchflatWeb.Sources.SourceHTML do def friendly_index_frequencies do [ - {"Never", -1}, + {"On Create", -1}, {"1 Hour", 60}, {"3 Hours", 3 * 60}, {"6 Hours", 6 * 60}, diff --git a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex index f7f5fe0..c538c96 100644 --- a/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex +++ b/lib/pinchflat_web/controllers/sources/source_html/source_form.html.heex @@ -24,7 +24,7 @@ options={friendly_index_frequencies()} type="select" label="Index Frequency" - help="Time between one index of this source finishing and the next one starting. Setting to 'Never' will still run an initial index but no subsequent ones" + help="Time between one index of this source finishing and the next one starting. Setting to 'On Create' will still run an initial index but no subsequent ones" /> <.input