Split repository SSH key notice out into a separate template.

Review Request #14024 — Created July 11, 2024 and submitted — Latest diff uploaded

Information

Review Board
release-7.x

Reviewers

We added the SSH key notice to the repository form to match something we
had done for RBCommons, but did so in a way that wasn't extensible for
cases such as when the create SSH key link is different. This change
moves it out into its own template so we can replace it if we want.

This also fixes the error notice for when a hosting service account was
linked to use the form variable instead of adminform.

Verified that the SSH key notice still looked correct in the repository
form.

Diff Revision 1 (Latest)

Commits

First Last Summary ID Author
Split repository SSH key notice out into a separate template.
We added the SSH key notice to the repository form to match something we had done for RBCommons, but did so in a way that wasn't extensible for cases such as when the create SSH key link is different. This change moves it out into its own template so we can replace it if we want. This also fixes the error notice for when a hosting service account was linked to use the ``form`` variable instead of ``adminform``. Testing Done: Verified that the SSH key notice still looked correct in the repository form.
008e106a1a13ec05f50c5ab3349332a07fce16dd David Trowbridge
reviewboard/templates/admin/repository_confirmations.html
reviewboard/templates/admin/repository_ssh_key.html
reviewboard/templates/admin/scmtools/repository/change_form.html
Loading...