Sha256: 731d4ab041ba2949d10d2357db3ffe5cb644ad5955c281e12a90c99e2ec83ece

Contents?: true

Size: 797 Bytes

Versions: 3

Compression:

Stored size: 797 Bytes

Contents

<%= menu_options[:like] || capture do %>
  <li>
    <div class="verb_like" id="like_<%= dom_id(subject) %>">
      <%= link_like(subject)%>
    </div>
  </li>
<% end %>

<%= menu_options[:contacts] || capture do %>
  <!-- TODO: create helper -->
  <% if user_signed_in? %>
    <li >
    <%= link_to image_tag("btn/btn_friend.png", :class => "menu_icon") +
                current_subject.ties_to(subject).map(&:relation_name).join(", "),
                edit_contact_path(current_subject.contact_to!(subject)) %>
     </li>
  <% end %>
<% end %>

<%= menu_options[:messages] || capture do %>
  <% if user_signed_in? %>
    <li >
    <%= link_to(image_tag("btn/btn_send.png", :class => "menu_icon")+t('message.send'), new_message_path(:receiver => subject.slug)) %>
    </li>
  <% end %>
<% end %>

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
social_stream-base-0.6.2 app/views/toolbar/_profile_menu_tie_options.html.erb
social_stream-base-0.6.1 app/views/toolbar/_profile_menu_tie_options.html.erb
social_stream-base-0.6.0 app/views/toolbar/_profile_menu_tie_options.html.erb