add favgroup excerpt
This commit is contained in:
@@ -25,6 +25,8 @@
|
||||
<li><%= link_to "Wiki", wiki_page_path(@post_set.wiki_page), :id => "show-excerpt-link" %></li>
|
||||
<% elsif @post_set.has_pool? %>
|
||||
<li><%= link_to "Pool", pool_path(@post_set.pool), :id => "show-excerpt-link" %></li>
|
||||
<% elsif @post_set.has_favgroup? %>
|
||||
<li><%= link_to "Favorite Group", favorite_group_path(@post_set.favgroup), :id => "show-excerpt-link" %></li>
|
||||
<% end %>
|
||||
</menu>
|
||||
|
||||
|
||||
@@ -69,6 +69,12 @@
|
||||
</div>
|
||||
|
||||
<p><%= link_to "View pool", pool_path(post_set.pool.id) %></p>
|
||||
<% elsif post_set.has_favgroup? %>
|
||||
<h4>
|
||||
Favorite Group:
|
||||
<%= link_to post_set.favgroup.pretty_name, favorite_group_path(post_set.favgroup) %>
|
||||
</h4>
|
||||
Creator: <%= link_to_user post_set.favgroup.creator %>
|
||||
<% else %>
|
||||
<% if post_set.tag_string.present? %>
|
||||
<p>There is currently no wiki page for the tag "<%= post_set.tag_string %>". You can <%= link_to "create one", new_wiki_page_path(:wiki_page => {:title => post_set.tag_string}) %>.</p>
|
||||
|
||||
Reference in New Issue
Block a user