Require applications (#75)

* Updating submodules

* Adding apply to join. Fixes #74
This commit is contained in:
Dessalines 2022-01-31 16:50:20 -05:00 committed by GitHub
parent bbdf262d59
commit 161e3512dc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 13 additions and 7 deletions

@ -1 +1 @@
Subproject commit 9cf6cec903954321a2544570a902fb9a11f6f0c9 Subproject commit ef6a2d42a0c03e6e66f1670d828b738a72cb3880

@ -1 +1 @@
Subproject commit ce1c36017c466aa372f494be25b9ad6a180b874f Subproject commit ad64a79bd88297ebb8a1fb17dfc3e459a734280d

@ -1 +1 @@
Subproject commit 42c3421411a7464eeabebc53838f00ab953a0a5f Subproject commit fa04408c5a532d129a3c4060367482c207fc92a7

@ -1 +1 @@
Subproject commit 2ed5a57c957fb90a7c27b36e50815350afa7f0b4 Subproject commit 00e4efbef6c3ac34cd2f5f444a95eddce9ec12d7

View file

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