Skip to content

Commit

Permalink
Fix back button in /team_mitglieder
Browse files Browse the repository at this point in the history
  • Loading branch information
Rayvented committed Feb 7, 2024
1 parent d76e700 commit 14fa2a5
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions src/Controller/TeamMemberController.php
Original file line number Diff line number Diff line change
Expand Up @@ -199,6 +199,7 @@ public function mitgliederAdd(
$currentTeam = null;
$settings = $settingsRepository->findOne();
$useKeycloakGroups = $settings ? $settings->getUseKeycloakGroups() : false;
$this->setBackButton($this->generateUrl('manage_teams'));

if ($teamId) {
$team = $teamRepository->find($teamId);
Expand Down
1 change: 0 additions & 1 deletion templates/team/member.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,6 @@

{% block body %}
<div id="content-team-admin">
<a href="{{ path('manage_teams') }}">{% trans %}backToTeamManagement{% endtrans %}</a>
{# Hide this section if keycloak groups are used to avoid confusing users #}
{% if not useKeycloakGroups %}
<h3>{% trans %}openInvitations{% endtrans %}</h3>
Expand Down

0 comments on commit 14fa2a5

Please sign in to comment.