parent
54409e92fe
commit
032bfc99b4
|
@ -2,6 +2,7 @@ const html = require('choo/html');
|
||||||
const assets = require('../../common/assets');
|
const assets = require('../../common/assets');
|
||||||
|
|
||||||
module.exports = function(state) {
|
module.exports = function(state) {
|
||||||
|
const WEB_UI = state.WEB_UI;
|
||||||
const btnText = state.user.loggedIn ? 'okButton' : 'sendYourFilesLink';
|
const btnText = state.user.loggedIn ? 'okButton' : 'sendYourFilesLink';
|
||||||
return html`
|
return html`
|
||||||
<div
|
<div
|
||||||
|
@ -23,7 +24,7 @@ module.exports = function(state) {
|
||||||
${state.translate('trySendDescription')}
|
${state.translate('trySendDescription')}
|
||||||
</p>
|
</p>
|
||||||
<p class="my-5">
|
<p class="my-5">
|
||||||
<a href="/" class="btn rounded-lg flex items-center mt-4" role="button"
|
<a href="${WEB_UI.TRY_SEND_URL}" class="btn rounded-lg flex items-center mt-4" role="button"
|
||||||
>${state.translate(btnText)}</a
|
>${state.translate(btnText)}</a
|
||||||
>
|
>
|
||||||
</p>
|
</p>
|
||||||
|
|
Loading…
Reference in New Issue