Skip to content

Commit

Permalink
fixes publiclab#4285 Use same styles for buttons at /profile
Browse files Browse the repository at this point in the history
  • Loading branch information
IshaGupta18 committed Dec 12, 2018
1 parent 86e8e7a commit 8e33667
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/users/profile.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -203,9 +203,9 @@
<hr />

<p>
<a class="btn btn-default btn-sm btn-block" href="/feed/<%= @user.name %>.rss"><i class="fa fa-rss" style="color:orange;"></i> <%= t('users.profile.rss_feed_for') %> <%= @user.name %></a>
<a class="btn btn-default btn-block" href="/feed/<%= @user.name %>.rss"><i class="fa fa-rss" style="color:orange;"></i> <%= t('users.profile.rss_feed_for') %> <%= @user.name %></a>
<% if current_user && current_user.uid == @user.uid %>
<a href="/profile/<%= @user.name %>/edit" class="btn btn-default btn-sm btn-block"><i class="fa fa-pencil"></i> <%= t('users.profile.edit_profile') %></a>
<a href="/profile/<%= @user.name %>/edit" class="btn btn-default btn-block"><i class="fa fa-pencil"></i> <%= t('users.profile.edit_profile') %></a>
<% end %>
</p>

Expand Down

0 comments on commit 8e33667

Please sign in to comment.