Skip to content

Commit

Permalink
add newline character to message displayed on the dashboard
Browse files Browse the repository at this point in the history
  • Loading branch information
madeofhuman committed Mar 10, 2019
1 parent 92d8256 commit d54d2d5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion app/views/dashboard/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
<div class="row stats">
<h4 class="col-md-8">
<% if current_user %>
<span class="hidden-xs hidden-sm"><%= t('dashboard._header.welcome') %><span class="hidden-md">,<b><a href="/profile/"> <%= current_user.username %></a></b></span>! <%= current_user.new_contributor %></span>
<span class="visible-lg-block visible-md-block hidden-xs hidden-sm"><%= t('dashboard._header.welcome') %><span class="hidden-md">,<b><a href="/profile/"> <%= current_user.username %></a></b></span>! <%= current_user.new_contributor %></span>
<br>
<a href="/notes/recent"><%= @note_count %> <%= t('dashboard._header.notes') %></a> <%= t('dashboard._header.and') %> <a href="/wiki"><%= @wiki_count %> <%= t('dashboard._header.wiki_edits') %></a> <%= t('dashboard._header.posted_past_week') %>
<%= t('dashboard._header.you_shared') %> <a href="/profile/<%= current_user.username %>"><%= @user_note_count %> <% if @user_note_count <= 1 %><%= t('dashboard._header.research_note') %><% else %><%= t('dashboard._header.research_notes') %><% end %></a>.
<% else %>
Expand Down

0 comments on commit d54d2d5

Please sign in to comment.