Add seperator when notifications > 0
This commit is contained in:
		| @@ -16,6 +16,13 @@ | |||||||
| </div> | </div> | ||||||
|  |  | ||||||
| <center><%= notifications.size %> unseen notifications</center> | <center><%= notifications.size %> unseen notifications</center> | ||||||
|  |  | ||||||
|  | <% if !notifications.empty? %> | ||||||
|  | <div class="h-box"> | ||||||
|  |     <hr> | ||||||
|  | </div> | ||||||
|  | <% end %> | ||||||
|  |  | ||||||
| <% notifications.each_slice(4) do |slice| %> | <% notifications.each_slice(4) do |slice| %> | ||||||
|     <div class="pure-g"> |     <div class="pure-g"> | ||||||
|         <% slice.each do |video| %> |         <% slice.each do |video| %> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Omar Roth
					Omar Roth