diff --git a/ui/core/app/components/copyable/index.hbs b/ui/core/app/components/copyable/index.hbs index 8d0a3df75..fc47d613c 100644 --- a/ui/core/app/components/copyable/index.hbs +++ b/ui/core/app/components/copyable/index.hbs @@ -1,7 +1,6 @@ {{#if this.isClipboardLibrarySupported}} {{@text}} + title={{@buttonText}} + >{{@buttonText}} {{else}} {{yield}} diff --git a/ui/core/app/styles/app.scss b/ui/core/app/styles/app.scss index dfe9fe1f9..2cd923218 100644 --- a/ui/core/app/styles/app.scss +++ b/ui/core/app/styles/app.scss @@ -81,7 +81,11 @@ } } -.copyable .copyable-button { - padding: 0 sizing.rems(xxs); - margin: 0; +.copyable { + .copyable-button { + position: relative; + top: -2px; + padding: 0 sizing.rems(xxs); + margin: 0; + } } diff --git a/ui/core/app/templates/scopes/scope/projects/project/index.hbs b/ui/core/app/templates/scopes/scope/projects/project/index.hbs index 58395a683..0de5bb65c 100644 --- a/ui/core/app/templates/scopes/scope/projects/project/index.hbs +++ b/ui/core/app/templates/scopes/scope/projects/project/index.hbs @@ -7,7 +7,11 @@ {{t "resources.project.title"}} {{t "resources.project.description"}} - + {{@model.id}} diff --git a/ui/core/translations/actions/en-us.yaml b/ui/core/translations/actions/en-us.yaml index 7e7a9002a..9b1fa9751 100644 --- a/ui/core/translations/actions/en-us.yaml +++ b/ui/core/translations/actions/en-us.yaml @@ -7,6 +7,7 @@ save: Save manage: Manage help: Need help? back: Back +copy-to-clipboard: Copy to Clipboard authenticate: Authenticate deauthenticate: Deauthenticate choose-org: Choose Scope @@ -27,4 +28,4 @@ add-members: Add Members add-hosts: Add Hosts set-password: Set Password change-password: Change Password -edit-form: Edit Form \ No newline at end of file +edit-form: Edit Form diff --git a/ui/core/translations/states/en-us.yaml b/ui/core/translations/states/en-us.yaml index 585ed6a26..96b1fd92c 100644 --- a/ui/core/translations/states/en-us.yaml +++ b/ui/core/translations/states/en-us.yaml @@ -2,3 +2,4 @@ info: Info success: Success warning: Warning error: Error +copied: Copied
{{t "resources.project.description"}}
{{@model.id}}