about summary refs log tree commit diff stats
path: root/app/views/streams/_stream.html.haml
diff options
context:
space:
mode:
authorStar Rauchenberger <fefferburbia@gmail.com>2025-05-12 14:53:31 -0400
committerStar Rauchenberger <fefferburbia@gmail.com>2025-05-12 14:53:31 -0400
commitb7c5853de5f0f04625eab6389cba9de8b02e48fb (patch)
tree1764a974e1b93b024c90f98246590d0bac5430ef /app/views/streams/_stream.html.haml
parent4016070f2caf30f576d0b0df8a65a7b4b468e951 (diff)
downloadthoughts-b7c5853de5f0f04625eab6389cba9de8b02e48fb.tar.gz
thoughts-b7c5853de5f0f04625eab6389cba9de8b02e48fb.tar.bz2
thoughts-b7c5853de5f0f04625eab6389cba9de8b02e48fb.zip
Added streams index
Diffstat (limited to 'app/views/streams/_stream.html.haml')
-rw-r--r--app/views/streams/_stream.html.haml6
1 files changed, 2 insertions, 4 deletions
diff --git a/app/views/streams/_stream.html.haml b/app/views/streams/_stream.html.haml index 4a6b1e9..97d4813 100644 --- a/app/views/streams/_stream.html.haml +++ b/app/views/streams/_stream.html.haml
@@ -2,9 +2,7 @@
2 %h2#stream-title= stream.title 2 %h2#stream-title= stream.title
3 - unless stream.body.blank? 3 - unless stream.body.blank?
4 %header#stream-intro.entry-content= markdown(stream.body) 4 %header#stream-intro.entry-content= markdown(stream.body)
5 - if stream.updates.size > 10 5 = will_paginate @updates
6 = will_paginate @updates
7 - unless @updates.empty? 6 - unless @updates.empty?
8 = render @updates 7 = render @updates
9 - if stream.updates.size > 10 8 = will_paginate @updates
10 = will_paginate @updates