Possibilité de ne pas partager un album sur le fediverse
This commit is contained in:
parent
1931bd9eda
commit
3b3a4cf779
4 changed files with 33 additions and 4 deletions
|
@ -181,9 +181,21 @@
|
|||
</div>
|
||||
</section>
|
||||
<footer>
|
||||
<% if ( user.mastodon.publish ) { %>
|
||||
<div class="field">
|
||||
<label for="share">Partager sur le fédiverse</label>
|
||||
<span>
|
||||
<input type="checkbox" id="share" name="share" v-model="share">
|
||||
</span>
|
||||
</div>
|
||||
<% } %>
|
||||
<button :class="['button is-primary', submitting ? 'is-disabled' : '']" @click="add">Ajouter</button>
|
||||
<button class="button" @click="toggleModal">Annuler</button>
|
||||
</footer>
|
||||
</div>
|
||||
</div>
|
||||
</main>
|
||||
</main>
|
||||
|
||||
<script>
|
||||
const canPublish = <%- user.mastodon.publish || false %>;
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue