Sha256: 3410409ed0671577b62ad2c5012e40621ae22f8051c48e4e907020e4bed9aba4

Contents?: true

Size: 1.09 KB

Versions: 2

Compression:

Stored size: 1.09 KB

Contents

<ul class="menu">

<%= menu_options[:notifications] || capture do %>
  <%= render :partial =>'toolbar/notifications_menu'%>
<% end %>


<%= menu_options[:messages] || capture do %>
  <%= render :partial =>'toolbar/message_menu'%>
<% end %>

<%= menu_options[:contacts] || capture do %>
  <li>
    <%= link_to( image_tag("btn/btn_friend.png", :class => "menu_icon")+t('contact.other'), '#', :id => "contacts_menu") %>
    <ul>
      <%= menu_options[:invitations] || capture do %>
        <%= render :partial =>'toolbar/invitations_menu'%>
      <% end %>
    <% current_subject.relation_customs.sort.each do |r| %>
      <li>
      <%= link_to image_tag("btn/btn_friend.png", :class => "menu_icon") + r.name , contacts_path(:relation => r.id) %>
      </li>
    <% end %>
    </ul>
  </li>
<% end %>

<%= menu_options[:subjects] || capture do %>
  <%= render :partial => 'toolbar/home_menu_options_subjects' %>
<% end %>

<% if SocialStream.activity_forms.include? :document %>
    <%= menu_options[:uploads] || capture do %>
      <%= render :partial =>'toolbar/uploads_menu'%>
    <% end %>
<% end %>



</ul>

Version data entries

2 entries across 2 versions & 1 rubygems

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