Sha256: a3d9e31d637dbc505c04996971e1a04c2ccc1a53525865f005010e42dd724d45
Contents?: true
Size: 804 Bytes
Versions: 68
Compression:
Stored size: 804 Bytes
Contents
<h4>Harmful Thoughts</h4> <% if ThinkFeelDoEngine::HarmfulThoughtVizPresenter.new(thoughts.harmful.map(&:pattern_id)).display_viz? %> <div id="ThoughtVizContainer"> <div id="ThoughtVizTooltip"></div> </div> <% else %> <p class="text-info">Not enough harmful thoughts yet exist for graphical display.</p> <% end %> <script type="text/javascript"> var TT = null, thoughtsWithPatterns; thoughtsWithPatterns = <%= raw(thoughts.to_json(:methods => "pattern", :only => [:content, :challenging_thought, :act_as_if])) %> $(document).on('page:change', function(){ <% unless link_to_view.nil? %> TT = new sc.thoughtTracker(true,<%= sanitize("\"home:" + link_to_view + "\"") %>); <% else %> if(TT == null) TT = new sc.thoughtTracker(true,"solo"); <% end %> }); </script>
Version data entries
68 entries across 68 versions & 1 rubygems