<% if block.owner.software_info.nil? %> <%= _("This community needs a software to use this block") %> <% else %>
<% tabs = [] %> <% tabs << {:title => _("Discussions"), :id => 'discussions-tab', :content => ""} %> <% tabs << {:title => _("Blog"), :id => 'blog-tab', :content => (render partial: "blocks/software_tab_blog", :locals => {block: block})} %> <% tabs << {:title => _("Repository Feed"), :id => 'repository-feed-tab', :content => ""} %> <%= render_tabs(tabs) %>
<% end %>