Skip to content

Commit

Permalink
fixes #1056
Browse files Browse the repository at this point in the history
  • Loading branch information
yinlinchen authored and awead committed Jan 21, 2016
1 parent 7cfea8f commit a0feab2
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 4 deletions.
1 change: 0 additions & 1 deletion app/views/users/_contributions.html.erb
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
<div class="tab-pane active" id="contributions">
<i class="glyphicon glyphicon-star trophy-on"></i> <strong>Highlighted Files</strong>
<% if @trophies.count > 0 %>
<table>
<% @trophies.each do |t| %>
Expand Down
6 changes: 3 additions & 3 deletions app/views/users/_profile_tabs.html.erb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<ul class="nav nav-tabs" id="myTab">
<li class="active"><a href="#contributions"><i class="glyphicon glyphicon-star"></i> Contributions</a></li>
<li><a href="#profile"><i class="glyphicon glyphicon-info-sign"></i> Profile</a></li>
<li><a href="#activity_log" ><i class="glyphicon glyphicon-calendar"></i> Activity</a></li>
<li class="active"><a href="#contributions"><i class="glyphicon glyphicon-star"></i> <%= I18n.t('sufia.user_profile.tab_highlighted') %></a></li>
<li><a href="#profile"><i class="glyphicon glyphicon-info-sign"></i> <%= I18n.t('sufia.user_profile.tab_profile') %></a></li>
<li><a href="#activity_log" ><i class="glyphicon glyphicon-calendar"></i> <%= I18n.t('sufia.user_profile.tab_activity') %></a></li>
</ul>

<div class="tab-content">
Expand Down
3 changes: 3 additions & 0 deletions config/locales/sufia.en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -146,6 +146,9 @@ en:
label: "Zotero Profile"
connected: "Connected!"
unlinked: "Link with Zotero"
tab_highlighted: "Highlighted"
tab_profile: "Profile"
tab_activity: "Activity"
batch:
help:
title: "Filename will be the default title. Please provide a more meaningful title, and filenames will still be preserved by the system."
Expand Down

0 comments on commit a0feab2

Please sign in to comment.