display address balance before received / sent
This commit is contained in:
parent
70291f6260
commit
5941c102b9
2 changed files with 9 additions and 9 deletions
|
@ -125,21 +125,21 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="address-summary">
|
<div class="address-summary">
|
||||||
|
<div class="box">
|
||||||
|
<div class="title">Balance (LBC)</div>
|
||||||
|
<div class="value"><?php echo $this->Amount->format($balanceAmount) ?></div>
|
||||||
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box">
|
||||||
<div class="title">Received (LBC)</div>
|
<div class="title">Received (LBC)</div>
|
||||||
<div class="value"><?php echo $this->Amount->format($totalReceived) ?></div>
|
<div class="value"><?php echo $this->Amount->format($totalReceived) ?></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box">
|
<div class="box last">
|
||||||
<div class="title">Sent (LBC)</div>
|
<div class="title">Sent (LBC)</div>
|
||||||
<div class="value"><?php echo $this->Amount->format($totalSent) ?></div>
|
<div class="value"><?php echo $this->Amount->format($totalSent) ?></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="box last">
|
|
||||||
<div class="title">Balance (LBC)</div>
|
|
||||||
<div class="value"><?php echo $this->Amount->format($balanceAmount) ?></div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="clear"></div>
|
<div class="clear"></div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
|
@ -42,7 +42,7 @@ $a = ['purple', 'orange', 'blue', 'teal', 'green', 'yellow'];
|
||||||
$autoThumbText = '';
|
$autoThumbText = '';
|
||||||
$link = $claim->Name;
|
$link = $claim->Name;
|
||||||
if (isset($claim->Publisher->Name)) {
|
if (isset($claim->Publisher->Name)) {
|
||||||
$link = $claim->Publisher->Name . '/' . $link;
|
$link = urlencode($claim->Publisher->Name) . '/' . $link;
|
||||||
}
|
}
|
||||||
$link = 'lbry://' . $link;
|
$link = 'lbry://' . $link;
|
||||||
if ($claim->ClaimType == 1) { $autoThumbText = strtoupper(substr($claim->Name, 1, min( strlen($claim->Name), 10 ))); } else {
|
if ($claim->ClaimType == 1) { $autoThumbText = strtoupper(substr($claim->Name, 1, min( strlen($claim->Name), 10 ))); } else {
|
||||||
|
@ -164,7 +164,7 @@ if (strlen(trim($desc)) == 0) {
|
||||||
$autoThumbText = '';
|
$autoThumbText = '';
|
||||||
$link = $claim->Name;
|
$link = $claim->Name;
|
||||||
if (isset($claim->Publisher->Name)) {
|
if (isset($claim->Publisher->Name)) {
|
||||||
$link = $claim->Publisher->Name . '/' . $link;
|
$link = urlencode($claim->Publisher->Name) . '/' . $link;
|
||||||
}
|
}
|
||||||
$link = 'lbry://' . $link;
|
$link = 'lbry://' . $link;
|
||||||
$cost = '';
|
$cost = '';
|
||||||
|
@ -287,7 +287,7 @@ if (strlen(trim($desc)) == 0) {
|
||||||
$autoThumbText = '';
|
$autoThumbText = '';
|
||||||
$link = $claim->Name;
|
$link = $claim->Name;
|
||||||
if (isset($claim->Publisher->Name)) {
|
if (isset($claim->Publisher->Name)) {
|
||||||
$link = $claim->Publisher->Name . '/' . $link;
|
$link = urlencode($claim->Publisher->Name) . '/' . $link;
|
||||||
}
|
}
|
||||||
$link = 'lbry://' . $link;
|
$link = 'lbry://' . $link;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue