Merge remote-tracking branch 'parent/main' into upstream-20240327
This commit is contained in:
commit
ace193fda3
75 changed files with 435 additions and 462 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
.announcements-list__item__action-bar
|
||||
.announcements-list__item__meta
|
||||
= rule.text
|
||||
= rule.hint
|
||||
|
||||
%div
|
||||
= table_link_to 'trash', t('admin.rules.delete'), admin_rule_path(rule), method: :delete, data: { confirm: t('admin.accounts.are_you_sure') } if can?(:destroy, rule)
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
<%= raw t('admin_mailer.new_critical_software_updates.body') %>
|
||||
|
||||
<% @software_updates.each do |update| %>
|
||||
- Mastodon #{update.version}: #{update.release_notes}
|
||||
<% end %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= admin_software_updates_url %>
|
||||
|
|
|
@ -1,3 +1,7 @@
|
|||
<%= raw t('admin_mailer.new_software_updates.body') %>
|
||||
|
||||
<% @software_updates.each do |update| %>
|
||||
- Mastodon #{update.version}: #{update.release_notes}
|
||||
<% end %>
|
||||
|
||||
<%= raw t('application_mailer.view')%> <%= admin_software_updates_url %>
|
||||
|
|
|
@ -27,7 +27,7 @@
|
|||
%title= html_title
|
||||
|
||||
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
|
||||
= stylesheet_pack_tag current_theme, media: 'all', crossorigin: 'anonymous'
|
||||
= theme_style_tags current_theme
|
||||
-# Needed for the wicg-inert polyfill. It needs to be on it's own <style> tag, with this `id`
|
||||
= stylesheet_pack_tag 'inert', media: 'all', id: 'inert-style'
|
||||
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
%link{ rel: 'dns-prefetch', href: storage_host }/
|
||||
|
||||
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
|
||||
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all', crossorigin: 'anonymous'
|
||||
= theme_style_tags Setting.theme # Use the admin-configured theme here, even if logged in
|
||||
= javascript_pack_tag 'common', integrity: true, crossorigin: 'anonymous'
|
||||
= preload_pack_asset "locale/#{I18n.locale}-json.js"
|
||||
= render_initial_state
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
%title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
|
||||
%meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
|
||||
= stylesheet_pack_tag 'common', media: 'all', crossorigin: 'anonymous'
|
||||
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all', crossorigin: 'anonymous'
|
||||
= theme_style_tags Setting.default_settings['theme']
|
||||
= javascript_pack_tag 'common', crossorigin: 'anonymous'
|
||||
= javascript_pack_tag 'error', crossorigin: 'anonymous'
|
||||
%body.error
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
- instance_presenter = InstancePresenter.new
|
||||
|
||||
= content_for :heading do
|
||||
.email-desktop-flex
|
||||
.email-header-left
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue