Sha256: 5d2b78445bc6c7996325242af8457f7eb3f92f48c3f176666f0943af1fdf70d3

Contents?: true

Size: 210 Bytes

Versions: 36

Compression:

Stored size: 210 Bytes

Contents

<% if rostra_user.following?(@question) %>
  var button_text = "Stop following this question"
<% else %>
  var button_text = "Follow this question"
<% end %>

$('a.toggle_following_question').text(button_text);

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
rostra-0.3.6 app/views/rostra/questions/toggle_following.js.erb
rostra-0.3.5 app/views/rostra/questions/toggle_following.js.erb
rostra-0.3.4 app/views/rostra/questions/toggle_following.js.erb
rostra-0.3.3 app/views/rostra/questions/toggle_following.js.erb
rostra-0.3.2 app/views/rostra/questions/toggle_following.js.erb
rostra-0.3.1 app/views/rostra/questions/toggle_following.js.erb
rostra-0.2.1 app/views/rostra/questions/toggle_following.js.erb
rostra-0.2.0 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.26 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.25 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.24 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.23 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.22 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.21 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.20 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.19 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.18 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.17 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.16 app/views/rostra/questions/toggle_following.js.erb
rostra-0.1.15 app/views/rostra/questions/toggle_following.js.erb