Skip to content

Commit

Permalink
add glyphicons to question-page (publiclab#2319)
Browse files Browse the repository at this point in the history
  • Loading branch information
g33kyshivam authored and jywarren committed Feb 15, 2018
1 parent 10e5892 commit 2c5dd25
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/views/questions/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -38,10 +38,10 @@
<%= render :partial => "notes/format_toggle" %>

<ul class="nav nav-tabs">
<li<% if params[:action] == "index" %> class="active"<% end %>><a href="/questions/">Recently Asked</a></li>
<li<% if params[:action] == "answered" %> class="active"<% end %>><a href="/questions/answered/">Recently Answered</a></li>
<li<% if params[:action] == "popular" %> class="active"<% end %>><a href="/questions/popular/">Popular</a></li>
<li<% if params[:action] == "unanswered" %> class="active"<% end %>><a href="/questions/unanswered/">Unanswered</a></li>
<li<% if params[:action] == "index" %> class="active"<% end %>><a href="/questions/"><i class="fa fa-refresh"></i><span class="hidden-sm"> Recently Asked</span></a></li>
<li<% if params[:action] == "answered" %> class="active"<% end %>><a href="/questions/answered/"><i class="fa fa-check"></i><span class="hidden-sm"> Recently Answered</span></a></li>
<li<% if params[:action] == "popular" %> class="active"<% end %>><a href="/questions/popular/"><i class="fa fa-bolt"></i><span class="hidden-sm"> Popular</span></a></li>
<li<% if params[:action] == "unanswered" %> class="active"<% end %>><a href="/questions/unanswered/"><i class="fa fa-question-circle"></i><span class="hidden-sm"> Unanswered</span></a></li>
<li<% if params[:action] == "liked" %> class="active"<% end %>>
<a href="/questions/liked/"><i class="fa fa-star-o"></i><span class="hidden-sm"> Liked</span></a>
</li>
Expand Down

0 comments on commit 2c5dd25

Please sign in to comment.