Updated Member plugin names to remove spaces and generate correct links
This commit is contained in:
parent
2f673b20ad
commit
d9ac24470f
|
@ -59,13 +59,13 @@
|
||||||
<% if !@intro_data.blank? %>
|
<% if !@intro_data.blank? %>
|
||||||
|
|
||||||
<% if !@intro_data.brief_intro.blank? or !@intro_data.complete_list.blank? %>
|
<% if !@intro_data.brief_intro.blank? or !@intro_data.complete_list.blank? %>
|
||||||
<li><a href="#<%= plugin["name"] %>"><%= plugin["name"] %></a></li>
|
<li><a href="#<%= plugin["name"].gsub(' ', '') %>"><%= plugin["name"] %></a></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
||||||
<% if !@data.blank? %>
|
<% if !@data.blank? %>
|
||||||
<li><a href="#<%= plugin["name"] %>"><%= plugin["name"] %></a></li>
|
<li><a href="#<%= plugin["name"].gsub(' ', '') %>"><%= plugin["name"] %></a></li>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -86,7 +86,7 @@
|
||||||
<% if !@intro_data.blank? %>
|
<% if !@intro_data.blank? %>
|
||||||
|
|
||||||
<% if !@intro_data.brief_intro.blank? or !@intro_data.complete_list.blank? %>
|
<% if !@intro_data.brief_intro.blank? or !@intro_data.complete_list.blank? %>
|
||||||
<div class="module-pane" id="<%= plugin["name"] %>">
|
<div class="module-pane" id="<%= plugin["name"].gsub(' ', '') %>">
|
||||||
<%= render :partial => @plugin_partial if !@plugin_partial.blank? %>
|
<%= render :partial => @plugin_partial if !@plugin_partial.blank? %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
@ -94,7 +94,7 @@
|
||||||
<% else %>
|
<% else %>
|
||||||
|
|
||||||
<% if !@data.blank? %>
|
<% if !@data.blank? %>
|
||||||
<div class="module-pane" id="<%= plugin["name"] %>">
|
<div class="module-pane" id="<%= plugin["name"].gsub(' ', '') %>">
|
||||||
<%= render :partial => @plugin_partial if !@plugin_partial.blank? %>
|
<%= render :partial => @plugin_partial if !@plugin_partial.blank? %>
|
||||||
</div>
|
</div>
|
||||||
<% end %>
|
<% end %>
|
||||||
|
|
Loading…
Reference in New Issue