We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 86d5491 commit 7bdc0f0Copy full SHA for 7bdc0f0
lib/puppet_forge_server/app/views/modules.haml
@@ -18,10 +18,7 @@
18
.list-container
19
%ul.list.modules
20
- modules.each do |element|
21
- - if element['private']
22
- %li.clearfix.private
23
- - else
24
- %li.clearfix
+ %li{:class => element['private'] ? 'clearfix private' : 'clearfix'}
25
.col
26
%h3= "#{element['owner']['username']}/#{element['name']}"
27
%p= element['current_release']['metadata']['summary']
0 commit comments