Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ changes.

### Changed

-
- Change labelling of governance action metadata anchor
- Change labelling and order of new constitution governance action details

### Removed

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,17 +12,17 @@ export const GovernanceActionNewConstitutionDetailsTabContent = ({
return (
<Box>
<GovernanceActionCardElement
isCopyButton
label="Data Hash"
text={(details?.anchor as NewConstitutionAnchor)?.dataHash as string}
dataTestId="new-constitution-data-hash"
isLinkButton
label="New constitution link"
text={(details?.anchor as NewConstitutionAnchor)?.url as string}
dataTestId="new-constitution-url"
textVariant={screenWidth > 1600 ? "longText" : "oneLine"}
/>
<GovernanceActionCardElement
isCopyButton
label="New Constitution Link"
text={(details?.anchor as NewConstitutionAnchor)?.url as string}
dataTestId="new-constitution-url"
label="New constitution hash"
text={(details?.anchor as NewConstitutionAnchor)?.dataHash as string}
dataTestId="new-constitution-data-hash"
textVariant={screenWidth > 1600 ? "longText" : "oneLine"}
/>
</Box>
Expand Down
4 changes: 2 additions & 2 deletions govtool/frontend/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -344,8 +344,8 @@
"about": "About",
"abstract": "Abstract",
"amount": "Amount:",
"anchorURL": "Anchor URL",
"anchorHash": "Anchor Hash",
"anchorURL": "Metadata anchor link",
"anchorHash": "Metadata anchor hash",
"backToGovActions": "Back to Governance Actions",
"castVote": "<0>You voted {{vote}} on this proposal</0>\non {{date}} (Epoch {{epoch}})",
"castVoteDeadline": "You can change your vote up to {{date}} (Epoch {{epoch}})",
Expand Down