From 7ee102eecf927c5a481c6d16b5ff08bfe9563bdc Mon Sep 17 00:00:00 2001 From: Igor Minar Date: Thu, 18 Nov 2010 16:53:11 -0800 Subject: add a feedback link to the doc pages --- docs/docs.css | 9 ++++++++- docs/docs.js | 6 ++++++ docs/index.html | 1 + 3 files changed, 15 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/docs.css b/docs/docs.css index 4ade0405..69cfb078 100644 --- a/docs/docs.css +++ b/docs/docs.css @@ -56,7 +56,8 @@ a { } #section { - padding: 1em; + padding: 1em; + width: 100%; } #section h1 { @@ -168,3 +169,9 @@ a { font-weight: bold; color: orange; } + +#feedback { + float: right; + width: 10em; + text-align: right; +} \ No newline at end of file diff --git a/docs/docs.js b/docs/docs.js index 8c836049..a475b7b6 100644 --- a/docs/docs.js +++ b/docs/docs.js @@ -34,6 +34,12 @@ function DocsController($location, $browser, $window) { $window.scroll(0,0); SyntaxHighlighter.highlight(); }; + + this.getFeedbackUrl = function() { + return "mailto:angular@googlegroups.com?" + + "subject=" + escape("Feedback on " + $location.href) + "&" + + "body=" + escape("Hi there,\n\nI read " + $location.href + " and wanted to ask ...."); + } } diff --git a/docs/index.html b/docs/index.html index 12f23fbb..0f2d3003 100644 --- a/docs/index.html +++ b/docs/index.html @@ -39,6 +39,7 @@
+ Report an Issue or Ask a Question
-- cgit v1.2.3