Skip to content

Commit

Permalink
skip extension type display if not available
Browse files Browse the repository at this point in the history
  • Loading branch information
digitaltom committed Mar 10, 2016
1 parent 124cc7c commit 1a9117d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/suse/connect/templates/extensions_list.text.erb
@@ -1,6 +1,6 @@
\e[1mAVAILABLE EXTENSIONS AND MODULES\e[0m


<% if grouped_extensions[true] %>
\e[1mFREE EXTENSIONS\e[0m

<% grouped_extensions[true].each do |extension| -%>
Expand All @@ -13,8 +13,9 @@
<% end -%>
<% end -%>
<% end -%>

<% if grouped_extensions[false] %>
\e[1mPAID EXTENSIONS\e[0m

<% grouped_extensions[false].each do |extension| -%>
Expand All @@ -27,6 +28,7 @@
<% end -%>
<% end -%>
<% end -%>

\e[1mMORE INFORMATION\e[0m

Expand Down

0 comments on commit 1a9117d

Please sign in to comment.