Merge branch 'allow-disabling-event-creation' into 'master'
Allow to disable event creation See merge request framasoft/mobilizon!560
This commit is contained in:
@@ -18,7 +18,7 @@
|
||||
v-if="config && config.features.groups"
|
||||
>{{ $t("My groups") }}</b-navbar-item
|
||||
>
|
||||
<b-navbar-item tag="span">
|
||||
<b-navbar-item tag="span" v-if="config && config.features.eventCreation">
|
||||
<b-button tag="router-link" :to="{ name: RouteName.CREATE_EVENT }" type="is-primary">{{
|
||||
$t("Create")
|
||||
}}</b-button>
|
||||
|
||||
@@ -61,6 +61,7 @@ export const CONFIG = gql`
|
||||
}
|
||||
features {
|
||||
groups
|
||||
eventCreation
|
||||
}
|
||||
auth {
|
||||
ldap
|
||||
|
||||
@@ -70,6 +70,7 @@ export interface IConfig {
|
||||
resourceProviders: IProvider[];
|
||||
timezones: string[];
|
||||
features: {
|
||||
eventCreation: boolean;
|
||||
groups: boolean;
|
||||
};
|
||||
federating: boolean;
|
||||
|
||||
Reference in New Issue
Block a user