Skip to content

Commit

Permalink
Update blog.html.erb (#7672)
Browse files Browse the repository at this point in the history
  • Loading branch information
taysa91 authored Mar 18, 2020
1 parent 2acba36 commit 5cf8f9a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/tag/blog.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
<% if current_user %>
<a class="btn btn-outline-secondary btn-sm" href="/feed/tag/<%= params[:id] %>.rss"><i class="fa fa-rss"></i> RSS</a>
<% if current_user.following(params[:id]) %>
<a rel="tooltip" title="<%= t('tag.blog.unfollow') %>" class="btn btn-outline-secondary btn-sm active" href="/unsubscribe/tag/<%= params[:id] %>"><i class="fa fa-user-plus" aria-hidden="true"></i> <%= t('tag.blog.following') %> <b><%= params[:id] %></b></a>
<a rel="tooltip" title="<%= translation('tag.blog.unfollow') %>" class="btn btn-outline-secondary btn-sm active" href="/unsubscribe/tag/<%= params[:id] %>"><i class="fa fa-user-plus" aria-hidden="true"></i> <%= translation('tag.blog.following') %> <b><%= params[:id] %></b></a>
<% else %>
<br><br>
<div class="alert alert-success" role="alert">
Expand All @@ -37,7 +37,7 @@
<hr />

<% if @notes.nil? || @notes.length == 0 %>
<p><%= raw t('tag.blog.no_results', :search => params[:id]) %>:</p>
<p><%= raw translation('tag.blog.no_results', :search => params[:id]) %>:</p>

<%= render template: "search/new" %>

Expand Down

0 comments on commit 5cf8f9a

Please sign in to comment.