mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-12-13 07:49:29 +00:00
Merge commit 'f7b1769e8a69e2831493f3a704d68efa5cf9beff' into glitch-soc/merge-upstream
This commit is contained in:
@@ -36,7 +36,7 @@
|
||||
"account.followers.empty": "Ancora nessuno segue questo utente.",
|
||||
"account.followers_counter": "{count, plural, one {{counter} seguace} other {{counter} seguaci}}",
|
||||
"account.following": "Seguiti",
|
||||
"account.following_counter": "{count, plural, one {{counter} segui} other {{counter} segui}}",
|
||||
"account.following_counter": "{count, plural, one {{counter} segui} other {{counter} seguiti}}",
|
||||
"account.follows.empty": "Questo utente non segue ancora nessuno.",
|
||||
"account.go_to_profile": "Vai al profilo",
|
||||
"account.hide_reblogs": "Nascondi condivisioni da @{name}",
|
||||
|
||||
@@ -4,7 +4,7 @@ class REST::TermsOfServiceSerializer < ActiveModel::Serializer
|
||||
attributes :effective_date, :effective, :content, :succeeded_by
|
||||
|
||||
def effective_date
|
||||
object.effective_date.iso8601
|
||||
(object.effective_date || object.published_at).iso8601
|
||||
end
|
||||
|
||||
def effective
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
.dot-indicator.success
|
||||
.dot-indicator__indicator
|
||||
%span
|
||||
- if @terms_of_service.effective?
|
||||
- if @terms_of_service.effective? || @terms_of_service.effective_date.nil?
|
||||
= t('admin.terms_of_service.live')
|
||||
- else
|
||||
= t('admin.terms_of_service.going_live_on_html', date: tag.time(l(@terms_of_service.effective_date), class: 'formatted', date: @terms_of_service.effective_date.iso8601))
|
||||
|
||||
Reference in New Issue
Block a user