mirror of
https://framagit.org/tom79/fediplan.git
synced 2025-04-05 21:51:50 +02:00
Add support page
This commit is contained in:
parent
a40cc8a4fa
commit
2095cbce9d
2 changed files with 5 additions and 1 deletions
|
@ -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{
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Add table
Reference in a new issue