Skip to content

Commit

Permalink
add refresh and show expired button on namespaces list (symbol#186)
Browse files Browse the repository at this point in the history
  • Loading branch information
vincent-lee90 authored and evias committed Apr 2, 2020
1 parent 1bf66f0 commit 3c77916
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
5 changes: 3 additions & 2 deletions src/components/TableDisplay/TableDisplay.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,10 @@
<div class="upper-section-container">
<div class="table-title-container section-title">
<slot name="table-title" />
<div v-if="assetType === 'mosaic'" class="user-operation">
<div class="user-operation">
<Checkbox v-model="showExpired">
{{ $t('show_expired_mosaic') }}
<span v-show="assetType === 'mosaic'">{{ $t('show_expired_mosaics') }}</span>
<span v-show="assetType === 'namespace'">{{ $t('show_expired_namespaces') }}</span>
</Checkbox>
<span @click="onRefresh"><Icon :class="{'animation-rotate':isRefreshing}" type="ios-sync" /></span>
</div>
Expand Down
5 changes: 3 additions & 2 deletions src/language/en-US.json
Original file line number Diff line number Diff line change
Expand Up @@ -1193,8 +1193,9 @@
"clear_staged_transactions": "Discard all transactions",
"see_transactions_other_account": "Display multi-signature account transactions",
"mnemonic_copy":"Copy",
"show_expired_mosaic":"Show expired mosaics",
"refresh_success":"Mosaics updated successfully",
"show_expired_mosaics":"Show expired mosaics",
"show_expired_namespaces":"Show expired namespaces",
"refresh_success":"Updated successfully",
"refresh_failed":"An error ocurred. Please, try again later.",
"create_sub_namespace":"Create sub namespace",
"rules_describe":"Rules description",
Expand Down
3 changes: 2 additions & 1 deletion src/language/zh-CN.json
Original file line number Diff line number Diff line change
Expand Up @@ -1017,7 +1017,8 @@
"removal_greater_than_cosignatories": "最小删除所需余弦比可用余弦多{delta}。请添加余弦或减少最小删除数。",
"page_title_transfer": "转账",
"mnemonic_copy":"复制",
"show_expired_mosaic":"显示过期马赛克",
"show_expired_mosaics":"显示过期马赛克",
"show_expired_namespaces":"显示过期命名空间",
"refresh_success":"刷新成功",
"refresh_failed":"刷新失败",
"create_sub_namespace":"创建子命名空间",
Expand Down

0 comments on commit 3c77916

Please sign in to comment.