list things in ressource folder

This commit is contained in:
tykayn 2020-11-29 15:23:33 +01:00 committed by Baptiste Lemoine
parent 1b462077ae
commit fd5005a807
4 changed files with 66 additions and 14 deletions

View File

@ -147,6 +147,7 @@ a.list-item {
.columns{
background: white;
}
.setting-menu-item .router-link-active,
.router-link-active{
background-color: $background-color-darker;
background-color: $purple-1;
}

View File

@ -800,5 +800,6 @@
"Mobilizon is a federated software, meaning you can interact - depending on your admin's federation settings - with content from other instances, such as joining groups or events that were created elsewhere.": "Mobilizon is a federated software, meaning you can interact - depending on your admin federation settings - with content from other instances, such as joining groups or events that were created elsewhere.",
"This instance, <b>{instanceName} ({domain})</b>, hosts your profile, so remember its name.": "This instance, <b>{instanceName} ({domain})</b>, hosts your profile, so remember its name.",
"If you are being asked for your federated indentity, it's composed of your username and your instance. For instance, the federated identity for your first profile is:": "If you are being asked for your federated indentity, it's composed of your username and your instance. For instance, the federated identity for your first profile is:",
"Uploaded media size": "Uploaded media size"
"Uploaded media size": "Uploaded media size",
"chapril services description": "gather your Chapril tools in this place",
}

View File

@ -888,5 +888,6 @@
"Mobilizon is a federated software, meaning you can interact - depending on your admin's federation settings - with content from other instances, such as joining groups or events that were created elsewhere.": "Mobilizon est un logiciel fédéré, ce qui signifie que vous pouvez interagir - en fonction des paramètres de fédération de votre administrateur·ice - avec du contenu d'autres instances, comme par exemple rejoindre des groupes ou des événements ayant été créés ailleurs.",
"This instance, <b>{instanceName} ({domain})</b>, hosts your profile, so remember its name.": "Cette instance, <b>{instanceName} ({domain})</b>, héberge votre profil, donc notez bien son nom.",
"If you are being asked for your federated indentity, it's composed of your username and your instance. For instance, the federated identity for your first profile is:": "Si l'on vous demande votre identité fédérée, elle est composée de votre nom d'utilisateur·ice et de votre instance. Par exemple, l'identité fédérée de votre premier profil est :",
"Uploaded media size": "Taille des médias téléversés"
"Uploaded media size": "Taille des médias téléversés",
"chapril services description": "utilisez les outils du Chapril pour votre groupe, et regroupez les liens dans cet espace de partage"
}

View File

@ -8,8 +8,8 @@
name: RouteName.GROUP,
params: { preferredUsername: usernameWithDomain(resource.actor) },
}"
>{{ resource.actor.name }}</router-link
>
>{{ resource.actor.name }}
</router-link>
</li>
<li>
<router-link
@ -17,8 +17,8 @@
name: RouteName.RESOURCE_FOLDER_ROOT,
params: { preferredUsername: usernameWithDomain(resource.actor) },
}"
>{{ $t("Resources") }}</router-link
>
>{{ $t("Resources") }}
</router-link>
</li>
<li
v-if="resource.path !== '/'"
@ -34,8 +34,8 @@
preferredUsername: usernameWithDomain(resource.actor),
},
}"
>{{ pathFragment }}</router-link
>
>{{ pathFragment }}
</router-link>
</li>
<li>
<b-dropdown aria-role="list">
@ -67,6 +67,52 @@
<p v-if="resource.path === '/'" class="module-description">
{{ $t("A place to store links to documents or resources of any type.") }}
</p>
<div class="services-chapril">
<h2>Services Chapril</h2>
<p>
{{ $t("chapril services descriptions") }}
</p>
<ul>
<li>
<a href="https://visio.chapril.org">
<span class="mdi mdi-microphone"></span>
Visio</a
>
</li>
<li>
<a href="https://pad.chapril.org"
><span class="mdi mdi-pencil-box-outline"></span> Pad</a
>
</li>
<li>
<a href="https://valise.chapril.org"
><span class="mdi mdi-file-account"></span> nextcloud</a
>
</li>
<li>
<a href="https://date.chapril.org"><span class="mdi mdi-update"></span> Date</a>
</li>
<li>
<a href="https://www.chapril.org/XMPP.html"
><span class="mdi mdi-comment"></span> XMPP
</a>
</li>
<li>
<a href="https://mumble.chapril.org">
<span class="mdi mdi-comment-multiple-outline"></span> Mumble
</a>
</li>
<li>
<a href="https://umap.openstreetmap.fr"> <span class="mdi mdi-map"></span> Umap </a>
</li>
<li>
<a href="https://peertube.cipherbliss.com">
<span class="mdi mdi-filmstrip"></span> peertube
</a>
</li>
</ul>
</div>
<div class="list-header">
<div class="list-header-right">
<b-checkbox v-model="checkedAll" v-if="resource.children.total > 0" />
@ -83,8 +129,8 @@
icon-right="delete"
size="is-small"
@click="deleteMultipleResources"
>{{ $t("Delete") }}</b-button
>
>{{ $t("Delete") }}
</b-button>
</div>
</div>
</div>
@ -205,12 +251,12 @@ import { RefetchQueryDescription } from "apollo-client/core/watchQueryOptions";
import { CURRENT_ACTOR_CLIENT } from "../../graphql/actor";
import { IActor, usernameWithDomain } from "../../types/actor";
import RouteName from "../../router/name";
import { IResource, mapServiceTypeToIcon, IProvider } from "../../types/resource";
import { IProvider, IResource, mapServiceTypeToIcon } from "../../types/resource";
import {
CREATE_RESOURCE,
DELETE_RESOURCE,
PREVIEW_RESOURCE_LINK,
GET_RESOURCE,
PREVIEW_RESOURCE_LINK,
UPDATE_RESOURCE,
} from "../../graphql/resources";
import { CONFIG } from "../../graphql/config";
@ -612,4 +658,7 @@ nav.breadcrumb ul {
opacity: 1;
}
}
.services-chapril ul {
list-style-type: none;
}
</style>