Adds Slug to Creator profile
This commit is contained in:
@@ -16,6 +16,7 @@ public class GetCreatorBySlugResponse(
|
|||||||
bool verified,
|
bool verified,
|
||||||
bool acceptDonation,
|
bool acceptDonation,
|
||||||
string name,
|
string name,
|
||||||
|
string slug,
|
||||||
string? title,
|
string? title,
|
||||||
Socials socials,
|
Socials socials,
|
||||||
PresentationInfos presentationInfos,
|
PresentationInfos presentationInfos,
|
||||||
@@ -27,6 +28,7 @@ public class GetCreatorBySlugResponse(
|
|||||||
public bool Verified { get; } = verified;
|
public bool Verified { get; } = verified;
|
||||||
public bool AcceptDonation { get; } = acceptDonation;
|
public bool AcceptDonation { get; } = acceptDonation;
|
||||||
public string Name { get; } = name;
|
public string Name { get; } = name;
|
||||||
|
public string Slug { get; } = slug;
|
||||||
public string? Title { get; } = title;
|
public string? Title { get; } = title;
|
||||||
public Socials Socials { get; } = socials;
|
public Socials Socials { get; } = socials;
|
||||||
public PresentationInfos PresentationInfos { get; } = presentationInfos;
|
public PresentationInfos PresentationInfos { get; } = presentationInfos;
|
||||||
@@ -75,6 +77,7 @@ public class GetCreatorBySlugHandler(
|
|||||||
c.Verified,
|
c.Verified,
|
||||||
c.AcceptDonation,
|
c.AcceptDonation,
|
||||||
c.Name,
|
c.Name,
|
||||||
|
c.Slug,
|
||||||
c.Title,
|
c.Title,
|
||||||
c.Socials,
|
c.Socials,
|
||||||
c.PresentationInfos,
|
c.PresentationInfos,
|
||||||
|
|||||||
@@ -88,6 +88,7 @@
|
|||||||
"informations": "Informations",
|
"informations": "Informations",
|
||||||
"name": "Name",
|
"name": "Name",
|
||||||
"title": "Title",
|
"title": "Title",
|
||||||
|
"slug": "Slug",
|
||||||
"description": "Description",
|
"description": "Description",
|
||||||
"banner&profile": "Banner and profile picture",
|
"banner&profile": "Banner and profile picture",
|
||||||
"borderpicturecolor": "Profile picture border",
|
"borderpicturecolor": "Profile picture border",
|
||||||
|
|||||||
@@ -88,6 +88,7 @@
|
|||||||
"informations": "Informations",
|
"informations": "Informations",
|
||||||
"name": "Nom",
|
"name": "Nom",
|
||||||
"title": "Titre",
|
"title": "Titre",
|
||||||
|
"slug": "Slug",
|
||||||
"description": "Description",
|
"description": "Description",
|
||||||
"banner&profile": "Bannière et photo de profil",
|
"banner&profile": "Bannière et photo de profil",
|
||||||
"borderpicturecolor": "Bordure de la photo de profil",
|
"borderpicturecolor": "Bordure de la photo de profil",
|
||||||
|
|||||||
@@ -180,6 +180,12 @@ const closeDialog = () => {
|
|||||||
<span class="chevron"><v-icon>mdi-chevron-right</v-icon></span>
|
<span class="chevron"><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
</button>
|
</button>
|
||||||
|
|
||||||
|
<button class="action">
|
||||||
|
<span class="label">{{ $t('creatorinfopage.slug') }}</span>
|
||||||
|
<span class="value">{{ creatorProfileStore.creator.slug }}</span>
|
||||||
|
<span class="chevron"><v-icon>mdi-chevron-right</v-icon></span>
|
||||||
|
</button>
|
||||||
|
|
||||||
<!-- TITLE -->
|
<!-- TITLE -->
|
||||||
<button class="action" @click="openDialog('ChangeTitleDialog')">
|
<button class="action" @click="openDialog('ChangeTitleDialog')">
|
||||||
<span class="label">{{ $t('creatorinfopage.title') }}</span>
|
<span class="label">{{ $t('creatorinfopage.title') }}</span>
|
||||||
|
|||||||
Reference in New Issue
Block a user