[PR #3763] [MERGED] Fixes #3761: copy button for tokens #12631

Closed
opened 2025-12-29 22:22:45 +01:00 by adam · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbox-community/netbox/pull/3763
Author: @hSaria
Created: 12/13/2019
Status: Merged
Merged: 12/13/2019
Merged by: @jeremystretch

Base: developHead: 3761-token-copy-button


📝 Commits (2)

📊 Changes

2 files changed (+10 additions, -1 deletions)

View changed files

📝 docs/release-notes/version-2.6.md (+1 -0)
📝 netbox/templates/users/api_tokens.html (+9 -1)

📄 Description

Fixes: #3761

Added a copy button.

image

I used btn-success because it is green/white background/foreground. Using btn-default will give it a white/black where the foreground doesn't match the rest of the buttons next to it.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbox-community/netbox/pull/3763 **Author:** [@hSaria](https://github.com/hSaria) **Created:** 12/13/2019 **Status:** ✅ Merged **Merged:** 12/13/2019 **Merged by:** [@jeremystretch](https://github.com/jeremystretch) **Base:** `develop` ← **Head:** `3761-token-copy-button` --- ### 📝 Commits (2) - [`6a6959d`](https://github.com/netbox-community/netbox/commit/6a6959d0411eee32fe06be66e83ceec1f7262824) Fixes #3761: copy button for tokens - [`ea51aa9`](https://github.com/netbox-community/netbox/commit/ea51aa97b764e83ce6780453b443015e279b595c) Update version-2.6.md ### 📊 Changes **2 files changed** (+10 additions, -1 deletions) <details> <summary>View changed files</summary> 📝 `docs/release-notes/version-2.6.md` (+1 -0) 📝 `netbox/templates/users/api_tokens.html` (+9 -1) </details> ### 📄 Description ### Fixes: #3761 Added a copy button. ![image](https://user-images.githubusercontent.com/34197532/70821872-12913580-1dd4-11ea-8e39-cd1457e6d396.png) I used `btn-success` because it is green/white background/foreground. Using `btn-default` will give it a white/black where the foreground doesn't match the rest of the buttons next to it. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
adam added the pull-request label 2025-12-29 22:22:45 +01:00
adam closed this issue 2025-12-29 22:22:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/netbox#12631