Adding apply to join. Fixes #74

This commit is contained in:
Dessalines 2022-01-31 11:50:17 -05:00
parent 545d1c33e6
commit d480c25853
2 changed files with 10 additions and 4 deletions

@ -1 +1 @@
Subproject commit 4b0ac639f5a5bb50c720a86d2cd3b753ea97d480
Subproject commit ef6a2d42a0c03e6e66f1670d828b738a72cb3880

View file

@ -59,9 +59,15 @@ export class Instances extends Component<any, any> {
<br />
<p class="join-desc">{i.description}</p>
<footer>
<a class="button primary" href={`https://${i.domain}`}>
{i18n.t("join")}
</a>
{i.require_application ? (
<a class="button primary" href={`https://${i.domain}`}>
{i18n.t("apply_to_join")}
</a>
) : (
<a class="button primary" href={`https://${i.domain}`}>
{i18n.t("join")}
</a>
)}
</footer>
</div>
))}