* feat: remove the default email and cobine the periodic digest and the contact email under the Email section * refactor: rename the email_link to contact link and use the contact_email as a default and fallback to the ForemInstance.email * chore: alignment * feat: use the contact_email helper * feat: move the contact_email to the ForemInstance model * feat: use ForemInstance.contact_email instead of the application helper method * removed the application Helper * feat: set the dafault on the contact_email * fix: cypress tests * Update app/lib/constants/settings/general.rb Co-authored-by: Michael Kohl <me@citizen428.net> Co-authored-by: Michael Kohl <me@citizen428.net>
8 lines
528 B
Text
8 lines
528 B
Text
<% helper = Module.new { extend ApplicationHelper } %>
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
<OpenSearchDescription xmlns="http://a9.com/-/spec/opensearch/1.1/">
|
|
<ShortName><%= t("xml.opensearch.short_name", community: helper.community_name) %></ShortName>
|
|
<Description><%= t("xml.opensearch.description", community: helper.community_name) %></Description>
|
|
<Contact><%= ForemInstance.contact_email %></Contact>
|
|
<Url type="text/html" template="<%= URL.url("search") %>?q={searchTerms}" />
|
|
</OpenSearchDescription>
|