Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix link for LDAP admin

Oliver Güntherdeeb72e1dc75
diff --git a/app/views/ldap_auth_sources/_form.html.erb b/app/views/ldap_auth_sources/_form.html.erb
index 1abac258bed..13beef62bcc 100644
--- a/app/views/ldap_auth_sources/_form.html.erb
+++ b/app/views/ldap_auth_sources/_form.html.erb
@@ -38,7 +38,14 @@ See COPYRIGHT and LICENSE files for more details.
<div class="op-toast -info">
<a title="close" class="op-toast--close icon-context icon-close"></a>
<div class="op-toast--content">
- <%= t("ldap_auth_sources.technical_warning_html") %>
+ <%=
+ link_translate(
+ "ldap_auth_sources.technical_warning",
+ links: {
+ docs_url: %i[sysadmin_docs ldap]
+ }
+ )
+ %>
</div>
</div>
<% end %>
diff --git a/config/locales/en.yml b/config/locales/en.yml
index 9a75d38952e..061b25d7a8a 100644
--- a/config/locales/en.yml
+++ b/config/locales/en.yml
@@ -210,10 +210,9 @@ en:
ldap_auth_failed: "Could not authenticate at the LDAP-Server."
sync_failed: "Failed to synchronize from LDAP: %{message}."
back_to_index: "Click here to go back to the list of connection."
- technical_warning_html: |
+ technical_warning: |
This LDAP form requires technical knowledge of your LDAP / Active Directory setup.
- <br>
- <a href="https://www.openproject.org/help/administration/manage-ldap-authentication/">Please visit our documentation for detailed instructions</a>.
+ [Please visit our documentation for detailed instructions](docs_url).
attribute_texts:
name: Arbitrary name of the LDAP connection
host: LDAP host name or IP address
diff --git a/config/static_links.yml b/config/static_links.yml
index db417d1b9f4..3fb591a7a0c 100644
--- a/config/static_links.yml
+++ b/config/static_links.yml
@@ -166,6 +166,8 @@ storage_docs:
troubleshooting:
href: https://www.openproject.org/docs/user-guide/file-management/nextcloud-integration/#possible-errors-and-troubleshooting
sysadmin_docs:
+ ldap:
+ href: https://www.openproject.org/docs/system-admin-guide/authentication/ldap-connections/
oidc:
href: https://www.openproject.org/docs/system-admin-guide/authentication/openid-providers/
oidc_acr_values: