[donrails commit] r391 - trunk/app/views/notes/default

1 view
Skip to first unread message

codesite...@google.com

unread,
Dec 24, 2008, 8:19:50 PM12/24/08
to donr...@googlegroups.com
Author: yasuhiro
Date: Wed Dec 24 16:47:27 2008
New Revision: 391

Modified:
trunk/app/views/notes/default/noteslist.rhtml
trunk/app/views/notes/default/show_enrollment.rhtml

Log:
hide to show categories

Modified: trunk/app/views/notes/default/noteslist.rhtml
==============================================================================
--- trunk/app/views/notes/default/noteslist.rhtml (original)
+++ trunk/app/views/notes/default/noteslist.rhtml Wed Dec 24 16:47:27 2008
@@ -13,13 +13,10 @@
<% if @category %>
<h3>カテゴリ: <%=h @category.name %> の記事
[<%= link_to "リスト", {:action => "show_category", :id =>
@category.id} %>]
+<%= link_to image_tag("feed-icon-14x14.png", :size =>"14x14", :border =>
0, :style => "margin: 0px;", :alt => "#{@category.name}の登録"),
{:controller => 'rdf', :action => 'rdf_category', :id => @category.id} %>
</h3>
<%=h @category.description %>
-<div id='roots_ul'>
- <%= display_categories_roots_ul_description(@category.direct_children) %>
-</div>
<% end %>
-

<% begin %>
<%= will_paginate @articles %>

Modified: trunk/app/views/notes/default/show_enrollment.rhtml
==============================================================================
--- trunk/app/views/notes/default/show_enrollment.rhtml (original)
+++ trunk/app/views/notes/default/show_enrollment.rhtml Wed Dec 24 16:47:27
2008
@@ -6,7 +6,7 @@
<div class="dayheadnum">
<p>
<%= link_to "\#", {:action => "show_enrollment", :id =>
@enrollment.id} %>
- <%= display_article_categories article %>
+ <%= display_article_categories(article) %>
<%= article.title_to_html if article.title %>
</p>
</div> <!-- end dayheadnum -->

Reply all
Reply to author
Forward
0 new messages