Skip to content

Commit

Permalink
Merge pull request #619 from UnUniFi/iya-text
Browse files Browse the repository at this point in the history
fix: iya text fix
  • Loading branch information
Senna46 authored Aug 21, 2023
2 parents 39febbe + 3aa1299 commit 6be05f0
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ export class YieldAggregatorApplicationService {

await this.dialog
.open<TxConfirmDialogData>(TxConfirmDialogComponent, {
data: { txHash: txHash, msg: 'Successfully deposit to the vault.' },
data: { txHash: txHash, msg: 'Deposit to the vault was successful.' },
})
.closed.toPromise();
location.reload();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ export class TxConfirmDialogComponent implements OnInit {
private clipboard: Clipboard,
private readonly snackBar: MatSnackBar,
) {
data.msg = data.msg + ' \nIf it is not reflected, wait a while and reload the page.';
data.msg =
data.msg + ' \nIf it does not reflect immediately, please wait a moment and reload the page.';
this.txData = data;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ <h3 class="font-bold text-lg">What is Vault Name?</h3>
>No Strategy on the chain</span
>
<span *ngIf="availableSymbols && availableSymbols.length"
>Select a asset's symbol</span
>Select an asset's symbol</span
>
</option>
<ng-container *ngFor="let symbol of availableSymbols">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -322,7 +322,7 @@ <h2 class="card-title">
</div>
</div>
</div>
<h2>Strategies this vault contains</h2>
<h2>Strategies Contained in this Vault</h2>
<div class="flex flex-row flex-wrap -mr-12 -mb-12">
<div
*ngFor="let strategy of vault?.vault?.strategy_weights; let i = index"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -120,11 +120,14 @@ <h3 class="pb-2">Select the Vault to deposit</h3>

<div class="card lg:card-side bg-base-100 shadow-xl mb-4">
<div class="card-body">
<h2 class="card-title">Create a Original Vault</h2>
<p>
You can create an original vault. You can set the Asset, Weights of Strategies & Commission
Rate. By creating a great Vault, you can earn commissions from your users.
</p>
<h2 class="card-title">
Create your own unique vault, earn commission from strategy adopters
</h2>
<ol>
<li>Tailor assets according to your preference</li>
<li>Fine-tune your strategy weights</li>
<li>Set your commission rate</li>
</ol>
<div class="card-actions justify-end">
<!-- <button class="btn btn-outline btn-info" routerLink="/yield-aggregator/strategies">
View Strategies
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ <h2 class="card-title break-all">{{ config.name }}</h2>
name="symbol"
(change)="onChangeSymbol()"
>
<option [value]="undefined" disabled>Select a asset</option>
<option [value]="undefined" disabled>Select an asset</option>
<ng-container *ngFor="let symbol of availableSymbols">
<option [value]="symbol">{{ symbol }}</option>
</ng-container>
Expand Down

0 comments on commit 6be05f0

Please sign in to comment.