-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f95eb1
commit 04a4bc8
Showing
8 changed files
with
278 additions
and
163 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,55 @@ | ||
<template> | ||
<v-list-item> | ||
<v-list-item-content> | ||
<v-list-item-title class="hash"> | ||
<span class="mr-2">{{ item.action }}</span> | ||
<template v-if="item.action == 'copy'"> | ||
<span | ||
class="text--secondary font-weight-light" | ||
v-if="item.destination_ptr" | ||
>to</span> | ||
<span | ||
class="text--secondary font-weight-light" | ||
v-else-if="item.source_ptr" | ||
>from</span> | ||
</template> | ||
</v-list-item-title> | ||
<v-list-item-subtitle> | ||
<span class="overline">{{ helpers.formatDatetime(item.timestamp) }}</span> | ||
</v-list-item-subtitle> | ||
</v-list-item-content> | ||
<v-list-item-action> | ||
<v-list-item-action-text v-if="item.action == 'copy'"> | ||
<v-btn | ||
:to="`/${network}/big_map/${item.destination_ptr}`" | ||
class="text--primary" | ||
text | ||
small | ||
v-if="item.destination_ptr" | ||
> | ||
<v-icon small class="mr-1 text--secondary">mdi-link-variant</v-icon> | ||
Big Map {{ item.destination_ptr }} | ||
</v-btn> | ||
<v-btn | ||
:to="`/${network}/big_map/${item.source_ptr}`" | ||
class="text--primary" | ||
text | ||
small | ||
v-else-if="item.source_ptr" | ||
> | ||
<v-icon small class="mr-1 text--secondary">mdi-link-variant</v-icon> | ||
Big Map {{ item.source_ptr }} | ||
</v-btn> | ||
</v-list-item-action-text> | ||
</v-list-item-action> | ||
</v-list-item> | ||
</template> | ||
|
||
<script> | ||
export default { | ||
name: "BigMapAction", | ||
props: { | ||
item: Object | ||
} | ||
} | ||
</script> |
Oops, something went wrong.