mirror of
https://github.com/Qortal/qortal-ui.git
synced 2025-02-11 17:55:51 +00:00
Merge pull request #145 from PhillipLangMartinez/q-apps
qdn publish add name,service, identifier modal
This commit is contained in:
commit
988d6eea68
@ -627,7 +627,10 @@
|
||||
"bchange26": "Always authenticate automatically",
|
||||
"bchange27": "Reject",
|
||||
"bchange28": "Accept",
|
||||
"bchange29": "Instant publish (requires 0.001 QORT fee)"
|
||||
"bchange29": "Instant publish (requires 0.001 QORT fee)",
|
||||
"bchange30": "Service",
|
||||
"bchange31": "Name",
|
||||
"bchange32": "Identifier"
|
||||
},
|
||||
"datapage": {
|
||||
"dchange1": "Data Management",
|
||||
|
@ -557,7 +557,12 @@ class WebBrowser extends LitElement {
|
||||
identifier = 'default';
|
||||
}
|
||||
const res2 = await showModalAndWait(
|
||||
actions.PUBLISH_QDN_RESOURCE
|
||||
actions.PUBLISH_QDN_RESOURCE,
|
||||
{
|
||||
name,
|
||||
identifier,
|
||||
service
|
||||
}
|
||||
);
|
||||
if (res2.action === 'accept') {
|
||||
const worker = new WebWorker();
|
||||
@ -1577,6 +1582,9 @@ async function showModalAndWait(type, data) {
|
||||
` : ''}
|
||||
${type === actions.PUBLISH_QDN_RESOURCE ? `<div class="modal-subcontainer">
|
||||
<p class="modal-paragraph">${get("browserpage.bchange19")}</p>
|
||||
<p style="font-size: 16px;overflow-wrap: anywhere;" class="modal-paragraph"><span style="font-weight: bold">${get("browserpage.bchange30")}:</span> ${data.service}</p>
|
||||
<p style="font-size: 16px;overflow-wrap: anywhere;" class="modal-paragraph"><span style="font-weight: bold">${get("browserpage.bchange31")}:</span> ${data.name}</p>
|
||||
<p style="font-size: 16px;overflow-wrap: anywhere;" class="modal-paragraph"><span style="font-weight: bold">${get("browserpage.bchange32")}:</span> ${data.identifier}</p>
|
||||
<div class="checkbox-row">
|
||||
<label for="isWithFee" id="isWithFeeLabel">
|
||||
${get('browserpage.bchange29')}
|
||||
|
Loading…
x
Reference in New Issue
Block a user