mirror of
https://github.com/TracksApp/tracks.git
synced 2026-02-13 10:54:23 +01:00
fix #1252 by updating the todo ical feed and adding comment that todo ical is not for calendars. Also fix layout of feeds page
This commit is contained in:
parent
163389d914
commit
b911e3010b
4 changed files with 19 additions and 23 deletions
|
|
@ -1,25 +1,21 @@
|
|||
<% context = @active_contexts.empty? ? @hidden_contexts.first : @active_contexts.first
|
||||
-%>
|
||||
|
||||
<% context = @active_contexts.empty? ? @hidden_contexts.first : @active_contexts.first -%>
|
||||
<h4><%= t('feedlist.context_centric_actions') %>:</h4>
|
||||
<ul>
|
||||
<% if @active_contexts.empty? && @hidden_contexts.empty? -%>
|
||||
<ul><li><%= t('feedlist.context_needed') %></li></ul>
|
||||
<li><%= t('feedlist.context_needed') %></li>
|
||||
<% else -%>
|
||||
<ul>
|
||||
<li><%= t('common.numbered_step', :number => 1) %> - <%= t('feedlist.choose_context') %>:
|
||||
<select name="feed-contexts" id="feed-contexts">
|
||||
<%= options_from_collection_for_select(@active_contexts, "id", "name", @active_contexts.first.id) unless @active_contexts.empty?-%>
|
||||
<%= options_from_collection_for_select(@hidden_contexts, "id", "name") -%>
|
||||
</select>
|
||||
</li>
|
||||
<li><%= t('common.numbered_step', :number => 2) %> - <%= t('feedlist.select_feed_for_context') %>
|
||||
<div id="feedicons-context">
|
||||
<div id="feeds-for-context">
|
||||
<li><%= all_feed_links_for_context(context) %></li>
|
||||
</div>
|
||||
<li><%= t('common.numbered_step', :number => 1) %> - <%= t('feedlist.choose_context') %>:
|
||||
<select name="feed-contexts" id="feed-contexts">
|
||||
<%= options_from_collection_for_select(@active_contexts, "id", "name", @active_contexts.first.id) unless @active_contexts.empty?-%>
|
||||
<%= options_from_collection_for_select(@hidden_contexts, "id", "name") -%>
|
||||
</select>
|
||||
</li>
|
||||
<li><%= t('common.numbered_step', :number => 2) %> - <%= t('feedlist.select_feed_for_context') %>
|
||||
<div id="feedicons-context">
|
||||
<div id="feeds-for-context">
|
||||
<%= all_feed_links_for_context(context) %>
|
||||
</div>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</li>
|
||||
<% end -%>
|
||||
|
||||
|
||||
</ul>
|
||||
|
|
@ -14,7 +14,7 @@
|
|||
<li><%= t('common.numbered_step', :number => 2) %> - <%= t('feedlist.select_feed_for_project') %>
|
||||
<div id="feedicons-project">
|
||||
<div id="feeds-for-project">
|
||||
<li><%= all_feed_links_for_project(project) %></li>
|
||||
<%= all_feed_links_for_project(project) %>
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
BEGIN:VCALENDAR
|
||||
PRODID:-//TRACKS//<%= TRACKS_VERSION %>//EN
|
||||
VERSION:2.0
|
||||
PRODID:-//rousette.org.uk//Tracks 1.04//EN
|
||||
CALSCALE:GREGORIAN
|
||||
METHOD:PUBLISH
|
||||
BEGIN:VTIMEZONE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue