stable

Clone or download

Read-only

Add read-only badge to non-gerrit clone URLs

Part of story #10409 have a burning parrot git repository view How to test: Browse to a repository. - When the repo is migrated to Gerrit, choosing SSH or HTTPS clone URLs will add a "Read-only" badge. - No change for other repositories. Note: - I know the badge does not match exactly with the mockup. I would prefer to keep this simple and address the badge's look in a later commit in collaboration with Design. Change-Id: I18ac9ecf718d399e63f9d1e2769490137a1b0a4f

Modified Files

Name
M plugins/git/include/Git/Repository/View/ClonePresenter.php +10 −5 Go to diff View file
M plugins/git/include/Git/Repository/View/CloneURLPresenter.php +8 −4 Go to diff View file
M plugins/git/site-content/fr_FR/LC_MESSAGES/tuleap-git.po +3 −0 Go to diff View file
M plugins/git/site-content/tuleap-git.pot +3 −0 Go to diff View file
M plugins/git/templates/repository/clone-bar-url.mustache +1 −0 Go to diff View file
M plugins/git/templates/repository/clone-bar.mustache +3 −0 Go to diff View file
M plugins/git/www/scripts/repository/index.js +13 −2 Go to diff View file
M plugins/git/www/themes/BurningParrot/css/repository/_repository.scss +12 −0 Go to diff View file
M src/www/themes/common/tlp/doc/resources/forms/prepends/example.html +14 −0 Go to diff View file