Re-enable v1.0 URI compatibility wrt update feeds.
The additional filter token introduced 404's for bookmarked feeds; now the old URLs are re-added and their actions forward the requests to the new handlers. Another small change removes a double assignment and puts the "All Updates" link in the template on top to separate it clearly from the other filters. This commit closes issue 605.
This commit is contained in:
@@ -13,9 +13,12 @@
|
||||
{/block}
|
||||
|
||||
{block context}
|
||||
<p><span class="label{if 'all' == $model_filter} active{/if}"><a href="{url 'IDF_Views_Project::timeline', array($project.shortname, 'all')}">{trans 'All Updates'}</a></span></p>
|
||||
<p><strong>{trans 'Filter by type'}</strong><br />
|
||||
{foreach $all_model_filters as $filter_key => $filter_name}
|
||||
{if $filter_key != 'all'}
|
||||
<span class="label{if $filter_key == $model_filter} active{/if}"><a href="{url 'IDF_Views_Project::timeline', array($project.shortname, $filter_key)}">{$filter_name}</a></span><br />
|
||||
{/if}
|
||||
{/foreach}
|
||||
</p>
|
||||
{/block}
|
||||
|
Reference in New Issue
Block a user