[Opda-develop] OPDA/app/views/channels _form.rhtml, 1.1, 1.2 index.rhtml, 1.5, 1.6
Brought to you by:
digitalpodcast
|
From: Alex N. <dig...@us...> - 2006-08-31 05:33:46
|
Update of /cvsroot/opda/OPDA/app/views/channels In directory sc8-pr-cvs3.sourceforge.net:/tmp/cvs-serv18429/app/views/channels Modified Files: _form.rhtml index.rhtml Log Message: added changes to support add podcast Index: index.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/channels/index.rhtml,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -d -r1.5 -r1.6 *** index.rhtml 26 Jul 2006 21:38:12 -0000 1.5 --- index.rhtml 31 Aug 2006 05:33:43 -0000 1.6 *************** *** 6,10 **** <div class="image50"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.png",:size => "50x50", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "50x50", :border => 0), :action => 'show', :id => channel%> --- 6,10 ---- <div class="image50"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.jpg",:size => "50x50", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "50x50", :border => 0), :action => 'show', :id => channel%> *************** *** 25,29 **** <div class="feature<%=left_or_right%>"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.png",:size => "144x144", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "144x144", :border => 0), :action => 'show', :id => channel%> --- 25,29 ---- <div class="feature<%=left_or_right%>"> <% if channel.itunes_image.nil? %> ! <%= link_to theme_image_tag("defaultart.jpg",:size => "144x144", :border => 0), :action => 'show', :id => channel%> <% else %> <%= link_to image_tag(channel.itunes_image,:size => "144x144", :border => 0), :action => 'show', :id => channel%> Index: _form.rhtml =================================================================== RCS file: /cvsroot/opda/OPDA/app/views/channels/_form.rhtml,v retrieving revision 1.1 retrieving revision 1.2 diff -C2 -d -r1.1 -r1.2 *** _form.rhtml 24 Jun 2006 07:12:59 -0000 1.1 --- _form.rhtml 31 Aug 2006 05:33:43 -0000 1.2 *************** *** 2,79 **** <!--[form:channel]--> - <p><label for="channel_title">Title</label><br/> - <%= text_field 'channel', 'title' %></p> - - <p><label for="channel_description">Description</label><br/> - <%= text_area 'channel', 'description' %></p> - - <p><label for="channel_link_url">Link url</label><br/> - <%= text_area 'channel', 'link_url' %></p> - - <p><label for="channel_feed_url">Feed url</label><br/> - <%= text_area 'channel', 'feed_url' %></p> - - <p><label for="channel_image_url">Image url</label><br/> - <%= text_area 'channel', 'image_url' %></p> - - <p><label for="channel_itunes_keywords">Itunes keywords</label><br/> - <%= text_area 'channel', 'itunes_keywords' %></p> - - <p><label for="channel_suspended">Suspended</label><br/> - <%= text_field 'channel', 'suspended' %></p> - - <p><label for="channel_language">Language</label><br/> - <%= text_field 'channel', 'language' %></p> - - <p><label for="channel_copyright">Copyright</label><br/> - <%= text_field 'channel', 'copyright' %></p> - - <p><label for="channel_managingeditor">Managingeditor</label><br/> - <%= text_field 'channel', 'managingeditor' %></p> - - <p><label for="channel_webmaster">Webmaster</label><br/> - <%= text_field 'channel', 'webmaster' %></p> - - <p><label for="channel_pubdate">Pubdate</label><br/> - <%= datetime_select 'channel', 'pubdate' %></p> - - <p><label for="channel_lastbuilddate">Lastbuilddate</label><br/> - <%= datetime_select 'channel', 'lastbuilddate' %></p> - - <p><label for="channel_ttl">Ttl</label><br/> - <%= text_field 'channel', 'ttl' %></p> - - <p><label for="channel_rating">Rating</label><br/> - <%= text_field 'channel', 'rating' %></p> - - <p><label for="channel_skiphours">Skiphours</label><br/> - <%= text_field 'channel', 'skiphours' %></p> - - <p><label for="channel_skipdays">Skipdays</label><br/> - <%= text_field 'channel', 'skipdays' %></p> - - <p><label for="channel_created_at">Created at</label><br/> - <%= datetime_select 'channel', 'created_at' %></p> - - <p><label for="channel_updated_at">Updated at</label><br/> - <%= datetime_select 'channel', 'updated_at' %></p> ! <p><label for="channel_itunes_author">Itunes author</label><br/> ! <%= text_field 'channel', 'itunes_author' %></p> ! ! <p><label for="channel_itunes_block">Itunes block</label><br/> ! <%= text_field 'channel', 'itunes_block' %></p> ! ! <p><label for="channel_itunes_image">Itunes image</label><br/> ! <%= text_area 'channel', 'itunes_image' %></p> ! ! <p><label for="channel_itunes_owner">Itunes owner</label><br/> ! <%= text_field 'channel', 'itunes_owner' %></p> - <p><label for="channel_itunes_summary">Itunes summary</label><br/> - <%= text_area 'channel', 'itunes_summary' %></p> - <p><label for="channel_itunes_subtitle">Itunes subtitle</label><br/> - <%= text_field 'channel', 'itunes_subtitle' %></p> <!--[eoform:channel]--> --- 2,11 ---- <!--[form:channel]--> ! <p><label for="channel_feed_url">Add your podcast feed URL (for example http://www.mypodcast.com/rss.xml)</label><br/> ! <%= text_field 'channel', 'feed_url', 'size' => 45, 'value' => 'http://' %></p> ! <p>Podcast is for ADULTS ONLY <%= radio_button("channel", "adult", "true") %> </p> <!--[eoform:channel]--> |