Sha256: d70dc6ab38a1591aae83cacb25965e4660945716a0498bc67449b4721f9c5ad8

Contents?: true

Size: 1.18 KB

Versions: 21

Compression:

Stored size: 1.18 KB

Contents

<section id="toolbar" class="toolbar-profile">
  <div class="user">
    <%= render partial: 'toolbar/logo',
               locals: { subject: subject } %>

    <% if current_subject.present? && subject != current_subject %>
    <div class="contact-button">
      <%= contact_button subject %>
    </div>
    <% end %>

  </div>

  <nav class="toolbar_menu">
    <ul class="nav">
    <li>
      <%= link_to [ subject, :profile ] do  %>
        <i class='icon_tool16-info'></i> <%= t 'menu.information' %>
      <% end %>
    </li>

    <% if SocialStream.repository_models.present? %>
      <li>
        <%= link_to [ subject, :repository ] do %>
          <i class='icon_navbar-resources'></i> <%= t 'repository.title' %>
        <% end %>
      </li>
    <% end %>

    <% if subject != current_subject %>
      <li>
        <%= link_to new_message_path(receiver: subject.slug) do %>
          <i class='icon_navbar-message'></i> <%= t 'mailboxer.send' %>
        <% end %>
      </li>
    <% end %>

    <div class="base_items"/>
    </ul>
  </nav>

  <%= render partial: 'toolbar/contacts', locals: { subject: subject } %>

  <%= render partial: 'toolbar/groups', locals: { subject: subject } %>
</section>

Version data entries

21 entries across 21 versions & 2 rubygems

Version Path
social_stream-2.2.2 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.2.2 app/views/toolbar/_profile.html.erb
social_stream-2.2.1 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.2.1 app/views/toolbar/_profile.html.erb
social_stream-2.2.0 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.2.0 app/views/toolbar/_profile.html.erb
social_stream-2.1.1 base/app/views/toolbar/_profile.html.erb
social_stream-2.1.0 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.1.0 app/views/toolbar/_profile.html.erb
social_stream-2.0.4 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.0.4 app/views/toolbar/_profile.html.erb
social_stream-2.0.3 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.0.3 app/views/toolbar/_profile.html.erb
social_stream-2.0.2 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.0.2 app/views/toolbar/_profile.html.erb
social_stream-2.0.1 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.0.1 app/views/toolbar/_profile.html.erb
social_stream-2.0.0 base/app/views/toolbar/_profile.html.erb
social_stream-base-2.0.0 app/views/toolbar/_profile.html.erb
social_stream-2.0.0.beta3 base/app/views/toolbar/_profile.html.erb