kopia lustrzana https://github.com/OpenDroneMap/WebODM
Minor fix for lightning plugin
rodzic
4bc22d39a2
commit
1e43437804
|
@ -2,7 +2,7 @@
|
||||||
"name": "Lightning",
|
"name": "Lightning",
|
||||||
"webodmMinVersion": "0.7.1",
|
"webodmMinVersion": "0.7.1",
|
||||||
"description": "Process in the cloud with webodm.net",
|
"description": "Process in the cloud with webodm.net",
|
||||||
"version": "0.9.0",
|
"version": "1.0.0",
|
||||||
"author": "Piero Toffanin",
|
"author": "Piero Toffanin",
|
||||||
"email": "pt@masseranolabs.com",
|
"email": "pt@masseranolabs.com",
|
||||||
"repository": "https://github.com/OpenDroneMap/WebODM",
|
"repository": "https://github.com/OpenDroneMap/WebODM",
|
||||||
|
|
|
@ -113,7 +113,7 @@ export default class Dashboard extends React.Component {
|
||||||
let balance = "";
|
let balance = "";
|
||||||
if (user){
|
if (user){
|
||||||
balance = (<span><strong>{ user.balance }</strong> {_("credits")}</span>);
|
balance = (<span><strong>{ user.balance }</strong> {_("credits")}</span>);
|
||||||
if (user.plan !== null){
|
if (user.plan !== null && !user.node.limits.freeTasksPerMonth){
|
||||||
balance = (<span><strong>{_("Unlimited")}</strong></span>);
|
balance = (<span><strong>{_("Unlimited")}</strong></span>);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -37,7 +37,7 @@ export default class LightningPanel extends React.Component {
|
||||||
{ !apiKey ?
|
{ !apiKey ?
|
||||||
<div>
|
<div>
|
||||||
<h4><i className="fa fa-bolt"/> {_("Lightning")}</h4>
|
<h4><i className="fa fa-bolt"/> {_("Lightning")}</h4>
|
||||||
{_("Lightning is a service that allows you to quickly process small and large datasets using high performance servers in the cloud.")}
|
<p>{_("Lightning is a service that allows you to quickly process small and large datasets using high performance servers in the cloud.")}</p>
|
||||||
<Trans params={{ link: '<a href="https://webodm.net" target="_blank">webodm.net</a>', register: `<a href="https://webodm.net/register" target="_blank">${_("register")}</a>`}}>
|
<Trans params={{ link: '<a href="https://webodm.net" target="_blank">webodm.net</a>', register: `<a href="https://webodm.net/register" target="_blank">${_("register")}</a>`}}>
|
||||||
{_("Below you can enter your %(link)s credentials to sync your account and automatically setup a new processing node. If you don't have an account, you can %(register)s for free.")}</Trans>
|
{_("Below you can enter your %(link)s credentials to sync your account and automatically setup a new processing node. If you don't have an account, you can %(register)s for free.")}</Trans>
|
||||||
<Login onLogin={this.handleLogin} />
|
<Login onLogin={this.handleLogin} />
|
||||||
|
|
Ładowanie…
Reference in New Issue