Sha256: 0369c5c2edd61fcccc2b09bbf35df071d08abf60c9d7b97e381aa370378cf140

Contents?: true

Size: 842 Bytes

Versions: 12

Compression:

Stored size: 842 Bytes

Contents

<% content_for :headers, stylesheet_link_tag("jqcloud") %>

<div class="space_center"></div>

<div class="block">
  <div class="header">
    <%= image_tag('btn/btn_tag.png', :class => "icon", :size => "15x15") %>
    <div class="header_text">
      <%= t 'group.cloud' %>
    </div>
  </div>
  <div id="wordcloud" class="content"></div>
</div

<%= render :partial => 'contacts/suggestions_and_pendings' %>

<%= javascript_include_tag "jqcloud-0.1.3.min.js" %>

<% tags = ActivityObject.tag_counts %>

<script type="text/javascript">
  var word_list = new Array(
	<% tag_cloud(tags, %w(5 7 9 11 13 15)) do |tag, weight| %>
		{text: "<%= tag.name %>", weight: <%= weight %>, url: "?tag=<%= tag.name %>"},    
	<% end %>
	{text: "", weight:0, url:""}
  );
  $(document).ready(function() {
    $("#wordcloud").jQCloud(word_list);
  });
</script>

Version data entries

12 entries across 12 versions & 2 rubygems

Version Path
social_stream-base-0.6.8 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.6.6 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.6.5 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.6.3 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.6.2 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.6.1 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.6.0 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.5.2 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.5.1 app/views/groups/_sidebar_index.html.erb
social_stream-base-0.5.0 app/views/groups/_sidebar_index.html.erb
social_stream-0.4.6 app/views/groups/_sidebar_index.html.erb
social_stream-0.4.5 app/views/groups/_sidebar_index.html.erb