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

Unified Diff: common/back.js

Issue 8493027: Acquired Opera AdBlock code (Closed)
Patch Set: Created Oct. 8, 2012, 5:58 a.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
« no previous file with comments | « no previous file | common/copyright.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: common/back.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/common/back.js
@@ -0,0 +1,12 @@
+var backParent = document.getElementById('back');
+
+var title = document.createElement('h2');
+title.appendChild(document.createTextNode(translate.get('preferences') + ' '));
+backParent.appendChild(title);
+
+var link = document.createElement('a');
+link.href = 'options.html';
+link.appendChild(document.createTextNode(translate.get('to_preferences')));
+var text = document.createElement('p');
+text.appendChild(link);
+backParent.appendChild(text);
« no previous file with comments | « no previous file | common/copyright.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld