This commit is contained in:
2020-04-25 18:38:06 +00:00
parent baec93c439
commit 5bbc885448
2 changed files with 128 additions and 115 deletions

View File

@@ -14,9 +14,7 @@
</div>
<template v-if="reveal">
<!-- <span class="v-label v-label--active theme--light">
{{ $ay.t("Attachments") }}
</span> -->
<div>
<template v-if="readonly">
<!-- Note: this is just a copy of the inner part of read/write version below
with the action taken out -->
@@ -35,7 +33,9 @@
<v-list-item-content>
<v-list-item-title v-text="item.name"></v-list-item-title>
<v-list-item-subtitle v-text="item.date"></v-list-item-subtitle>
<v-list-item-subtitle
v-text="item.date"
></v-list-item-subtitle>
<v-list-item-subtitle
v-text="item.notes"
@@ -65,7 +65,9 @@
</v-list-item-avatar>
<v-list-item-content>
<v-list-item-title v-text="item.name"></v-list-item-title>
<v-list-item-title
v-text="item.name"
></v-list-item-title>
<v-list-item-subtitle
v-text="item.date"
@@ -84,6 +86,13 @@
</v-list-item>
</v-list>
</div>
<v-btn depressed tile @click="revealedClicked" class="mt-8">
{{ $ay.t("Attachments")
}}<v-icon
v-text="reveal ? 'fa-eye-slash' : 'fa-eye'"
right
></v-icon
></v-btn>
</v-tab-item>
<v-tab-item key="attach">
<div class="mt-8">
@@ -142,6 +151,7 @@
</v-card>
</v-menu>
</template>
</div>
</template>
</div>
</template>

View File

@@ -310,6 +310,9 @@
></div>
</v-col>
</v-row>
<v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
></v-btn>
</v-sheet>
</template>
</div>