Project

General

Profile

Actions

Bug #24218

closed

Documentation link on Content Host Registration page should use documentation helper

Added by Adam Ruzicka over 5 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
Web UI
Target version:
Difficulty:
Triaged:
Yes
Fixed in Releases:
Found in Releases:

Description

Description of problem:
Documentation linked from Registration page points to katello plugin docs on theforeman.org, not RH docs

How reproducible:

Steps to Reproduce:
1. Navigate to Content Host Registration page in UI
2. Note the text at the bottom, "Learn more about these packages in the Documentation"
3. Click the 'Documentation' link

Actual results:
User is taken to foreman katello plugin docs

Expected results:
RH Docs

Additional info:

Actions #1

Updated by Adam Ruzicka over 5 years ago

  • Category set to Web UI

The content host registration page needs to use a documentation_url helper to link to the docs so the link can be diverted in downstream theme.

Actions #2

Updated by Justin Sherrill over 5 years ago

  • Subject changed from Documentation link on Content Host Registration page leads to upstream docs to Documentation link on Content Host Registration page should use documentation helper
  • Description updated (diff)
Actions #3

Updated by Justin Sherrill over 5 years ago

  • Target version set to Katello 3.7.1
Actions #4

Updated by Jonathon Turel over 5 years ago

  • Target version changed from Katello 3.7.1 to 931
Actions #5

Updated by Jonathon Turel over 5 years ago

Adam, do you have an example of the aforementioned 'documentation helper' to help whoever works on this (including me)?

Actions #6

Updated by Adam Ruzicka over 5 years ago

In Foreman there's the documentation_url1 helper. In downstream it gets overriden to return links to the product documentation.

[1] - https://github.com/theforeman/foreman/blob/develop/app/helpers/application_helper.rb#L453

Actions #7

Updated by Christine Fouant over 5 years ago

  • Status changed from New to Closed
Actions #8

Updated by Jonathon Turel over 5 years ago

  • Target version changed from 931 to Katello 3.9.0
Actions

Also available in: Atom PDF