mirror of
https://framagit.org/framasoft/mobilizon.git
synced 2024-12-21 15:32:32 +00:00
Add a warning message on the group page that the group is remote
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
9290ab9487
commit
53de80dfee
3 changed files with 16 additions and 2 deletions
|
@ -1228,5 +1228,7 @@
|
|||
"Showing events starting on": "Showing events starting on",
|
||||
"Showing events before": "Showing events before",
|
||||
"Clear date filter field": "Clear date filter field",
|
||||
"{count} members or followers": "No members or followers|One member or follower|{count} members or followers"
|
||||
"{count} members or followers": "No members or followers|One member or follower|{count} members or followers",
|
||||
"This profile is from another instance, the informations shown here may be incomplete.": "This profile is from another instance, the informations shown here may be incomplete.",
|
||||
"View full profile": "View full profile"
|
||||
}
|
||||
|
|
|
@ -1332,5 +1332,7 @@
|
|||
"Showing events starting on": "Afficher les événements à partir de",
|
||||
"Showing events before": "Afficher les événements avant",
|
||||
"Clear date filter field": "Vider le champ de filtre de la date",
|
||||
"{count} members or followers": "Aucun⋅e membre ou abonné⋅e|Un⋅e membre ou abonné⋅e|{count} membres ou abonné⋅es"
|
||||
"{count} members or followers": "Aucun⋅e membre ou abonné⋅e|Un⋅e membre ou abonné⋅e|{count} membres ou abonné⋅es",
|
||||
"This profile is from another instance, the informations shown here may be incomplete.": "Ce profil provient d'une autre instance, les informations montrées ici peuvent être incomplètes.",
|
||||
"View full profile": "Voir le profil complet"
|
||||
}
|
||||
|
|
|
@ -473,6 +473,16 @@
|
|||
<div v-else-if="group" class="public-container">
|
||||
<aside class="group-metadata">
|
||||
<div class="sticky">
|
||||
<b-message v-if="group.domain && !isCurrentActorAGroupMember">
|
||||
{{
|
||||
$t(
|
||||
"This profile is from another instance, the informations shown here may be incomplete."
|
||||
)
|
||||
}}
|
||||
<a :href="group.url" rel="noopener noreferrer external">{{
|
||||
$t("View full profile")
|
||||
}}</a>
|
||||
</b-message>
|
||||
<event-metadata-block :title="$t('Members')" icon="account-group">
|
||||
{{
|
||||
$tc("{count} members", group.members.total, {
|
||||
|
|
Loading…
Reference in a new issue