2014-02-17 18:05:39 +01:00
|
|
|
<div class="FL">
|
|
|
|
<%= t(:upload_select) %>
|
|
|
|
<br /><br />
|
|
|
|
<% flash.each do |name, msg| %>
|
|
|
|
<div id="<%= name %>" class="fade" >
|
|
|
|
<p><%= msg %></p>
|
|
|
|
<div class="clear"></div>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
<%= form_for :upload, :url => upload_channel_path(@channel), :html => { :multipart => true } do |f| %>
|
|
|
|
<%= f.file_field :csv %>
|
|
|
|
<br /><br />
|
|
|
|
<%= t(:time_zone) %>
|
|
|
|
<%= time_zone_select 'feed', 'time_zone', nil, :default => 'UTC' %>
|
|
|
|
<br /><br />
|
|
|
|
<%= f.submit t(:upload), :disable_with => t(:uploading) %>
|
|
|
|
<% end %>
|
|
|
|
|
|
|
|
</div>
|
|
|
|
|
2014-02-18 01:51:30 +01:00
|
|
|
<div id="sidebar_old" >
|
2014-02-17 18:05:39 +01:00
|
|
|
<ul>
|
|
|
|
<li>
|
2014-02-18 01:51:30 +01:00
|
|
|
|
2014-02-28 19:57:58 +01:00
|
|
|
<div class="helplink">(<a target="_blank" href="/docs/channels#update"><%= t(:help_options) %></a>)</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
<h2><%= t(:help_channel_update) %></h2>
|
|
|
|
<%= t(:help_channel_post) %>
|
|
|
|
<div class="code"><%= "#{@api_domain}update" %></div>
|
|
|
|
<%= t(:help_channel_post_example) %>
|
|
|
|
<div class="code"><%= "#{@api_domain}update?key=#{@key}&field1=0" %></div>
|
|
|
|
<br /><br />
|
2014-02-18 01:51:30 +01:00
|
|
|
|
2014-02-28 19:57:58 +01:00
|
|
|
<div class="helplink">(<a target="_blank" href="/docs/channels#get_feed"><%= t(:help_options) %></a>)</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
<h2><%= t(:help_channel_feed) %></h2>
|
|
|
|
<%= t(:help_channel_view) %>
|
|
|
|
<br />
|
|
|
|
<div class="code"><%= link_to "#{@api_domain}channels/#{@channel.id}/feed.json?key=#{@key}", "#{@api_domain}channels/#{@channel.id}/feed.json?key=#{@key}", :target => '_blank' %></div>
|
|
|
|
<br />
|
2014-02-18 01:51:30 +01:00
|
|
|
|
2014-02-17 18:05:39 +01:00
|
|
|
</li>
|
|
|
|
|
|
|
|
<li>
|
2014-02-28 19:57:58 +01:00
|
|
|
<div class="helplink">(<a target="_blank" href="/docs/channels#importer"><%= t(:help_options) %></a>)</div>
|
2014-02-17 18:05:39 +01:00
|
|
|
<h2><%= t(:help) %></h2>
|
|
|
|
<%= t(:help_channel_import) %>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
2014-02-18 01:51:30 +01:00
|
|
|
|