Run Prettier with updated version
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
parent
32d92553aa
commit
543b9a2dad
@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div>
|
<div>
|
||||||
<div class="media" style="align-items: top;">
|
<div class="media" style="align-items: top">
|
||||||
<div class="media-left">
|
<div class="media-left">
|
||||||
<figure class="image is-32x32" v-if="actor.avatar">
|
<figure class="image is-32x32" v-if="actor.avatar">
|
||||||
<img class="is-rounded" :src="actor.avatar.url" alt="" />
|
<img class="is-rounded" :src="actor.avatar.url" alt="" />
|
||||||
|
@ -66,11 +66,7 @@
|
|||||||
"
|
"
|
||||||
>
|
>
|
||||||
<div class="level-left">
|
<div class="level-left">
|
||||||
<span
|
<span style="cursor: pointer" class="level-item" @click="createReplyToComment(comment)">
|
||||||
style="cursor: pointer;"
|
|
||||||
class="level-item"
|
|
||||||
@click="createReplyToComment(comment)"
|
|
||||||
>
|
|
||||||
<span class="icon is-small">
|
<span class="icon is-small">
|
||||||
<b-icon icon="reply" />
|
<b-icon icon="reply" />
|
||||||
</span>
|
</span>
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div style="display: none;">
|
<div style="display: none">
|
||||||
<slot v-if="ready"></slot>
|
<slot v-if="ready"></slot>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
@ -163,12 +163,8 @@ export const UPDATE_CURRENT_ACTOR_CLIENT = gql`
|
|||||||
$preferredUsername: String!
|
$preferredUsername: String!
|
||||||
$name: String!
|
$name: String!
|
||||||
) {
|
) {
|
||||||
updateCurrentActor(
|
updateCurrentActor(id: $id, avatar: $avatar, preferredUsername: $preferredUsername, name: $name)
|
||||||
id: $id
|
@client
|
||||||
avatar: $avatar
|
|
||||||
preferredUsername: $preferredUsername
|
|
||||||
name: $name
|
|
||||||
) @client
|
|
||||||
}
|
}
|
||||||
`;
|
`;
|
||||||
|
|
||||||
|
@ -99,7 +99,7 @@ export const GET_DISCUSSION = gql`
|
|||||||
query getDiscussion($slug: String!, $page: Int, $limit: Int) {
|
query getDiscussion($slug: String!, $page: Int, $limit: Int) {
|
||||||
discussion(slug: $slug) {
|
discussion(slug: $slug) {
|
||||||
comments(page: $page, limit: $limit)
|
comments(page: $page, limit: $limit)
|
||||||
@connection(key: "discussion-comments", filter: ["slug"]) {
|
@connection(key: "discussion-comments", filter: ["slug"]) {
|
||||||
total
|
total
|
||||||
elements {
|
elements {
|
||||||
id
|
id
|
||||||
|
@ -127,7 +127,7 @@
|
|||||||
<img
|
<img
|
||||||
src="/img/about/software-to-the-people-mobilizon.png"
|
src="/img/about/software-to-the-people-mobilizon.png"
|
||||||
width="300"
|
width="300"
|
||||||
:alt="('Software to the people')"
|
:alt="'Software to the people'"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
@ -21,7 +21,7 @@
|
|||||||
:show-detail-icon="true"
|
:show-detail-icon="true"
|
||||||
:total="users.total"
|
:total="users.total"
|
||||||
:per-page="USERS_PER_PAGE"
|
:per-page="USERS_PER_PAGE"
|
||||||
:has-detailed-visible="(row => row.actors.length > 0)"
|
:has-detailed-visible="(row) => row.actors.length > 0"
|
||||||
@page-change="onPageChange"
|
@page-change="onPageChange"
|
||||||
@filters-change="onFiltersChange"
|
@filters-change="onFiltersChange"
|
||||||
>
|
>
|
||||||
|
@ -215,7 +215,7 @@
|
|||||||
</div>
|
</div>
|
||||||
<b-modal :active.sync="dateSettingsIsOpen" has-modal-card trap-focus>
|
<b-modal :active.sync="dateSettingsIsOpen" has-modal-card trap-focus>
|
||||||
<form action>
|
<form action>
|
||||||
<div class="modal-card" style="width: auto;">
|
<div class="modal-card" style="width: auto">
|
||||||
<header class="modal-card-head">
|
<header class="modal-card-head">
|
||||||
<p class="modal-card-title">{{ $t("Date and time settings") }}</p>
|
<p class="modal-card-title">{{ $t("Date and time settings") }}</p>
|
||||||
</header>
|
</header>
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
<date-calendar-icon :date="event.beginsOn" />
|
<date-calendar-icon :date="event.beginsOn" />
|
||||||
</div>
|
</div>
|
||||||
<div class="column">
|
<div class="column">
|
||||||
<h1 class="title" style="margin: 0;">{{ event.title }}</h1>
|
<h1 class="title" style="margin: 0">{{ event.title }}</h1>
|
||||||
<div class="organizer">
|
<div class="organizer">
|
||||||
<span v-if="event.organizerActor && !event.attributedTo">
|
<span v-if="event.organizerActor && !event.attributedTo">
|
||||||
<popover-actor-card :actor="event.organizerActor" :inline="true">
|
<popover-actor-card :actor="event.organizerActor" :inline="true">
|
||||||
|
@ -34,15 +34,16 @@
|
|||||||
v-for="(radiusOption, index) in radiusOptions"
|
v-for="(radiusOption, index) in radiusOptions"
|
||||||
:key="index"
|
:key="index"
|
||||||
:value="radiusOption"
|
:value="radiusOption"
|
||||||
>{{ radiusString(radiusOption) }}</option
|
|
||||||
>
|
>
|
||||||
|
{{ radiusString(radiusOption) }}
|
||||||
|
</option>
|
||||||
</b-select>
|
</b-select>
|
||||||
</b-field>
|
</b-field>
|
||||||
<b-field :label="$t('Date')" label-for="date">
|
<b-field :label="$t('Date')" label-for="date">
|
||||||
<b-select v-model="when" id="date" :disabled="activeTab !== 0">
|
<b-select v-model="when" id="date" :disabled="activeTab !== 0">
|
||||||
<option v-for="(option, index) in options" :key="index" :value="option">{{
|
<option v-for="(option, index) in options" :key="index" :value="option">
|
||||||
option.label
|
{{ option.label }}
|
||||||
}}</option>
|
</option>
|
||||||
</b-select>
|
</b-select>
|
||||||
</b-field>
|
</b-field>
|
||||||
</b-field>
|
</b-field>
|
||||||
|
@ -85,8 +85,9 @@
|
|||||||
v-for="(value, key) in notificationPendingParticipationValues"
|
v-for="(value, key) in notificationPendingParticipationValues"
|
||||||
:value="key"
|
:value="key"
|
||||||
:key="key"
|
:key="key"
|
||||||
>{{ value }}</option
|
|
||||||
>
|
>
|
||||||
|
{{ value }}
|
||||||
|
</option>
|
||||||
</b-select>
|
</b-select>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
<template> </template>
|
<template></template>
|
||||||
<script lang="ts">
|
<script lang="ts">
|
||||||
import { Component, Prop, Vue } from "vue-property-decorator";
|
import { Component, Prop, Vue } from "vue-property-decorator";
|
||||||
import { VALIDATE_USER, UPDATE_CURRENT_USER_CLIENT, LOGGED_USER } from "../../graphql/user";
|
import { VALIDATE_USER, UPDATE_CURRENT_USER_CLIENT, LOGGED_USER } from "../../graphql/user";
|
||||||
|
Loading…
Reference in New Issue
Block a user