[Opda-develop] OPDA/app/views/subscription_lists category_setup.rhtml, NONE, 1.1 list.rhtml, 1.4, 1
Brought to you by:
digitalpodcast
|
From: Alex N. <dig...@us...> - 2006-08-31 05:34:15
|
Update of /cvsroot/opda/OPDA/app/views/subscription_lists In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18787/app/views/subscription_lists Modified Files: list.rhtml Added Files: category_setup.rhtml Log Message: added changes to support adding categories to sub lists Index: list.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/subscription_lists/list.rhtml,v retrieving revision 1.4 retrieving revision 1.5 diff -C2 -d -r1.4 -r1.5 *** list.rhtml 24 Jul 2006 14:43:11 -0000 1.4 --- list.rhtml 31 Aug 2006 05:34:13 -0000 1.5 *************** *** 6,9 **** --- 6,10 ---- <li> Expand the tree and click on a list to see your podcast subscriptions</li> </ul> + </div><!--end widecenter --> *************** *** 13,37 **** <div id="left" class="narrowleft"> ! <ul class="nobulletlist"> ! <% depth_check = 0 %> ! <% for subscription_list in @subscription_lists %> ! <% if subscription_list.depth == depth_check %> ! <li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% elsif subscription_list.depth > depth_check %> ! <ul id="subscriptionlist<%=subscription_list.parent_id%>" class="subcatlist" style="display:none"> ! <li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% elsif subscription_list.depth < depth_check %> ! </ul><li><div id="list<%=subscription_list.id%>"> ! <%= render :partial => 'subscription_list', :object => subscription_list %> ! <% depth_check = subscription_list.depth %> ! <% end %> ! <% end %> ! </ul> <br /> --- 14,33 ---- <div id="left" class="narrowleft"> ! <ul> ! <li>My Lists</li> ! ! <%= display_tree_recursive(@mylists, 0) { |node| link_to_remote(node.title, :url => {:controller => 'subscription_lists', :action => 'show', :id => node.id })} %> + <li>Watched Lists</li> + <ul> + <li>My watch lists go here</li> + </ul> + <li>Watched Tags</li> + <ul> + <li>My tag lists go here</li> + </ul> + + </ul> <br /> --- NEW FILE: category_setup.rhtml --- <%= @flash[:note] %><%= debug(@xml.to_s)%> |