From e42d62d1c6cee939745612f2dfb850720711f1b1 Mon Sep 17 00:00:00 2001 From: Ryan Lue Date: Wed, 5 Feb 2020 16:53:39 +0800 Subject: [PATCH] Fix broken references to Zammad documentation pages Recent changes to the file structure of Zammad's official documentation[0] (commit 2717255) have broken some web links in the Zammad application. This commit fixes those broken links. [0]: https://github.com/zammad/zammad-admin-documentation/commit/271725591cfcfdbe71357fb97cc3d23ec5b1ed8f --- README.md | 2 +- app/assets/javascripts/app/views/facebook/app_config.jst.eco | 2 +- app/assets/javascripts/app/views/telegram/bot_add.jst.eco | 2 +- app/assets/javascripts/app/views/twitter/app_config.jst.eco | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 2eedfe4ee..c190dfb49 100644 --- a/README.md +++ b/README.md @@ -33,7 +33,7 @@ https://zammad.org/screenshots ## REST API -https://docs.zammad.org/en/latest/api-intro.html +https://docs.zammad.org/en/latest/api/intro.html ## Contributing diff --git a/app/assets/javascripts/app/views/facebook/app_config.jst.eco b/app/assets/javascripts/app/views/facebook/app_config.jst.eco index 8bc73e06a..1151e66ca 100644 --- a/app/assets/javascripts/app/views/facebook/app_config.jst.eco +++ b/app/assets/javascripts/app/views/facebook/app_config.jst.eco @@ -1,6 +1,6 @@

- <%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Facebook App', 'https://admin-docs.zammad.org/en/latest/channels-facebook.html') %> + <%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Facebook App', 'https://admin-docs.zammad.org/en/latest/channels/facebook.html') %>

<%- @T('Enter your %s App Keys', 'Facebook') %>

diff --git a/app/assets/javascripts/app/views/telegram/bot_add.jst.eco b/app/assets/javascripts/app/views/telegram/bot_add.jst.eco index 07c9860ba..5a2d31a39 100644 --- a/app/assets/javascripts/app/views/telegram/bot_add.jst.eco +++ b/app/assets/javascripts/app/views/telegram/bot_add.jst.eco @@ -1,6 +1,6 @@

- <%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Telegram Bot', 'https://admin-docs.zammad.org/en/latest/channels-telegram.html') %> + <%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Telegram Bot', 'https://admin-docs.zammad.org/en/latest/channels/telegram.html') %>

<%- @T('Enter your %s App Keys', 'Telegram') %>

diff --git a/app/assets/javascripts/app/views/twitter/app_config.jst.eco b/app/assets/javascripts/app/views/twitter/app_config.jst.eco index 6dec98ee3..b00894607 100644 --- a/app/assets/javascripts/app/views/twitter/app_config.jst.eco +++ b/app/assets/javascripts/app/views/twitter/app_config.jst.eco @@ -1,6 +1,6 @@

- <%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Twitter App', 'https://admin-docs.zammad.org/en/latest/channels-twitter.html') %> + <%- @T('The tutorial on how to manage a %s is hosted on our online documentation %l.', 'Twitter App', 'https://admin-docs.zammad.org/en/latest/channels/twitter.html') %>

<%- @T('Enter your %s App Keys', 'Twitter') %>