Skip to content

Commit

Permalink
move digest links (#7951)
Browse files Browse the repository at this point in the history
* move digest links

* Update _header.html.erb
  • Loading branch information
jywarren authored May 26, 2020
1 parent 3b30fd0 commit 2de00df
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
6 changes: 5 additions & 1 deletion app/views/home/subscriptions.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@
<div class="col-lg-3">

<p><b><%=raw translation('home.subscriptions.title') %></b> <%=raw translation('home.subscriptions.up_to_date_emails') %></p>


<hr />
<p>
<a href="/subscriptions/digest" class="btn btn-outline-secondary"><i class="fa fa-list"></i> Subscriptions digest</a>
</p>
<hr />

<p>
Expand Down
1 change: 0 additions & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@
<a class="dropdown-item" href="/settings" >Notifications</a>
<div class="dropdown-divider"></div>
<a class="dropdown-item" href="/subscriptions"><%= translation('layout._header.subscriptions') %></a>
<a class="dropdown-item" href="/subscriptions/digest">Your digest</a>
<a class="dropdown-item" href="/profile/<%= current_user.username %>/likes"><%= translation('layout._header.notes_liked') %></a>
<div class="dropdown-divider"></div>
<% if logged_in_as(['admin']) %>
Expand Down

0 comments on commit 2de00df

Please sign in to comment.