2020-02-16 22:15:07 +07:00
|
|
|
<ng-container *ngFor="let tx of transactions; let i = index; trackBy: trackByFn">
|
2021-07-05 16:28:56 -03:00
|
|
|
<div *ngIf="!transactionPage" class="header-bg box tx-page-container">
|
2020-12-09 01:57:18 +01:00
|
|
|
<a class="float-left" [routerLink]="['/tx/' | relativeUrl, tx.txid]" [state]="{ data: tx }">
|
2020-03-25 02:55:26 +07:00
|
|
|
<span style="float: left;" class="d-block d-md-none">{{ tx.txid | shortenString : 16 }}</span>
|
2020-03-10 14:46:12 +07:00
|
|
|
<span style="float: left;" class="d-none d-md-block">{{ tx.txid }}</span>
|
|
|
|
</a>
|
2020-02-28 01:09:07 +07:00
|
|
|
<div class="float-right">
|
2021-09-15 10:56:30 +02:00
|
|
|
<ng-template [ngIf]="tx.status.confirmed">‎{{ tx.status.block_time * 1000 | date:'yyyy-MM-dd HH:mm' }}</ng-template>
|
2020-02-28 01:09:07 +07:00
|
|
|
<ng-template [ngIf]="!tx.status.confirmed && tx.firstSeen">
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<i><app-time-since [time]="tx.firstSeen" [fastRender]="true"></app-time-since></i>
|
2020-02-28 01:09:07 +07:00
|
|
|
</ng-template>
|
|
|
|
</div>
|
2020-05-17 17:06:09 +07:00
|
|
|
<div class="clearfix"></div>
|
2020-02-16 22:15:07 +07:00
|
|
|
</div>
|
2021-07-06 13:56:32 -03:00
|
|
|
|
2022-03-19 22:15:37 -07:00
|
|
|
<div class="header-bg box" infiniteScroll [alwaysCallback]="true" [infiniteScrollDistance]="2" [infiniteScrollUpDistance]="1.5" [infiniteScrollThrottle]="50" (scrolled)="onScroll()" [attr.data-cy]="'tx-' + i">
|
2021-07-06 13:56:32 -03:00
|
|
|
|
|
|
|
<div *ngIf="errorUnblinded" class="error-unblinded">{{ errorUnblinded }}</div>
|
2020-02-16 22:15:07 +07:00
|
|
|
<div class="row">
|
|
|
|
<div class="col">
|
2022-03-19 22:11:46 -07:00
|
|
|
<table class="table table-borderless smaller-text table-sm table-tx-vin">
|
2020-02-16 22:15:07 +07:00
|
|
|
<tbody>
|
2021-08-18 03:19:08 +05:30
|
|
|
<ng-template ngFor let-vin [ngForOf]="tx['@vinLimit'] ? ((tx.vin.length>12)?tx.vin.slice(0, 10): tx.vin.slice(0, 12)) : tx.vin" [ngForTrackBy]="trackByIndexFn">
|
2022-03-06 13:50:01 +01:00
|
|
|
<tr [ngClass]="{
|
|
|
|
'assetBox': assetsMinimal && vin.prevout && assetsMinimal[vin.prevout.asset] && !vin.is_coinbase && vin.prevout.scriptpubkey_address && tx._unblinded,
|
|
|
|
'highlight': vin.prevout?.scriptpubkey_address === this.address && this.address !== ''
|
|
|
|
}">
|
2020-11-15 17:58:38 +07:00
|
|
|
<td class="arrow-td">
|
|
|
|
<ng-template [ngIf]="vin.prevout === null && !vin.is_pegin" [ngIfElse]="hasPrevout">
|
2021-07-15 17:23:37 -03:00
|
|
|
<span class="grey">
|
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</span>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-template>
|
|
|
|
<ng-template #hasPrevout>
|
2021-12-08 00:26:09 +04:00
|
|
|
<ng-template [ngIf]="vin.is_pegin" [ngIfElse]="defaultPrevout">
|
|
|
|
<a *ngIf="stateService.env.BASE_MODULE === 'liquid'; else localPegInLink" [attr.href]="'https://mempool.space/tx/' + vin.txid" class="red">
|
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</a>
|
|
|
|
<ng-template #localPegInLink>
|
|
|
|
<a [routerLink]="['/tx/', vin.txid]" class="red">
|
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</a>
|
|
|
|
</ng-template>
|
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template #defaultPrevout>
|
2021-10-19 23:24:12 +04:00
|
|
|
<a [routerLink]="['/tx/' | relativeUrl, vin.txid + ':' + vin.vout]" class="red">
|
2021-07-15 17:23:37 -03:00
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
2020-11-15 17:58:38 +07:00
|
|
|
</a>
|
|
|
|
</ng-template>
|
2020-05-09 20:37:50 +07:00
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</td>
|
|
|
|
<td>
|
|
|
|
<div [ngSwitch]="true">
|
2021-12-27 22:54:45 +04:00
|
|
|
<ng-container *ngSwitchCase="vin.is_coinbase"><span i18n="transactions-list.coinbase">Coinbase</span><ng-template [ngIf]="network !== 'liquid' && network !== 'liquidtestnet'"> <span i18n="transactions-list.newly-generated-coins">(Newly Generated Coins)</span></ng-template><br /><a placement="bottom" [ngbTooltip]="vin.scriptsig | hex2ascii"><span class="badge badge-secondary scriptmessage longer">{{ vin.scriptsig | hex2ascii }}</span></a></ng-container>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-container *ngSwitchCase="vin.is_pegin">
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<span i18n="transactions-list.peg-in">Peg-in</span>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-container>
|
2021-02-02 01:32:15 +07:00
|
|
|
<ng-container *ngSwitchCase="vin.prevout && vin.prevout.scriptpubkey_type === 'p2pk'">
|
|
|
|
<span>P2PK</span>
|
|
|
|
</ng-container>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-container *ngSwitchDefault>
|
2021-12-30 16:55:42 +04:00
|
|
|
<ng-template [ngIf]="!vin.prevout" [ngIfElse]="defaultAddress">
|
|
|
|
<span>{{ vin.issuance ? 'Issuance' : 'UNKNOWN' }}</span>
|
|
|
|
</ng-template>
|
|
|
|
<ng-template #defaultAddress>
|
|
|
|
<a [routerLink]="['/address/' | relativeUrl, vin.prevout.scriptpubkey_address]" title="{{ vin.prevout.scriptpubkey_address }}">
|
|
|
|
<span class="d-block d-lg-none">{{ vin.prevout.scriptpubkey_address | shortenString : 16 }}</span>
|
2022-05-16 16:50:42 +02:00
|
|
|
<span class="d-none d-lg-flex justify-content-start">
|
|
|
|
<span class="addr-left flex-grow-1" [style]="vin.prevout.scriptpubkey_address.length > 40 ? 'max-width: 235px' : ''">{{ vin.prevout.scriptpubkey_address }}</span>
|
|
|
|
<span *ngIf="vin.prevout.scriptpubkey_address.length > 40" class="addr-right">{{ vin.prevout.scriptpubkey_address | capAddress: 40: 10 }}</span>
|
|
|
|
</span>
|
2021-12-30 16:55:42 +04:00
|
|
|
</a>
|
|
|
|
<div>
|
|
|
|
<app-address-labels [vin]="vin"></app-address-labels>
|
|
|
|
</div>
|
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-container>
|
2020-06-12 16:17:52 +07:00
|
|
|
</div>
|
2020-11-15 17:58:38 +07:00
|
|
|
</td>
|
2022-01-20 21:31:14 -08:00
|
|
|
<td class="text-right nowrap amount">
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template [ngIf]="vin.prevout && vin.prevout.asset && vin.prevout.asset !== nativeAssetId" [ngIfElse]="defaultOutput">
|
2022-03-07 13:14:34 +01:00
|
|
|
<div *ngIf="assetsMinimal && assetsMinimal[vin.prevout.asset] else assetVinNotFound">
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-container *ngTemplateOutlet="assetBox; context:{ $implicit: vin.prevout }"></ng-container>
|
|
|
|
</div>
|
2022-03-07 13:14:34 +01:00
|
|
|
<ng-template #assetVinNotFound>
|
|
|
|
{{ vin.prevout.value }} <a [routerLink]="['/assets/asset/' | relativeUrl, vin.prevout.asset]">{{ vin.prevout.asset | slice : 0 : 7 }}</a>
|
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-template>
|
|
|
|
<ng-template #defaultOutput>
|
|
|
|
<app-amount *ngIf="vin.prevout" [satoshis]="vin.prevout.value"></app-amount>
|
|
|
|
</ng-template>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2022-03-06 18:27:13 +01:00
|
|
|
<tr *ngIf="(showDetails$ | async) === true">
|
2021-07-06 13:56:32 -03:00
|
|
|
<td colspan="3" class="details-container" >
|
2020-11-16 02:02:16 +07:00
|
|
|
<table class="table table-striped table-borderless details-table mb-3">
|
2020-11-15 17:58:38 +07:00
|
|
|
<tbody>
|
|
|
|
<ng-template [ngIf]="vin.scriptsig">
|
|
|
|
<tr>
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.scriptsig.asm|ScriptSig (ASM)">ScriptSig (ASM)</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;" [innerHTML]="vin.scriptsig_asm | asmStyler"></td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
<tr>
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.scriptsig.hex|ScriptSig (HEX)">ScriptSig (HEX)</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;">{{ vin.scriptsig }}</td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
</ng-template>
|
|
|
|
<tr *ngIf="vin.witness">
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.witness">Witness</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;">{{ vin.witness.join(' ') }}</td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
<tr *ngIf="vin.inner_redeemscript_asm">
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.p2sh-redeem-script">P2SH redeem script</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;" [innerHTML]="vin.inner_redeemscript_asm | asmStyler"></td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
<tr *ngIf="vin.inner_witnessscript_asm">
|
2022-04-04 17:16:34 +02:00
|
|
|
<td *ngIf="vin.prevout && vin.prevout.scriptpubkey_type == 'v1_p2tr'; else p2wsh" i18n="transactions-list.p2tr-tapscript">P2TR tapscript</td>
|
|
|
|
<ng-template #p2wsh>
|
|
|
|
<td i18n="transactions-list.p2wsh-witness-script">P2WSH witness script</td>
|
|
|
|
</ng-template>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;" [innerHTML]="vin.inner_witnessscript_asm | asmStyler"></td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
<tr>
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.nsequence">nSequence</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;">{{ formatHex(vin.sequence) }}</td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
2021-11-10 16:11:04 +04:00
|
|
|
<ng-template [ngIf]="vin.prevout">
|
|
|
|
<tr>
|
|
|
|
<td i18n="transactions-list.previous-output-script">Previous output script</td>
|
|
|
|
<td style="text-align: left;" [innerHTML]="vin.prevout.scriptpubkey_asm | asmStyler"></td>
|
|
|
|
</tr>
|
|
|
|
<tr>
|
|
|
|
<td i18n="transactions-list.previous-output-type">Previous output type</td>
|
|
|
|
<td style="text-align: left;">{{ vin.prevout.scriptpubkey_type?.toUpperCase() }}</td>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
2021-08-18 03:19:08 +05:30
|
|
|
<tr *ngIf="tx.vin.length > 12 && tx['@vinLimit']">
|
2020-03-27 02:34:09 +07:00
|
|
|
<td colspan="3" class="text-center">
|
2022-05-10 17:05:07 +04:00
|
|
|
<button class="btn btn-sm btn-primary mt-2" (click)="tx['@vinLimit'] = false;"><span i18n="show-all">Show all</span> ({{ tx.vin.length - 10 }})</button>
|
2020-03-27 02:34:09 +07:00
|
|
|
</td>
|
|
|
|
</tr>
|
2020-02-16 22:15:07 +07:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
2020-05-28 15:50:19 +07:00
|
|
|
<div class="w-100 d-block d-md-none"></div>
|
2020-03-10 14:46:12 +07:00
|
|
|
<div class="col mobile-bottomcol">
|
2022-03-19 22:11:46 -07:00
|
|
|
<table class="table table-borderless smaller-text table-sm table-tx-vout">
|
2020-02-16 22:15:07 +07:00
|
|
|
<tbody>
|
2021-10-19 23:24:12 +04:00
|
|
|
<ng-template ngFor let-vout let-vindex="index" [ngForOf]="tx['@voutLimit'] && !outputIndex ? ((tx.vout.length > 12) ? tx.vout.slice(0, 10) : tx.vout.slice(0, 12)) : tx.vout" [ngForTrackBy]="trackByIndexFn">
|
2022-03-06 13:50:01 +01:00
|
|
|
<tr [ngClass]="{
|
|
|
|
'assetBox': assetsMinimal && assetsMinimal[vout.asset] && vout.scriptpubkey_address && tx.vin && !tx.vin[0].is_coinbase && tx._unblinded || outputIndex === vindex,
|
|
|
|
'highlight': vout.scriptpubkey_address === this.address && this.address !== ''
|
|
|
|
}">
|
2020-11-15 17:58:38 +07:00
|
|
|
<td>
|
|
|
|
<a *ngIf="vout.scriptpubkey_address; else scriptpubkey_type" [routerLink]="['/address/' | relativeUrl, vout.scriptpubkey_address]" title="{{ vout.scriptpubkey_address }}">
|
|
|
|
<span class="d-block d-lg-none">{{ vout.scriptpubkey_address | shortenString : 16 }}</span>
|
2022-05-16 16:50:42 +02:00
|
|
|
<span class="d-none d-lg-flex justify-content-start">
|
|
|
|
<span class="addr-left flex-grow-1" [style]="vout.scriptpubkey_address.length > 40 ? 'max-width: 235px' : ''">{{ vout.scriptpubkey_address }}</span>
|
|
|
|
<span *ngIf="vout.scriptpubkey_address.length > 40" class="addr-right">{{ vout.scriptpubkey_address | capAddress: 40: 10 }}</span>
|
|
|
|
</span>
|
2020-11-15 17:58:38 +07:00
|
|
|
</a>
|
2022-03-29 16:16:20 +02:00
|
|
|
<div>
|
|
|
|
<app-address-labels [vout]="vout"></app-address-labels>
|
|
|
|
</div>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template #scriptpubkey_type>
|
|
|
|
<ng-template [ngIf]="vout.pegout" [ngIfElse]="defaultscriptpubkey_type">
|
2020-12-06 23:44:08 +07:00
|
|
|
<ng-container i18n="transactions-list.peg-out-to">Peg-out to <ng-container *ngTemplateOutlet="pegOutLink"></ng-container></ng-container>
|
|
|
|
<ng-template #pegOutLink>
|
2021-12-08 00:26:09 +04:00
|
|
|
<a *ngIf="stateService.env.BASE_MODULE === 'liquid'; else localPegoutLink" [attr.href]="'https://mempool.space/address/' + vout.pegout.scriptpubkey_address" title="{{ vout.pegout.scriptpubkey_address }}">
|
2020-12-06 23:44:08 +07:00
|
|
|
<span class="d-block d-lg-none">{{ vout.pegout.scriptpubkey_address | shortenString : 16 }}</span>
|
|
|
|
<span class="d-none d-lg-block">{{ vout.pegout.scriptpubkey_address | shortenString : 35 }}</span>
|
|
|
|
</a>
|
2021-12-08 00:26:09 +04:00
|
|
|
<ng-template #localPegoutLink>
|
|
|
|
<a [routerLink]="['/address/', vout.pegout.scriptpubkey_address]" title="{{ vout.pegout.scriptpubkey_address }}">
|
|
|
|
<span class="d-block d-lg-none">{{ vout.pegout.scriptpubkey_address | shortenString : 16 }}</span>
|
|
|
|
<span class="d-none d-lg-block">{{ vout.pegout.scriptpubkey_address | shortenString : 35 }}</span>
|
|
|
|
</a>
|
|
|
|
</ng-template>
|
2020-12-06 23:44:08 +07:00
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-template>
|
|
|
|
<ng-template #defaultscriptpubkey_type>
|
2020-11-16 16:21:37 +07:00
|
|
|
<ng-template [ngIf]="vout.scriptpubkey_type === 'op_return'" [ngIfElse]="otherPubkeyType">
|
2021-11-16 18:03:43 -03:00
|
|
|
OP_RETURN <a placement="bottom" [ngbTooltip]="vout.scriptpubkey_asm | hex2ascii"><span *ngIf="vout.scriptpubkey_asm !== 'OP_RETURN'" class="badge badge-secondary scriptmessage">{{ vout.scriptpubkey_asm | hex2ascii }}</span></a>
|
2020-11-16 16:21:37 +07:00
|
|
|
</ng-template>
|
|
|
|
<ng-template #otherPubkeyType>{{ vout.scriptpubkey_type | scriptpubkeyType }}</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-template>
|
2020-05-02 16:29:34 +07:00
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</td>
|
2022-01-20 21:31:14 -08:00
|
|
|
<td class="text-right nowrap amount">
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template [ngIf]="vout.asset && vout.asset !== nativeAssetId" [ngIfElse]="defaultOutput">
|
2022-02-22 16:32:54 +04:00
|
|
|
<div *ngIf="assetsMinimal && assetsMinimal[vout.asset] else assetNotFound">
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-container *ngTemplateOutlet="assetBox; context:{ $implicit: vout }"></ng-container>
|
2021-07-06 13:56:32 -03:00
|
|
|
</div>
|
2022-02-22 16:32:54 +04:00
|
|
|
<ng-template #assetNotFound>
|
|
|
|
{{ vout.value }} <a [routerLink]="['/assets/asset/' | relativeUrl, vout.asset]">{{ vout.asset | slice : 0 : 7 }}</a>
|
|
|
|
</ng-template>
|
2020-05-02 16:29:34 +07:00
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template #defaultOutput>
|
|
|
|
<app-amount [satoshis]="vout.value"></app-amount>
|
2020-02-16 22:15:07 +07:00
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</td>
|
2022-03-07 19:45:09 +01:00
|
|
|
<td class="arrow-td">
|
|
|
|
<span *ngIf="!outspends[i] || vout.scriptpubkey_type === 'op_return' || vout.scriptpubkey_type === 'fee' ; else outspend" class="grey">
|
2021-07-15 17:23:37 -03:00
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</span>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template #outspend>
|
2022-03-07 19:45:09 +01:00
|
|
|
<span *ngIf="!outspends[i][vindex] || !outspends[i][vindex].spent; else spent" class="green">
|
2021-07-15 17:23:37 -03:00
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</span>
|
2020-11-15 17:58:38 +07:00
|
|
|
<ng-template #spent>
|
2022-03-07 19:45:09 +01:00
|
|
|
<a *ngIf="outspends[i][vindex].txid else outputNoTxId" [routerLink]="['/tx/' | relativeUrl, outspends[i][vindex].txid]" class="red">
|
2021-07-15 17:23:37 -03:00
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</a>
|
2022-01-15 22:09:04 +04:00
|
|
|
<ng-template #outputNoTxId>
|
|
|
|
<span class="red">
|
|
|
|
<fa-icon [icon]="['fas', 'arrow-alt-circle-right']" [fixedWidth]="true"></fa-icon>
|
|
|
|
</span>
|
|
|
|
</ng-template>
|
2020-11-15 17:58:38 +07:00
|
|
|
</ng-template>
|
|
|
|
</ng-template>
|
|
|
|
</td>
|
|
|
|
</tr>
|
2022-03-06 18:27:13 +01:00
|
|
|
<tr *ngIf="(showDetails$ | async) === true">
|
2021-07-06 13:56:32 -03:00
|
|
|
<td colspan="3" class=" details-container" >
|
2020-11-15 17:58:38 +07:00
|
|
|
<table class="table table-striped table-borderless details-table mb-3">
|
|
|
|
<tbody>
|
|
|
|
<tr>
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.scriptpubkey.asm|ScriptPubKey (ASM)">ScriptPubKey (ASM)</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;" [innerHTML]="vout.scriptpubkey_asm | asmStyler"></td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
<tr>
|
Implement i18n support in frontend using Angular + Transifex + NGINX
This PR adds basic i18n support into the mempool frontend, together with
a smooth workflow for developers and translators to collaborate:
* Using the existing @angular/localize module, developers add i18n
metadata to any frontend strings their new features or changes modify
* Using the new npm script `i18n-extract-from-source`, developers
extract the i18n data from source code into `src/locale/messages.xlf`
* After pushing the updated `src/locale/messages.xlf` to GitHub, the
Transifex service will update its database from the new source data
* Using the Transifex website UI, translators can work together to
translate all the mempool frontend strings into their native languages
* Using the new npm script `i18n-pull-from-transifex`, developers can
pull in completed translations from Transifex, and commit them into git.
This flow requires an API key from Transifex, which can be obtained at
https://www.transifex.com/user/settings/api/ to be used with the python
script installed by `pip install transifex-client` - after preparing
these, run the npm script which will ask you for the API key the first
time. When downloading is complete, you can test building the frontend,
and if successful, commit the new strings files into git.
This PR implements a new locale selector in the footer of the homepage
dashboard, and includes WIP translations for the following languages:
* Czech (cs)
* German (de)
* Japanese (ja)
* Norwegian (nn)
* Spanish (es)
* Swedish (sv)
* Ukrainian (uk)
* Persian (fa)
* Portugese (pt)
* Turkish (tr)
* Dutch (nl)
* French (fr)
* Chinese (zh)
* Slovenian (sl)
* Korean (ko)
* Polish (pl)
The user-agent's `Accept-Language` header is used to automatically
detect their preferred language, which can be manually overriden by the
pull-down selector, which saves their preference to a cookie, which is
used by nginx to serve the correct HTML bundle to the user.
Remaining tasks include adding i18n metadata for strings in the Bisq and
Liquid frontend code, mouseover hover tooltip strings, hard-coded og
metadata inside HTML templates, and many other places. This will be done
in a separate PR.
When upgrading to add i18n support, mempool instance operators must take
care to install the new nginx.conf and nginx-mempool.conf files, and
tweak for their specific site configuration.
Fixes #81
2020-12-02 04:19:33 +09:00
|
|
|
<td i18n="transactions-list.scriptpubkey.hex|ScriptPubKey (HEX)">ScriptPubKey (HEX)</td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;">{{ vout.scriptpubkey }}</td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
|
|
|
<tr *ngIf="vout.scriptpubkey_type == 'op_return'">
|
2022-05-10 17:05:07 +04:00
|
|
|
<td>OP_RETURN <span>data</span></td>
|
2020-12-09 02:22:16 +01:00
|
|
|
<td style="text-align: left;">{{ vout.scriptpubkey_asm | hex2ascii }}</td>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tr>
|
2021-11-10 16:11:04 +04:00
|
|
|
<tr *ngIf="vout.scriptpubkey_type">
|
|
|
|
<td i18n="transactions-list.vout.scriptpubkey-type">Type</td>
|
|
|
|
<td style="text-align: left;">{{ vout.scriptpubkey_type.toUpperCase() }}</td>
|
|
|
|
</tr>
|
2020-11-15 17:58:38 +07:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</td>
|
|
|
|
</tr>
|
|
|
|
</ng-template>
|
2021-10-19 23:24:12 +04:00
|
|
|
<tr *ngIf="tx.vout.length > 12 && tx['@voutLimit'] && !outputIndex">
|
2020-03-27 02:34:09 +07:00
|
|
|
<td colspan="3" class="text-center">
|
2022-05-10 17:05:07 +04:00
|
|
|
<button class="btn btn-sm btn-primary mt-2" (click)="tx['@voutLimit'] = false;"><span i18n="show-all">Show all</span> ({{ tx.vout.length - 10 }})</button>
|
2020-03-27 02:34:09 +07:00
|
|
|
</td>
|
|
|
|
</tr>
|
2020-02-16 22:15:07 +07:00
|
|
|
</tbody>
|
|
|
|
</table>
|
|
|
|
</div>
|
|
|
|
</div>
|
2020-05-21 01:55:46 +07:00
|
|
|
|
2022-03-06 13:50:01 +01:00
|
|
|
<div class="summary">
|
2022-01-24 21:35:13 +01:00
|
|
|
<div class="float-left mt-2-5" *ngIf="!transactionPage && !tx.vin[0].is_coinbase">
|
2021-08-18 18:57:35 +05:30
|
|
|
{{ tx.fee / (tx.weight / 4) | feeRounding }} <span class="symbol" i18n="shared.sat-vbyte|sat/vB">sat/vB</span> <span class="d-none d-sm-inline-block"> – {{ tx.fee | number }} <span class="symbol" i18n="shared.sat|sat">sat</span> <span class="fiat"><app-fiat [value]="tx.fee"></app-fiat></span></span>
|
2020-05-21 01:55:46 +07:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="float-right">
|
2022-03-06 13:50:01 +01:00
|
|
|
<ng-container *ngIf="showConfirmations && latestBlock$ | async as latestBlock">
|
2020-12-06 23:44:08 +07:00
|
|
|
<button *ngIf="tx.status.confirmed; else unconfirmedButton" type="button" class="btn btn-sm btn-success mt-2">
|
|
|
|
<ng-container *ngTemplateOutlet="latestBlock.height - tx.status.block_height + 1 == 1 ? confirmationSingular : confirmationPlural; context: {$implicit: latestBlock.height - tx.status.block_height + 1}"></ng-container>
|
|
|
|
<ng-template #confirmationSingular let-i i18n="shared.confirmation-count.singular|Transaction singular confirmation count">{{ i }} confirmation</ng-template>
|
|
|
|
<ng-template #confirmationPlural let-i i18n="shared.confirmation-count.plural|Transaction plural confirmation count">{{ i }} confirmations</ng-template>
|
|
|
|
</button>
|
2020-05-21 01:55:46 +07:00
|
|
|
<ng-template #unconfirmedButton>
|
2020-12-08 18:24:02 +07:00
|
|
|
<button type="button" class="btn btn-sm btn-danger mt-2" i18n="transaction.unconfirmed|Transaction unconfirmed state">Unconfirmed</button>
|
2020-05-21 01:55:46 +07:00
|
|
|
</ng-template>
|
2022-03-06 13:50:01 +01:00
|
|
|
</ng-container>
|
|
|
|
<button *ngIf="address === ''; else viewingAddress" type="button" class="btn btn-sm btn-primary mt-2 ml-2" (click)="switchCurrency()">
|
2022-02-22 16:53:59 +04:00
|
|
|
<ng-template [ngIf]="(network === 'liquid' || network === 'liquidtestnet') && haveBlindedOutputValues(tx)" [ngIfElse]="defaultAmount" i18n="shared.confidential">Confidential</ng-template>
|
2020-05-21 01:55:46 +07:00
|
|
|
<ng-template #defaultAmount>
|
|
|
|
<app-amount [satoshis]="getTotalTxOutput(tx)"></app-amount>
|
|
|
|
</ng-template>
|
|
|
|
</button>
|
2022-03-06 13:50:01 +01:00
|
|
|
<ng-template #viewingAddress>
|
|
|
|
<button type="button" class="btn btn-sm mt-2 ml-2" (click)="switchCurrency()" [ngClass]="{'btn-success': tx['addressValue'] >= 0, 'btn-danger': tx['addressValue'] < 0}">
|
|
|
|
<app-amount [satoshis]="tx['addressValue']" [addPlus]="true"></app-amount>
|
|
|
|
</button>
|
|
|
|
</ng-template>
|
2020-05-21 01:55:46 +07:00
|
|
|
</div>
|
|
|
|
<div class="clearfix"></div>
|
|
|
|
</div>
|
|
|
|
|
2020-02-16 22:15:07 +07:00
|
|
|
</div>
|
|
|
|
|
2021-05-06 09:00:33 -03:00
|
|
|
<br />
|
2020-02-16 22:15:07 +07:00
|
|
|
|
|
|
|
</ng-container>
|
2020-06-12 16:17:52 +07:00
|
|
|
|
|
|
|
<ng-template #assetBox let-item>
|
2022-01-21 01:32:19 +04:00
|
|
|
{{ item.value / pow(10, assetsMinimal[item.asset][3]) | number: '1.' + assetsMinimal[item.asset][3] + '-' + assetsMinimal[item.asset][3] }} {{ assetsMinimal[item.asset][1] }}
|
2021-05-06 09:00:33 -03:00
|
|
|
<br />
|
2020-06-12 16:17:52 +07:00
|
|
|
{{ assetsMinimal[item.asset][0] }}
|
2021-05-06 09:00:33 -03:00
|
|
|
<br />
|
2022-02-06 18:06:51 +04:00
|
|
|
<a [routerLink]="['/assets/asset/' | relativeUrl, item.asset]">{{ item.asset | shortenString : 13 }}</a>
|
2020-06-12 16:17:52 +07:00
|
|
|
</ng-template>
|