Skip to content

fix: differentiate exists message for owners - #226

Merged
mikeodr merged 1 commit into
mainfrom
mikeodr/fix-xsrf-160
Apr 7, 2026
Merged

fix: differentiate exists message for owners#226
mikeodr merged 1 commit into
mainfrom
mikeodr/fix-xsrf-160

Conversation

@mikeodr

@mikeodr mikeodr commented Apr 7, 2026

Copy link
Copy Markdown
Contributor

Update the golink exists error message for owners
vs non owners

Updates #160

@mikeodr
mikeodr requested a review from willnorris April 7, 2026 19:57
Update the golink exists error message for owners
vs non owners

Updates #160

Signed-off-by: Mike O'Driscoll <mikeo@tailscale.com>
@mikeodr
mikeodr force-pushed the mikeodr/fix-xsrf-160 branch from 303372d to e73222a Compare April 7, 2026 19:57
@mikeodr
mikeodr merged commit 5fc0d80 into main Apr 7, 2026
3 of 4 checks passed
@mikeodr
mikeodr deleted the mikeodr/fix-xsrf-160 branch April 7, 2026 19:59
Comment thread tmpl/detail.html
<div class="py-2 px-4 mb-6 rounded-md border text-sm border-orange-50 bg-orange-0 text-gray-700">{{ .Message }}</div>
{{ if .AlreadyExists }}
<div class="py-2 px-4 mb-6 rounded-md border text-sm border-orange-50 bg-orange-0 text-gray-700">
{{ if .Editable }}A link with this short name already exists. You can edit it below.{{ else }}A link with this short name already exists.{{ end }}

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Or A link with this short name already exists.{{ if .Editable }} You can edit it below.{{ end }}

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Resolved in #227

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants