Author: humbedooh
Date: Thu Jan 16 13:21:36 2020
New Revision: 1872880
URL: http://svn.apache.org/viewvc?rev=1872880&view=rev
Log:
Emphasis on conforming to guidelines
Modified:
comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js
URL:
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js?rev=1872880&r1=1872879&r2=1872880&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/source/unified.js Thu Jan
16 13:21:36 2020
@@ -280,6 +280,10 @@ function UnifiedEditor_compile() {
}
else if (this.compiles) text += " <button
onclick='publish_report();' class='btn btn-success'>Publish via Whimsy</button>"
else text += " <button class='btn btn-secondary' disabled
title='Please fix the above issues before you can publish'>Publish via
Whimsy</button>"
+
+ if (this.compiles) {
+ text += "<hr/><h4>PLEASE MAKE SURE YOUR REPORT ADHERES TO THE <a
href='https://www.apache.org/foundation/board/reporting#guidelines'>ASF
REPORTING GUIDELINES</a> BEFORE SUBMITTING!</h4>";
+ }
return text;
}
Modified: comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js
URL:
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js?rev=1872880&r1=1872879&r2=1872880&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js (original)
+++ comdev/reporter.apache.org/trunk/site/wizard/js/wizard.js Thu Jan 16
13:21:36 2020
@@ -3586,6 +3586,10 @@ function UnifiedEditor_compile() {
}
else if (this.compiles) text += " <button
onclick='publish_report();' class='btn btn-success'>Publish via Whimsy</button>"
else text += " <button class='btn btn-secondary' disabled
title='Please fix the above issues before you can publish'>Publish via
Whimsy</button>"
+
+ if (this.compiles) {
+ text += "<hr/><h4>PLEASE MAKE SURE YOUR REPORT ADHERES TO THE <a
href='https://www.apache.org/foundation/board/reporting#guidelines'>ASF
REPORTING GUIDELINES</a> BEFORE SUBMITTING!</h4>";
+ }
return text;
}