1
0
Fork 0
mirror of https://github.com/miniflux/v2.git synced 2025-06-27 16:36:00 +00:00

feat(ui): open the <details> tag in edit feed page when the feature is enabled

This commit is contained in:
Frédéric Guillot 2025-01-31 17:16:25 -08:00
parent b9b2d6822a
commit 6a008eee14

View file

@ -178,17 +178,17 @@
<fieldset> <fieldset>
<legend>{{ t "form.feed.fieldset.integration" }}</legend> <legend>{{ t "form.feed.fieldset.integration" }}</legend>
<details> <details {{ if .form.AppriseServiceURLs }}open{{ end }}>
<summary>Apprise</summary> <summary>Apprise</summary>
<div class="form-label-row"> <div class="form-label-row">
<label for="form-apprise-service-urls"> <label for="form-apprise-service-urls">
{{ t "form.feed.label.apprise_service_urls" }} {{ t "form.feed.label.apprise_service_urls" }}
</label> </label>
</div> </div>
<input type="text" name="apprise_service_urls" id="form-apprise-service-urls" value="{{ .form.AppriseServiceURLs }}" spellcheck="false"> <input type="text" name="apprise_service_urls" id="form-apprise-service-urls" value="{{ .form.AppriseServiceURLs }}" spellcheck="false" autocomplete="off">
</details> </details>
<details> <details {{ if .form.NtfyEnabled }}open{{ end }}>
<summary>Ntfy</summary> <summary>Ntfy</summary>
<label><input type="checkbox" name="ntfy_enabled" value="1" {{ if .form.NtfyEnabled }}checked{{ end }}> {{ t "form.feed.label.ntfy_activate" }}</label> <label><input type="checkbox" name="ntfy_enabled" value="1" {{ if .form.NtfyEnabled }}checked{{ end }}> {{ t "form.feed.label.ntfy_activate" }}</label>
<div class="form-label-row"> <div class="form-label-row">
@ -209,14 +209,14 @@
</select> </select>
</details> </details>
<details> <details {{ if .form.WebhookURL }}open{{ end }}>
<summary>Webhook</summary> <summary>Webhook</summary>
<div class="form-label-row"> <div class="form-label-row">
<label for="form-webhook-url"> <label for="form-webhook-url">
{{ t "form.feed.label.webhook_url" }} {{ t "form.feed.label.webhook_url" }}
</label> </label>
</div> </div>
<input type="url" name="webhook_url" id="form-webhook-url" value="{{ .form.WebhookURL }}" spellcheck="false"> <input type="url" name="webhook_url" id="form-webhook-url" value="{{ .form.WebhookURL }}" spellcheck="false" autocomplete="off">
</details> </details>
<div class="buttons"> <div class="buttons">