Skip to content

Commit

Permalink
UI fix - tabs on questions page (publiclab#5849)
Browse files Browse the repository at this point in the history
  • Loading branch information
sashadev-sky authored and enviro3 committed Aug 12, 2019
1 parent 52b6fb3 commit e48f96f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/views/questions/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -53,13 +53,13 @@
<i class="fa fa-refresh"></i> <span class="d-none d-lg-inline"> Recently Asked</span>
</a>
</li>
<li<% if params[:action] == "answered" %> class="active"<% end %>>
<a href="/questions/answered/">
<li class="nav-item">
<a class="nav-link <% if params[:action] == "answered" %> active <% end %>" href="/questions/answered/">
<i class="fa fa-check"></i> <span class="d-none d-lg-inline"> Recently Commented</span>
</a>
</li>
<li class="nav-item">
<a class="nav-link <% if params[:action] == "popular" %> active <% end %>" href="/questions/popular/">
<a class="nav-link <% if params[:action] == "popular" %> active <% end %>" href="/questions/popular/">
<i class="fa fa-bolt"></i> <span class="d-none d-lg-inline"> Popular</span>
</a>
</li>
Expand Down

0 comments on commit e48f96f

Please sign in to comment.