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

Unified Diff: about/author.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
« no previous file with comments | « about.html ('k') | about/extension.js » ('j') | files/background.js » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: about/author.js
===================================================================
new file mode 100644
--- /dev/null
+++ b/about/author.js
@@ -0,0 +1,16 @@
+var authorParent = document.getElementById('author');
+
+var googlePlus = document.createElement('a');
+googlePlus.setAttribute('href', 'https://plus.google.com/u/0/104326872148878117784/');
+var googlePlusLogo = document.createElement('img');
+googlePlusLogo.setAttribute('src', '/images/googlePlus.png');
+googlePlus.appendChild(googlePlusLogo);
+
+var title = document.createElement('h2');
+title.appendChild(document.createTextNode(translate.get('about_author') + ' '));
+title.appendChild(googlePlus);
+authorParent.appendChild(title);
+
+var text = document.createElement('p');
+text.appendChild(document.createTextNode(translate.get('about_author_text')));
+authorParent.appendChild(text);
« no previous file with comments | « about.html ('k') | about/extension.js » ('j') | files/background.js » ('J')

Powered by Google App Engine
This is Rietveld