Add inline help text for hosting services in Admin ADD REPOSITORY page.
Review Request #10890 — Created Feb. 6, 2020 and updated — Latest diff uploaded
Create
docs_url
andsummary
attributes in classHostingService
andSCMTools
.Fill details in each hosting services (not include Kiln On Demand and Review Board Gateway, because right now we don't have references provided by ReviewBoard Manual.
Hosting Servive:
$hostingHelp
is a new paragraph withclass="hosting-help-text"
in the template for theRepositoryForm
javascript file. By default,$hostingHelp
will nonvisiable. When users select a hosting service, the inline text will show up.SCMTools:
$repoHelp
is a new paragraph withclass="repo-help-text"
in the template for theRepositoryForm
javascript file. Only when a user click 'custom' as the hosting service,$repoHelp
will visiable. When users select a repo type, the inline text will show up.
Tested in Google Chrome, Firefox and Safari. Inline Text of each hosting service displays correctly in the page.
Tested./tests/runtests.py reviewboard.webapi.tests.test_hosting_service
successfully.