Add support page

This commit is contained in:
Thomas 2019-08-10 15:38:12 +02:00
parent a40cc8a4fa
commit 2095cbce9d
2 changed files with 5 additions and 1 deletions

View file

@ -56,7 +56,7 @@ class FediPlanController extends AbstractController
}else{
$mastodon_api->set_url("https://" . $host);
$mastodon_api->set_scopes([]);
$createApp = $mastodon_api->create_app("FediPlan", [], '', "https://fediplan.fedilab.app");
$createApp = $mastodon_api->create_app("FediPlan", [], '', "https://plan.fedilab.app");
if( isset($createApp['error']) ){
$form->get('host')->addError(new FormError($translator->trans('error.instance.mastodon_client_id',[],'fediplan','en')));
}else{

View file

@ -24,6 +24,10 @@
<li class="nav-item">
<a class="nav-link" href="{{ path('logout') }}" tabindex="-1" >Logout</a>
</li>
<li class="nav-item">
<a class="nav-link" href="https://fedilab.app/page/donations/" tabindex="-1" >Support my work</a>
</li>
{% endif %}
</ul>
</div>