Skip to content

Commit

Permalink
Fixed a small mess in the UI (#154)
Browse files Browse the repository at this point in the history
  • Loading branch information
miladsoft authored Sep 30, 2024
1 parent 0b53510 commit 4cd38f8
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 7 deletions.
20 changes: 13 additions & 7 deletions src/Angor/Client/Pages/Investor.razor
Original file line number Diff line number Diff line change
Expand Up @@ -189,13 +189,19 @@

<div class="mb-3 d-flex justify-content-between">
<span>My Investment:</span>
<strong>@Money.Satoshis(project.AmountInvested ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker</strong>
@if (!project.SignaturesInfo?.Signatures.Any() ?? false)
{
<a href=@($"/invest/{project.ProjectInfo.ProjectIdentifier}") class="btn btn-sm btn-outline-warning ms-2" title="Pending">
<i class="oi oi-clock"></i>
</a>
}
<div>
@if (!project.SignaturesInfo?.Signatures.Any() ?? false)
{
<a href=@($"/invest/{project.ProjectInfo.ProjectIdentifier}") class="btn btn-sm btn-border ms-2" title="Pending">
<i class="oi oi-clock">
<Icon IconName="clock-square" Width="24" Height="24"></Icon>
</i>
</a>
}
<strong>@Money.Satoshis(project.AmountInvested ?? 0).ToUnit(MoneyUnit.BTC) @network.CoinTicker</strong>

</div>

</div>

<div class="mb-3 d-flex justify-content-between">
Expand Down
5 changes: 5 additions & 0 deletions src/Angor/Client/wwwroot/assets/icons/clock-square.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 4cd38f8

Please sign in to comment.