Commit b4bd5b3b3c

b4bd5b3b3ced78064ce4eed1199ee24dc8f351c6

parent: 072c123912

Verified · cmc

cmc <hello@cleberg.net> · 2026-09-17 16:40 UTC

web: archive is reversible, no typed confirmation

Ref #218
internal/web/templates/settings.html +1 −1
@@ -179,7 +179,7 @@
179179 <input type="hidden" name="field" value="archive">
180180 <div><label for="archive">Archived</label><p class="hint">Read-only for everyone. Issues and requests close to new activity. Reversible.</p></div>
181181 <div class="check"><input type="checkbox" id="archive" name="archive" value="on"{{if .Repo.Settings.Archived}} checked{{end}}></div>
182 <div>{{template "confirmfield" .Repo.Name}} <button type="submit" class="danger">Save</button></div>
182 <div><button type="submit" class="danger">Save</button></div>
183183</form>
184184<p class="meta">Deleting or transferring a repository is a CLI operation:
185185<code>gitbay repo delete {{.Repo.OwnerName}}/{{.Repo.Name}} --yes</code></p>