diff --git a/src/components/proposals/Breakdown.vue b/src/components/proposals/Breakdown.vue
index 824a450..0f5a436 100644
--- a/src/components/proposals/Breakdown.vue
+++ b/src/components/proposals/Breakdown.vue
@@ -71,8 +71,11 @@ const getTxHash = (vote: AllVotesQuery["proposal_vote"][0]) => {
{{ $t("components.Breakdown.weight") }}
{{ $t("components.Breakdown.time") }}
-
+
{{ Utility.shorten(vote.voter_address) }}
{{ getTxHash(vote) }}
{{ vote.option.replace("VOTE_OPTION_", "") }}
@@ -81,29 +84,49 @@ const getTxHash = (vote: AllVotesQuery["proposal_vote"][0]) => {
- {
+ {
offset = 0;
}
- " />
- {
+ "
+ />
+ {
if (offset > 0) {
prev();
}
}
- " />
+ "
+ />
- {
+ {
next();
}
- " />
- {
+ "
+ />
+ {
offset = Math.floor((votes?.proposal_vote_aggregate.aggregate?.count ?? 0) / limit) * limit;
}
- " />
+ "
+ />
diff --git a/src/components/proposals/ProposalWrapper.vue b/src/components/proposals/ProposalWrapper.vue
index 68b142d..0652c68 100644
--- a/src/components/proposals/ProposalWrapper.vue
+++ b/src/components/proposals/ProposalWrapper.vue
@@ -415,33 +415,35 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${
- {{ $t("proposalpage.badges.votingPeriod")
- }}
+ {{ $t("proposalpage.badges.votingPeriod") }}
- {{ $t("proposalpage.badges.quorumPending") }}
+ {{ $t("proposalpage.badges.quorumPending") }}
{{
$t("proposalpage.badges.depositPeriod")
- }}
+ }}
{{
$t("proposalpage.badges.depositPending")
- }}
+ }}
{{
$t("proposalpage.badges.depositFailed")
- }}
- {{
- $t("proposalpage.badges.rejected")
- }}
+ }}
+ {{ $t("proposalpage.badges.rejected") }}
{{
$t("proposalpage.badges.passed")
- }}
+ }}
-
@@ -500,12 +502,15 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${
{
+ @click="
+ () => {
bus.emit('open');
}
- ">
+ "
+ >
{{ $t("components.ProposalVote.cta") }}
@@ -516,14 +521,22 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${
{
+ @click="
+ () => {
bus.emit('open');
}
- ">
+ "
+ >
{{ $t("components.ProposalDeposit.cta") }}
@@ -627,8 +640,10 @@ onMounted(() => (title.value = `GovGen — #${proposal.value?.proposal[0].id} ${