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

Side by Side Diff: help/help.js

Issue 8560083: adblockplusopera: Port UI code from Chrome (Closed)
Patch Set: Created Oct. 18, 2012, 1:07 p.m.
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | Download patch
« no previous file with comments | « help.html ('k') | i18n.js » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 var helpParent = document.getElementById('help');
2
3 var title = document.createElement('h2');
4 title.appendChild(document.createTextNode(' ' + translate.get('help')));
5 helpParent.appendChild(title);
6
7 var help = ['help_not_working', 'help_unblocked', 'help_overblocked', 'help_my_o verblocked', 'help_unsolved'];
8 for(i in help) {
9 var subtitle = document.createElement('h3');
10 subtitle.appendChild(document.createTextNode(translate.get(help[i])));
11 helpParent.appendChild(subtitle);
12 var text = document.createElement('p');
13 text.innerHTML = translate.get(help[i] + '_text');
14 helpParent.appendChild(text);
15 }
OLDNEW
« no previous file with comments | « help.html ('k') | i18n.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld