Skip to content

Commit

Permalink
Fix up talk links, navigation
Browse files Browse the repository at this point in the history
  • Loading branch information
brian-c committed Dec 11, 2012
1 parent febcad2 commit c8a1d44
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 8 deletions.
4 changes: 0 additions & 4 deletions app/index.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ googleAnalytics = require 'zooniverse/lib/google_analytics'
ContentPage = require 'controllers/content_page'
feedbackContent = require 'views/feedback_page'

# Temporarily disable Talk links
$(document).on 'click', 'a[href*="talk"]', (e) ->
e.preventDefault(); alert 'Talk is currently unavailable. Sorry!'

googleAnalytics.init
account: 'UA-1224199-36'
domain: 'snapshotserengeti.org'
Expand Down
2 changes: 1 addition & 1 deletion app/models/subject.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ class Subject extends Model
""".replace '\n', '', 'g'

talkHref: ->
"http://talk.snapshotserengeti.org/objects/#{@zooniverseId}"
"http://talk.snapshotserengeti.org/subjects/#{@zooniverseId}"

facebookHref: ->
title = 'Snapshot Serengeti'
Expand Down
5 changes: 2 additions & 3 deletions public/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,8 @@ <h1><a href="/"><img src="images/wordmark.png" alt="Snapshot Serengeti" /></a></
<li><a href="#/about" data-i18n="navigation.about">About</a></li>
<li><a href="#/classify" data-i18n="navigation.classify">Classify</a></li>
<li><a href="#/profile" data-i18n="navigation.profile">Profile</a></li>
<li><a href="#/feedback" style="text-decoration: underline;">Feedback</a></li>
<!-- <li><a href="http://talk.snapshotserengeti.org/" data-i18n="navigation.discuss">Discuss</a></li> -->
<!-- <li><a href="http://blog.snapshotserengeti.org/" data-i18n="navigation.blog">Blog</a></li> -->
<li><a href="http://talk.snapshotserengeti.org/" data-i18n="navigation.discuss">Discuss</a></li>
<li><a href="http://blog.snapshotserengeti.org/" data-i18n="navigation.blog">Blog</a></li>
</ul>
</nav>

Expand Down

0 comments on commit c8a1d44

Please sign in to comment.