@@ -20,10 +20,10 | |||||
20 | :url => {:controller => 'activities', :action => 'index', |
|
20 | :url => {:controller => 'activities', :action => 'index', | |
21 | :id => @project, :show_wiki_edits => 1, |
|
21 | :id => @project, :show_wiki_edits => 1, | |
22 | :key => User.current.rss_key} %> |
|
22 | :key => User.current.rss_key} %> | |
23 |
|
|
23 | <% if User.current.allowed_to?(:export_wiki_pages, @project) %> | |
24 | <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %> |
|
24 | <%= f.link_to('PDF', :url => {:action => 'export', :format => 'pdf'}) %> | |
25 | <%= f.link_to('HTML', :url => {:action => 'export'}) %> |
|
25 | <%= f.link_to('HTML', :url => {:action => 'export'}) %> | |
26 |
|
|
26 | <% end %> | |
27 | <% end %> |
|
27 | <% end %> | |
28 | <% end %> |
|
28 | <% end %> | |
29 |
|
29 |
General Comments 0
You need to be logged in to leave comments.
Login now