stable

Clone or download

Read-only

story #6256: add the tracker email info in the report header

If the feature is activated for the tracker (and insecure emailgateway is activated), then an envelope icon is displayed in the toolbar. When the user clicks on it, a popover is displayed and show the tracker email address used to create artifacts. A button allow the user to copy the address directly to the clipboard. If the clipboard is not accessible in the browser then no button, a link is displayed instead, so that we gracefully support old browsers. As IE Edge displays a ugly security box when we try to access the clipboard, we don't offer the copy to clipboard possibility. Change-Id: I626cadcb267ec99103dc8cd06ac0eee174cc9039

Modified Files

Name
M plugins/tracker/include/Tracker/Artifact/Renderer/EditRenderer.class.php +18 −3 Go to diff View file
M plugins/tracker/include/Tracker/Tracker.class.php +30 −3 Go to diff View file
M plugins/tracker/include/Tracker/TrackerManager.class.php +1 −0 Go to diff View file
M plugins/tracker/include/trackerPlugin.class.php +1 −0 Go to diff View file
M plugins/tracker/site-content/en_US/script_locale.txt +6 −0 Go to diff View file
M plugins/tracker/site-content/fr_FR/script_locale.txt +6 −0 Go to diff View file
M plugins/tracker/templates/report/header_in_report.mustache +14 −14 Go to diff View file
A plugins/tracker/www/scripts/TrackerEmailCopyPaste.js +132 −0 Go to diff View file
M plugins/tracker/www/themes/default/css/style.less +29 −1 Go to diff View file
M src/www/scripts/tuleap/account-maintenance.js +4 −4 Go to diff View file
M src/www/scripts/tuleap/browser-compatibility.js +19 −2 Go to diff View file