Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Unified Diff: help/help.js

Issue 8493027: Acquired Opera AdBlock code (Closed)
Patch Set: Created Oct. 2, 2012, 1:15 p.m.
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« files/sources.js ('K') | « help.html ('k') | images/googlePlus.png » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: help/help.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/help/help.js
@@ -0,0 +1,15 @@
+var helpParent = document.getElementById('help');
+
+var title = document.createElement('h2');
+title.appendChild(document.createTextNode(' ' + translate.get('help')));
+helpParent.appendChild(title);
+
+var help = ['help_not_working', 'help_unblocked', 'help_overblocked', 'help_my_overblocked', 'help_unsolved'];
+for(i in help) {
+ var subtitle = document.createElement('h3');
+ subtitle.appendChild(document.createTextNode(translate.get(help[i])));
+ helpParent.appendChild(subtitle);
+ var text = document.createElement('p');
+ text.innerHTML = translate.get(help[i] + '_text');
+ helpParent.appendChild(text);
+}
« files/sources.js ('K') | « help.html ('k') | images/googlePlus.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld