]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-20611 Fix link to github setting page
authorMathieu Suen <mathieu.suen@sonarsource.com>
Tue, 3 Oct 2023 09:28:37 +0000 (11:28 +0200)
committersonartech <sonartech@sonarsource.com>
Tue, 3 Oct 2023 20:02:48 +0000 (20:02 +0000)
server/sonar-web/src/main/js/app/components/GitHubSynchronisationWarning.tsx
server/sonar-web/src/main/js/apps/settings/components/almIntegration/AlmIntegrationRenderer.tsx

index e7dc987b52da0499ca44f07d0d1060925a41c752..09860d1d703306130ed3b4e6dd431591caf1bdbd 100644 (file)
@@ -67,7 +67,7 @@ function LastSyncAlert({ info, short }: LastSyncProps) {
               values={{
                 date: formattedDate,
                 details: (
-                  <Link to="../settings?category=authentication&tab=github">
+                  <Link to="/admin/settings?category=authentication&tab=github">
                     {translate('settings.authentication.github.synchronization_details_link')}
                   </Link>
                 ),
@@ -88,7 +88,7 @@ function LastSyncAlert({ info, short }: LastSyncProps) {
           defaultMessage={translate('settings.authentication.github.synchronization_failed_short')}
           values={{
             details: (
-              <Link to="../settings?category=authentication&tab=github">
+              <Link to="/admin/settings?category=authentication&tab=github">
                 {translate('settings.authentication.github.synchronization_details_link')}
               </Link>
             ),
index a1430ead8af2edfca1538bfae217380bf3d77944..606f9753b8f7453a9da46280246a76b939782ccd 100644 (file)
@@ -149,7 +149,7 @@ export default function AlmIntegrationRenderer(props: AlmIntegrationRendererProp
             defaultMessage={translate('settings.almintegration.empty.server_base_url')}
             values={{
               serverBaseUrl: (
-                <Link to="../settings?category=general#sonar.core.serverBaseURL">
+                <Link to="/admin/settings?category=general#sonar.core.serverBaseURL">
                   {translate('settings.almintegration.empty.server_base_url.setting_link')}
                 </Link>
               ),