Permalink
Browse files

adding on/off button (since people are signing up even though rt api …

…not opened up yet by twitter).
  • Loading branch information...
1 parent 204e538 commit 737ffa99cee231532fcdc9626f8f8d9aff13f65a @gleuch committed Oct 14, 2009
Showing with 6 additions and 1 deletion.
  1. +2 −0 settings.yml.default
  2. +4 −1 views/home.haml
View
@@ -1,6 +1,8 @@
development: &local
site_name: Retweet Game
+ enable_retweet_game: true
+
randomize_hell: false
randomize_hell_freq: 30
secret_launch_code: FFFFFAT
View
@@ -1,6 +1,9 @@
%h1 Expand your Twitter reach through mass retweets #{configatron.twitter_allow_user_follow ? 'and followings' : ''} by joining #{configatron.site_name}.
%p.button
- %a.button{:href => "/connect"} Connect to Twitter now!
+ - if configatron.enable_retweet_game
+ %a.button{:href => "/connect"} Connect to Twitter now!
+ - else
+ %a.button{:href => '#'} Coming soon!
%p.small Connect your Twitter account and earn the chance to increase your tweet broadcast through retweets #{configatron.twitter_allow_user_follow ? 'and follows' : ''} by other #{configatron.site_name} users.
%p.small
%em Winners chosen infrequently. Odds of winning: unknown.

0 comments on commit 737ffa9

Please sign in to comment.