stable

Clone or download

Read-only

Display custom license agreements in FRS plugin

If you don't already have setup some data in db see previous commit: I2ddc6c563626eeff104641f1f12cd033d633c8aa The new modal should be show on configured package. The default modal on others when configured. Part of story #14008 customize FRS Download Agreement in my project Change-Id: I56f8dd684b3a8b628f12369d1dddcd01369ff558

Modified Files

Name
M plugins/frs/include/FRS/ReleasePresenter.php +10 −3 Go to diff View file
M plugins/frs/include/frsPlugin.php +8 −1 Go to diff View file
M plugins/frs/templates/release.mustache +1 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/app-controller.js +3 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/app.js +2 −0 Go to diff View file
A plugins/frs/www/js/angular/src/app/file-download/custom-license-modal/_custom-license-modal.scss +5 −0 Go to diff View file
A plugins/frs/www/js/angular/src/app/file-download/custom-license-modal/custom-license-modal-controller.js +17 −0 Go to diff View file
A plugins/frs/www/js/angular/src/app/file-download/custom-license-modal/custom-license-modal.tpl.html +26 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-controller.js +20 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-controller.test.js +30 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/file-download/file-download-directive.js +2 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files-controller.js +2 −1 Go to diff View file
M plugins/frs/www/js/angular/src/app/release/files/files.tpl.html +1 −0 Go to diff View file
M plugins/frs/www/js/angular/src/app/shared-properties-service.js +13 −2 Go to diff View file
A src/common/FRS/LicenseAgreement/LicenseAgreement.php +52 −0 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementDao.php +14 −1 Go to diff View file
M src/common/FRS/LicenseAgreement/LicenseAgreementDisplay.php +1 −1 Go to diff View file
A src/common/FRS/LicenseAgreement/LicenseAgreementFactory.php +46 −0 Go to diff View file
A src/common/FRS/LicenseAgreement/LicenseAgreementInterface.php +29 −0 Go to diff View file
A src/common/FRS/LicenseAgreement/NullLicenseAgreement.php +32 −0 Go to diff View file