mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 15:58:50 +00:00
Merge commit '34cd7d6585992c03298c175ab5d22ad059b58cdb' into glitch-soc/merge-upstream
Conflicts: - `CONTRIBUTING.md`: Upstream changed the file, while we had a different one. Updated the common parts. - `README.md`: Upstream changed the file, while we had a different one. Updated the common parts. - `app/helpers/application_helper.rb`: Upstream added helpers where glitch-soc had extra ones. Added upstream's new helpers. - `app/models/form/admin_settings.rb`: Upstream added some custom handling of one setting, while glitch-soc had additional code. Ported upstream's code. - `lib/mastodon/version.rb`: Upstream moved some things to `config/mastodon.yml`. Did the same. - `spec/requests/api/v1/accounts/credentials_spec.rb`: I don't know honestly.
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
.report-notes__item__header
|
||||
%span.username
|
||||
= link_to report_note.account.username, admin_account_path(report_note.account_id)
|
||||
%time.relative-formatted{ datetime: report_note.created_at.iso8601 }
|
||||
%time.relative-formatted{ datetime: report_note.created_at.iso8601, title: report_note.created_at }
|
||||
= l report_note.created_at.to_date
|
||||
|
||||
.report-notes__item__content
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
= link_to report.account.username, admin_account_path(report.account_id)
|
||||
- else
|
||||
= link_to report.account.domain, admin_instance_path(report.account.domain)
|
||||
%time.relative-formatted{ datetime: report.created_at.iso8601 }
|
||||
%time.relative-formatted{ datetime: report.created_at.iso8601, title: report.created_at }
|
||||
= l report.created_at.to_date
|
||||
.report-notes__item__content
|
||||
= simple_format(h(report.comment))
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
.announcements-list__item
|
||||
- if can?(:update, role)
|
||||
= link_to edit_admin_role_path(role), class: 'announcements-list__item__title' do
|
||||
%span.user-role{ class: "user-role-#{role.id}" }
|
||||
%span.user-role
|
||||
= material_symbol 'group'
|
||||
|
||||
- if role.everyone?
|
||||
@@ -10,7 +10,7 @@
|
||||
= role.name
|
||||
- else
|
||||
%span.announcements-list__item__title
|
||||
%span.user-role{ class: "user-role-#{role.id}" }
|
||||
%span.user-role
|
||||
= material_symbol 'group'
|
||||
|
||||
- if role.everyone?
|
||||
|
||||
@@ -29,8 +29,8 @@
|
||||
%div
|
||||
- if defined?(show_apps_buttons) && show_apps_buttons
|
||||
.email-welcome-apps-btns
|
||||
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-app-store.png'), alt: t('user_mailer.welcome.apps_ios_action'), width: 120, height: 40), 'https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974'
|
||||
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-google-play.png'), alt: t('user_mailer.welcome.apps_android_action'), width: 120, height: 40), 'https://play.google.com/store/apps/details?id=org.joinmastodon.android'
|
||||
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-app-store.png'), alt: t('user_mailer.welcome.apps_ios_action'), width: 120, height: 40), app_store_url_ios
|
||||
= link_to image_tag(frontend_asset_url('images/mailer-new/store-icons/btn-google-play.png'), alt: t('user_mailer.welcome.apps_android_action'), width: 120, height: 40), app_store_url_android
|
||||
- elsif defined?(button_text) && defined?(button_url) && defined?(checked) && !checked
|
||||
= render 'application/mailer/button', text: button_text, url: button_url, has_arrow: false
|
||||
/[if mso]
|
||||
|
||||
@@ -2,9 +2,3 @@
|
||||
<%= raw custom_css_styles %>
|
||||
|
||||
<%- end %>
|
||||
<%- @user_roles.each do |role| %>
|
||||
.user-role-<%= role.id %> {
|
||||
--user-role-accent: <%= role.color %>;
|
||||
}
|
||||
|
||||
<%- end %>
|
||||
|
||||
@@ -66,7 +66,7 @@
|
||||
.report-notes__item__header
|
||||
%span.username
|
||||
= link_to @appeal.account.username, can?(:show, @appeal.account) ? admin_account_path(@appeal.account_id) : short_account_url(@appeal.account)
|
||||
%time.relative-formatted{ datetime: @appeal.created_at.iso8601 }
|
||||
%time.relative-formatted{ datetime: @appeal.created_at.iso8601, title: @appeal.created_at }
|
||||
= l @appeal.created_at.to_date
|
||||
|
||||
.report-notes__item__content
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
= csrf_meta_tags unless skip_csrf_meta_tags?
|
||||
%meta{ name: 'style-nonce', content: request.content_security_policy_nonce }
|
||||
|
||||
= stylesheet_link_tag custom_css_path, skip_pipeline: true, host: root_url, media: 'all'
|
||||
= custom_stylesheet
|
||||
|
||||
= yield :header_tags
|
||||
|
||||
|
||||
@@ -30,8 +30,8 @@
|
||||
|
||||
5. <%= t('user_mailer.welcome.apps_title') %>
|
||||
<%= t('user_mailer.welcome.apps_step') %>
|
||||
* iOS: https://apps.apple.com/app/mastodon-for-iphone-and-ipad/id1571998974
|
||||
* Android: https://play.google.com/store/apps/details?id=org.joinmastodon.android
|
||||
* iOS: <%= app_store_url_ios %>
|
||||
* Android: <%= app_store_url_android %>
|
||||
|
||||
---
|
||||
|
||||
|
||||
Reference in New Issue
Block a user