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 08b4af5
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 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 Expand Up @@ -236,7 +236,7 @@
<% if @profile_user && current_user && @profile_user == current_user %>
<%= form_tag "/users/test_digest_email", method: :post do %>
<%= submit_tag "Test Digest Email" %>
<%= submit_tag "Test Digest Email" %>
<% end %>
<% end %>

Expand Down

0 comments on commit 08b4af5

Please sign in to comment.