Show More
@@ -83,6 +83,7 b' class JournalController(BaseController):' | |||
|
83 | 83 | return render('journal/journal.html') |
|
84 | 84 | |
|
85 | 85 | @LoginRequired(api_access=True) |
|
86 | @NotAnonymous() | |
|
86 | 87 | def journal_atom(self): |
|
87 | 88 | """ |
|
88 | 89 | Produce an atom-1.0 feed via feedgenerator module |
@@ -94,6 +95,7 b' class JournalController(BaseController):' | |||
|
94 | 95 | return self._atom_feed(following, public=False) |
|
95 | 96 | |
|
96 | 97 | @LoginRequired(api_access=True) |
|
98 | @NotAnonymous() | |
|
97 | 99 | def journal_rss(self): |
|
98 | 100 | """ |
|
99 | 101 | Produce an rss feed via feedgenerator module |
@@ -20,10 +20,10 b'' | |||
|
20 | 20 | <span><a id="refresh" href="${h.url('journal')}"><img class="icon" title="${_('Refresh')}" alt="${_('Refresh')}" src="${h.url('/images/icons/arrow_refresh.png')}"/></a></span> |
|
21 | 21 | </li> |
|
22 | 22 | <li> |
|
23 | <span><a href="${h.url('journal_rss')}"><img class="icon" title="${_('RSS feed')}" alt="${_('RSS feed')}" src="${h.url('/images/icons/atom.png')}"/></a></span> | |
|
23 | <span><a href="${h.url('journal_rss', api_key=c.rhodecode_user.api_key)}"><img class="icon" title="${_('RSS feed')}" alt="${_('RSS feed')}" src="${h.url('/images/icons/atom.png')}"/></a></span> | |
|
24 | 24 | </li> |
|
25 | 25 | <li> |
|
26 | <span><a href="${h.url('journal_atom')}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span> | |
|
26 | <span><a href="${h.url('journal_atom', api_key=c.rhodecode_user.api_key)}"><img class="icon" title="${_('ATOM feed')}" alt="${_('ATOM feed')}" src="${h.url('/images/icons/rss_16.png')}"/></a></span> | |
|
27 | 27 | </li> |
|
28 | 28 | </ul> |
|
29 | 29 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now