Sha256: 69ecd51337896380c53ae20f0e0564d12be2df77a0b38b7fee42ed336b5bfa4d

Contents?: true

Size: 606 Bytes

Versions: 2

Compression:

Stored size: 606 Bytes

Contents

    <!-- profile and view buttons -->
      <% if not signed_in? %>
        <!-- sign in to access social functions -->
      <% elsif current_user == @user %>
        <a class="btn" href="<%= sufia.edit_profile_path(@user) %>"><i class="icon-edit"></i> Edit Your Profile </a>
      <% elsif current_user.following?(@user) %>
        <a class="btn btn-primary" href="<%= sufia.unfollow_user_path(@user) %>"><i class="icon-eye-close"></i> Unfollow </a>
      <% else %>
        <a class="btn btn-primary" href="<%= sufia.follow_user_path(@user) %>"><i class="icon-eye-open"></i> Follow</a>
      <% end %>

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sufia-3.6.1 app/views/users/_profile_actions.html.erb
sufia-3.6.0 app/views/users/_profile_actions.html.erb