last touchups
This commit is contained in:
parent
999414fffc
commit
69b67f8425
5 changed files with 11 additions and 4 deletions
|
@ -240,8 +240,9 @@
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
.unread-notifications-dot {
|
.unread-notifications-dot {
|
||||||
top: 17px;
|
top: 50%;
|
||||||
left: 0px;
|
left: 0px;
|
||||||
|
margin-top: -4px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -44,6 +44,10 @@ $unread_notifications_dot_size: 8px;
|
||||||
margin-bottom: 0;
|
margin-bottom: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.emptyInbox {
|
||||||
|
padding-top: 15px;
|
||||||
|
}
|
||||||
|
|
||||||
.notification:first-child {
|
.notification:first-child {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -29,7 +29,9 @@
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if @notifications.count == 0 %>
|
<% if @notifications.count == 0 %>
|
||||||
|
<div class="emptyInbox">
|
||||||
You have ZERO unread notifications. Huzzah!
|
You have ZERO unread notifications. Huzzah!
|
||||||
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
<div class="unsubscribe-link">
|
<div class="unsubscribe-link">
|
||||||
<%= link_to 'Click here to unsubscribe from all Metamaps emails', unsubscribe_notifications_url %>
|
<%= link_to 'Click here to unsubscribe from all Metamaps emails', unsubscribe_notifications_url(https: !!Rails.env.production?) %>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
@ -2,4 +2,4 @@
|
||||||
|
|
||||||
You can unsubscribe from all Metamaps emails by visiting the following link:
|
You can unsubscribe from all Metamaps emails by visiting the following link:
|
||||||
|
|
||||||
<%= unsubscribe_notifications_url %>
|
<%= unsubscribe_notifications_url(https: !!Rails.env.production?) %>
|
||||||
|
|
Loading…
Add table
Reference in a new issue