mirror of
https://github.com/XRPLF/xrpl-dev-portal.git
synced 2025-11-05 04:15:50 +00:00
Add an 'Updated' mode for amendment-disclaimer & fix disclaimer font size in tables
This commit is contained in:
@@ -24,7 +24,7 @@ labels:
|
|||||||
|
|
||||||
[SignerListSetトランザクション][]は、_署名者リスト_(自分のアドレスからのトランザクションを承認できるアドレスのセット)を定義します。署名者リストには、1~32のアドレスを含めることができます。このリストには、自分のアドレスを含めることはできず、重複して登録することはできません。リストの _Signer Weight_ と _Quorum_ の設定を使用することで、どのような組み合わせでどれだけの署名が必要かを制御することができます。
|
[SignerListSetトランザクション][]は、_署名者リスト_(自分のアドレスからのトランザクションを承認できるアドレスのセット)を定義します。署名者リストには、1~32のアドレスを含めることができます。このリストには、自分のアドレスを含めることはできず、重複して登録することはできません。リストの _Signer Weight_ と _Quorum_ の設定を使用することで、どのような組み合わせでどれだけの署名が必要かを制御することができます。
|
||||||
|
|
||||||
_([ExpandedSignerList amendment][]により更新されました。)_
|
{% amendment-disclaimer name="ExpandedSignerList" mode="updated" /%}
|
||||||
|
|
||||||
### Signer Weight
|
### Signer Weight
|
||||||
|
|
||||||
|
|||||||
@@ -143,6 +143,8 @@ component.amendment-status.requires.1: " "
|
|||||||
component.amendment-status.requires.2: が必要です。
|
component.amendment-status.requires.2: が必要です。
|
||||||
component.amendment-status.added.1: " "
|
component.amendment-status.added.1: " "
|
||||||
component.amendment-status.added.2: により追加されました。
|
component.amendment-status.added.2: により追加されました。
|
||||||
|
component.amendment-status.updated.1: " "
|
||||||
|
component.amendment-status.updated.2: により更新されました。
|
||||||
|
|
||||||
# Amendment tracker translations
|
# Amendment tracker translations
|
||||||
amendment.loading: ロード中Amendments...
|
amendment.loading: ロード中Amendments...
|
||||||
|
|||||||
@@ -226,7 +226,8 @@ function AmendmentBadge(props: { amendment: Amendment }) {
|
|||||||
|
|
||||||
export function AmendmentDisclaimer(props: {
|
export function AmendmentDisclaimer(props: {
|
||||||
name: string,
|
name: string,
|
||||||
compact: boolean
|
compact: boolean,
|
||||||
|
mode: string
|
||||||
}) {
|
}) {
|
||||||
const [amendmentStatus, setStatus] = React.useState<Amendment | null>(null)
|
const [amendmentStatus, setStatus] = React.useState<Amendment | null>(null)
|
||||||
const [loading, setLoading] = React.useState(true)
|
const [loading, setLoading] = React.useState(true)
|
||||||
@@ -310,6 +311,30 @@ export function AmendmentDisclaimer(props: {
|
|||||||
</>
|
</>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (props.mode === "updated") {
|
||||||
|
return (
|
||||||
|
<p><em>(
|
||||||
|
{
|
||||||
|
amendmentStatus.date ? (
|
||||||
|
<>
|
||||||
|
{translate("component.amendment-status.updated.1", "Updated by the ")}{link()}
|
||||||
|
{translate("component.amendment-status.updated.2", ".")}
|
||||||
|
{" "}
|
||||||
|
<AmendmentBadge amendment={amendmentStatus} />
|
||||||
|
</>
|
||||||
|
) : (
|
||||||
|
<>
|
||||||
|
{translate("component.amendment-status.updates.1", "The ")}{link()}
|
||||||
|
{translate("component.amendment-status.updates.2", "updates this.")}
|
||||||
|
{" "}
|
||||||
|
<AmendmentBadge amendment={amendmentStatus} />
|
||||||
|
</>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
)</em></p>
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<p><em>(
|
<p><em>(
|
||||||
|
|||||||
@@ -233,6 +233,11 @@ export const amendmentDisclaimer: Schema & { tagName: string } = {
|
|||||||
type: 'Boolean',
|
type: 'Boolean',
|
||||||
required: false,
|
required: false,
|
||||||
default: false
|
default: false
|
||||||
|
},
|
||||||
|
mode: {
|
||||||
|
type: 'String',
|
||||||
|
required: false,
|
||||||
|
default: '' // empty string for "Requires ... / Added by ..."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
render: 'AmendmentDisclaimer',
|
render: 'AmendmentDisclaimer',
|
||||||
|
|||||||
@@ -342,6 +342,12 @@ ul.nav.navbar-nav {
|
|||||||
|
|
||||||
[data-component-name="Markdown/Markdown"] {
|
[data-component-name="Markdown/Markdown"] {
|
||||||
--md-table-font-size: 14px;
|
--md-table-font-size: 14px;
|
||||||
|
--md-table-line-height: 1.5;
|
||||||
|
}
|
||||||
|
|
||||||
|
[data-component-name="Markdown/Markdown"] td p {
|
||||||
|
font-size: var(--md-table-font-size);
|
||||||
|
line-height: var(--md-table-line-height);
|
||||||
}
|
}
|
||||||
|
|
||||||
@media screen and (min-width: 990px) {
|
@media screen and (min-width: 990px) {
|
||||||
|
|||||||
@@ -1,6 +1,4 @@
|
|||||||
---
|
---
|
||||||
html: multi-signing.html
|
|
||||||
parent: accounts.html
|
|
||||||
seo:
|
seo:
|
||||||
description: Use multi-signing for greater security sending transactions.
|
description: Use multi-signing for greater security sending transactions.
|
||||||
labels:
|
labels:
|
||||||
@@ -23,7 +21,7 @@ Before you can multi-sign, you must create a list of which addresses can sign fo
|
|||||||
|
|
||||||
The [SignerListSet transaction][] defines a _signer list_, a set of addresses that can authorize transactions from your address. You can include 1 to 32 addresses in a signer list. The list cannot include your address and there can be no duplicate entries. You can control how many signatures are needed, in which combinations, by using the _Signer Weight_ and _Quorum_ settings in the list.
|
The [SignerListSet transaction][] defines a _signer list_, a set of addresses that can authorize transactions from your address. You can include 1 to 32 addresses in a signer list. The list cannot include your address and there can be no duplicate entries. You can control how many signatures are needed, in which combinations, by using the _Signer Weight_ and _Quorum_ settings in the list.
|
||||||
|
|
||||||
_(Updated by the [ExpandedSignerList amendment][].)_
|
{% amendment-disclaimer name="ExpandedSignerList" mode="updated" /%}
|
||||||
|
|
||||||
### Signer Weight
|
### Signer Weight
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user