Skip to content
Snippets Groups Projects
Commit 84d95ab8 authored by Bastien Abadie's avatar Bastien Abadie
Browse files

Merge branch 'always-show-public' into 'master'

Always show the public checkbox on project settings

Closes #749

See merge request !1040
parents fe6b04b4 0c3e5cf7
No related branches found
No related tags found
1 merge request!1040Always show the public checkbox on project settings
......@@ -95,7 +95,7 @@
:disabled="loading || (corpusId && !canAdmin(corpus))"
/>
</div>
<p class="help">Optional UUID or URL of an element to be used as the project's thumbnail</p>
<p class="help">Optional UUID or URL of an element to be used as the project's thumbnail.</p>
<template v-if="field_errors.thumbnail">
<p
class="help is-danger"
......@@ -136,18 +136,21 @@
</template>
</div>
<div v-if="isAdmin" class="field">
<div class="field">
<div class="control">
<label class="checkbox">
<input
type="checkbox"
v-model="fields.public"
:disabled="loading"
:disabled="!isAdmin || loading"
/>
Publicly available
</label>
</div>
<p class="help">Make this project available to anyone without authentication</p>
<p class="help">
Make this project available to anyone without authentication.
<template v-if="!isAdmin">Only Arkindex instance administrators can change this option.</template>
</p>
<template v-if="field_errors.public">
<p
class="help is-danger"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment