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_urlandsummaryattributes in classHostingServiceandSCMTools.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:
$hostingHelpis a new paragraph withclass="hosting-help-text"in the template for theRepositoryFormjavascript file. By default,$hostingHelpwill nonvisiable. When users select a hosting service, the inline text will show up.SCMTools:
$repoHelpis a new paragraph withclass="repo-help-text"in the template for theRepositoryFormjavascript file. Only when a user click 'custom' as the hosting service,$repoHelpwill 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_servicesuccessfully.