Skip to content
Browse files

Merge branch 'master' of github.com:igorsobreira/wifimap

  • Loading branch information...
2 parents ef34fd8 + 108c20f commit 700a3edaf9eb97287d3bb44ae6cb656c98d65719 @andrewsmedina andrewsmedina committed Aug 15, 2010
Showing with 27 additions and 0 deletions.
  1. +6 −0 wifimap/media/style/base.css
  2. +21 −0 wifimap/spots/templates/spots/detail.html
View
6 wifimap/media/style/base.css
@@ -265,3 +265,9 @@ footer {
display: inline-block;
}
+#comments {
+ display: block;
+ clear: both;
+ margin-top: 20px;
+}
+
View
21 wifimap/spots/templates/spots/detail.html
@@ -13,3 +13,24 @@
</div>
</div>
+<section id="comments">
+ <h1>Comments</h1>
+ <div id="disqus_thread"></div>
+
+ <script type="text/javascript">
+ /**
+ * var disqus_identifier; [Optional but recommended: Define a unique identifier (e.g. post id or slug) for this thread]
+ */
+ //disqus_developer=1;
+ disqus_url="{% url spot_detail spot.id %}";
+
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http://wifimap.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+ </script>
+ <noscript>Please enable JavaScript to view the <a href="http://disqus.com/?ref_noscript=wifimap">comments powered by Disqus.</a></noscript>
+ <a href="http://disqus.com" class="dsq-brlink">blog comments powered by <span class="logo-disqus">Disqus</span></a>
+</section>
+

0 comments on commit 700a3ed

Please sign in to comment.
Something went wrong with that request. Please try again.