Fixed the Link to Show page in module store page
This commit is contained in:
parent
dc9aac5785
commit
196d70e338
|
@ -199,11 +199,11 @@
|
|||
<div class="module_icon pull-left">
|
||||
<i class='icons-<%= extension["key"] %> icon-3x'></i>
|
||||
</div>
|
||||
<h5 class="mt_title"><span><%=link_to extension["title"], admin_module_store_show_path(extension["_slugs"][0])%></span></h5>
|
||||
<h5 class="mt_title"><span><%=link_to extension["title"], admin_module_store_show_path(:id => extension["_slugs"][0])%></span></h5>
|
||||
<p class="mt_dev muted"><%=extension["author"]%></p>
|
||||
</td>
|
||||
<td>
|
||||
<%= extension["description"].html_safe%> <%= link_to 'Read More', admin_module_store_show_path(extension["_slugs"][0]) %>
|
||||
<%= extension["description"].html_safe%> <%=link_to extension["title"], admin_module_store_show_path(:id => extension["_slugs"][0])%>
|
||||
</td>
|
||||
<% @module_installed = File.read("downloaded_extensions.rb").include?(extension["key"])%>
|
||||
<% if @module_installed.eql?(true)%>
|
||||
|
|
|
@ -22,7 +22,7 @@
|
|||
<div class="side">
|
||||
<div id="item-info">
|
||||
<img src="/assets/module/thumb/mt<%= params[:m] %>.jpg" alt="" class="item-thumb">
|
||||
<h2 class="item-name"><%= @extension.first["title"] %></h2>
|
||||
<h2 class="item-name"><%= @extension["title"] %></h2>
|
||||
<a id="download" href="">free download</a>
|
||||
<ul class="item-extra-info">
|
||||
<li><span class="title">downloads</span><span class="count"><%= Random.new.rand(10..100) %></span></li>
|
||||
|
@ -39,11 +39,11 @@
|
|||
</div>
|
||||
<div class="main clearfix">
|
||||
<h3>Description</h3>
|
||||
<div id="desc-holder" class="paragraph"><%= @extension.first["description"].html_safe%></div>
|
||||
<div id="desc-holder" class="paragraph"><%= @extension["description"].html_safe%></div>
|
||||
<h3>screen shot</h3>
|
||||
<div id="screen-shot">
|
||||
<div class="holder">
|
||||
<%= image_tag "#{STORE_CONFIG[:store_settings]["url"]}/#{@extension.first['preview']['preview']['url']}"%>
|
||||
<%= image_tag "#{STORE_CONFIG[:store_settings]["url"]}/#{@extension['preview']['preview']['url']}"%>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
Loading…
Reference in New Issue