Sha256: 4892409a8ef2261337355000c4f8f785ec404684929bc617e26829da9529e377

Contents?: true

Size: 812 Bytes

Versions: 2

Compression:

Stored size: 812 Bytes

Contents

<div id="profile-info">
  <h2>
    <%= t('profile.one') %>
  </h2>

  <% if can?(:update, @profile) || @profile.tags_present? %>
    <%= render partial: "tags" %>
  <% end %>

  <% if can?(:update, @profile) || @profile.personal_present? %>
    <%= render partial: "personal" %>
  <% end %>

  <% if can?(:update, @profile) || @profile.contact_present? %>
    <%= render :partial => "comunication-info" %>
  <% end %>

  <% if can?(:update, @profile) || @profile.experience? %>
    <%= render :partial => "experience" %>
  <% end %>

  <% if can?(:update, @profile) || @profile.personal_present? %>
    <%= render :partial => "avatar" %>
  <% end %>

  <%= javascript_tag do %>
    $(function() {
      SocialStream.Profile.show({
        section: "<%= params[:section ] %>"
      });
    });
  <% end %>
</div>

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
social_stream-2.0.0.beta1 base/app/views/profiles/_profile.html.erb
social_stream-base-2.0.0.beta1 app/views/profiles/_profile.html.erb