Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
Breeze
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DeStream-public
Breeze
Commits
c1ff99ee
Commit
c1ff99ee
authored
Jul 06, 2017
by
dev0tion
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add copy button to transaction ID in transaction details
parent
c1a9bd3b
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
2 deletions
+7
-2
transaction-details.component.html
...et/transaction-details/transaction-details.component.html
+2
-0
transaction-details.component.ts
...llet/transaction-details/transaction-details.component.ts
+5
-2
No files found.
Breeze.UI/src/app/wallet/transaction-details/transaction-details.component.html
View file @
c1ff99ee
...
...
@@ -29,6 +29,8 @@
<ul
class=
"list-inline row"
>
<li
class=
"list-inline-item col blockLabel"
>
Transaction ID
</li>
<li
class=
"list-inline-item col-9 blockText blockID"
><code>
{{ transaction.id }}
</code></li>
<span
class=
"float-right"
><a
ngxClipboard
[
cbContent
]="
transaction
.
id
"
(
click
)="
onCopiedClick
()"
>
copy
</a></span>
<span
class=
"badge badge-success list-inline-item col blockLabel"
*
ngIf=
"copied"
>
The transaction ID has been copied to your clipboard.
</span>
</ul>
</div>
<div
class=
"modal-footer"
>
...
...
Breeze.UI/src/app/wallet/transaction-details/transaction-details.component.ts
View file @
c1ff99ee
...
...
@@ -10,12 +10,15 @@ import { NgbModal, NgbActiveModal } from '@ng-bootstrap/ng-bootstrap';
export
class
TransactionDetailsComponent
implements
OnInit
{
@
Input
()
transaction
;
constructor
(
public
activeModal
:
NgbActiveModal
)
{}
constructor
(
public
activeModal
:
NgbActiveModal
)
{
private
copied
:
boolean
=
false
;
ngOnInit
()
{
}
ngOnInit
()
{
private
onCopiedClick
()
{
this
.
copied
=
true
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment