Skip to content

Commit 7bdc0f0

Browse files
author
Ilja Bobkevic
committed
Fix private tag in module view
1 parent 86d5491 commit 7bdc0f0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/puppet_forge_server/app/views/modules.haml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@
1818
.list-container
1919
%ul.list.modules
2020
- modules.each do |element|
21-
- if element['private']
22-
%li.clearfix.private
23-
- else
24-
%li.clearfix
21+
%li{:class => element['private'] ? 'clearfix private' : 'clearfix'}
2522
.col
2623
%h3= "#{element['owner']['username']}/#{element['name']}"
2724
%p= element['current_release']['metadata']['summary']

0 commit comments

Comments
 (0)