Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions src/components/Cards/CreateWikiWizardStepThree.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<h3>How long do you plan to use this Wikibase?</h3>

<v-radio-group
v-model="value.temporality"

Check warning on line 16 in src/components/Cards/CreateWikiWizardStepThree.vue

View workflow job for this annotation

GitHub Actions / build (22)

Unexpected mutation of "value" prop
:error-messages=error
:rules="[() => !!value.temporality || 'Please select an option.']"
>
Expand Down Expand Up @@ -83,8 +83,6 @@
</v-form>
</v-card-text>
<v-card-actions>
<v-spacer></v-spacer>

<v-btn
type="button"
:disabled="inFlight"
Expand Down Expand Up @@ -139,3 +137,11 @@

}
</script>

<style lang="css" scoped>
.v-card__actions {
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
</style>
9 changes: 8 additions & 1 deletion src/components/Cards/CreateWikiWizardStepTwo.vue
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,6 @@
</v-card-text>

<v-card-actions>
<v-spacer></v-spacer>
<v-btn v-if="$listeners['previous-step']" type="button" :disabled="inFlight" @click="$emit('previous-step')">
&lt; PREVIOUS
</v-btn>
Expand Down Expand Up @@ -150,3 +149,11 @@ export default {
}
}
</script>

<style lang="css" scoped>
.v-card__actions {
flex-wrap: wrap;
justify-content: flex-end;
gap: 8px;
}
</style>
18 changes: 16 additions & 2 deletions src/components/Pages/ManageWiki/Cards/Profile.vue
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,20 @@ export default {
},
updatedAt: function () {
if (this.profile?.updated_at) {
return `Last updated on ${new Date(this.profile.updated_at).toLocaleString()}`
const rawDate = new Date(this.profile.updated_at)
const date = new Intl.DateTimeFormat('en-GB', {
timeZone: 'UTC',
day: '2-digit',
month: 'long',
year: 'numeric'
}).format(rawDate)
const time = new Intl.DateTimeFormat('en-GB', {
timeZone: 'UTC',
hour: '2-digit',
minute: '2-digit',
hour12: false
}).format(rawDate)
return `Last updated on ${date}, at ${time} (UTC)`
}
return false
}
Expand Down Expand Up @@ -229,13 +242,14 @@ export default {
padding-top: 0;
}
.no-profile-banner {
display: flex;
align-items: flex-start;
background-color: rgba(255, 236, 179, 1);
border-radius: 4px;
padding: 8px 16px;
font-size: 16px;
}
.no-profile-banner > .v-icon {
float: left;
margin-right: 16px;
}
.profile {
Expand Down
Loading