(Not documented)
# File vendor/plugins/ubiquo_design/lib/ubiquo_design/connectors/i18n.rb, line 169
169: def uhook_static_page_actions(page)
170: if page.uhook_static_section_widget(current_locale)
171: edit_link = link_to(t('ubiquo.edit'), edit_ubiquo_static_page_path(page))
172: else
173: edit_link = link_to(t('ubiquo.translate'),
174: edit_ubiquo_static_page_path(page, :from => page.uhook_static_section_widget(:ALL).try(:content_id)))
175: end
176: [
177: edit_link,
178: (link_to(t('ubiquo.remove'), ubiquo_static_page_path(page), :confirm => t('ubiquo.design.confirm_page_removal'), :method => :delete) unless page.key?)
179: ].compact
180: end
Disabled; run with $DEBUG to generate this.
Generated with the Darkfish Rdoc Generator 1.1.6.