Skip to content

Commit

Permalink
hide preferences link when not logged in
Browse files Browse the repository at this point in the history
  • Loading branch information
joshua-arts committed Jul 13, 2017
1 parent 3a882f8 commit ec16f51
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions app/views/shared/_center_panel.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,10 @@
</div>
<%= yield :footer %>
<div class="help-link">
<%= link_to t('help'), 'http://bigbluebutton.org/videos/', target: '_blank' %> |
<%= link_to t('preferences'), preferences_path %>
<%= link_to t('help'), 'http://bigbluebutton.org/videos/', target: '_blank' %>
<% if current_user %>
| <%= link_to t('preferences'), preferences_path %>
<% end %>
</div>
</div>
</div>
Expand Down

0 comments on commit ec16f51

Please sign in to comment.