<% content_for :side_bar do %> <%= render :partial => 'layouts/side_bar', :locals => {:link_name => t('site.settings'), :link_url => admin_site_site_info_path(@site), :icon => 'icons-cog', :side_bar_content => 'admin/sites/side_bar'} %> <% end %> <%= stylesheet_link_tag "lib/wrap-nav"%> <%= stylesheet_link_tag "lib/main-list"%> <%= stylesheet_link_tag "lib/mt-list"%> <%= stylesheet_link_tag "lib/filter"%> <%= stylesheet_link_tag "lib/togglebox"%> <%= javascript_include_tag 'lib/footable-0.1' %> <%= javascript_include_tag 'lib/all-list' %> <%= javascript_include_tag 'lib/retina' %> <%= javascript_include_tag 'lib/mudole_templates_status' %> <%= flash[:notice] rescue nil%> <% @extensions.each do |extension|%> <% download_link = STORE_CONFIG[:store_settings]["url"] + "/"+ extension["extension"]["extension"]["url"] downloaded_file_name = extension["extension_filename"] module_app_name = downloaded_file_name.split(/(.zip)/).first @module_status = Dir.exists?("#{Rails.root}/vendor/built_in_modules/#{module_app_name}") %> <% if @module_status.eql?(true)%> <% else %> <% end %> <% end %>
Module Title Date of purchase Description Active
<%= image_tag "module_icon.png"%>
<%=link_to extension["title"], admin_module_store_show_path(extension["_slugs"][0])%>

<%=extension["author"]%>

2013/07/12 <%= extension["description"].html_safe%> <%= link_to 'Read More', admin_module_store_show_path(extension["_slugs"][0]) %> Installed<%= link_to 'Download', admin_module_store_download_path(:id => extension["_slugs"][0]), :class=>"act btn btn-mini btn-success" %>