This commit is contained in:
2020-10-06 00:03:52 +00:00
parent e0b3222507
commit 1c65a89d4a
21 changed files with 148 additions and 52 deletions

View File

@@ -3,7 +3,7 @@
<div>
<v-btn depressed tile @click="revealedClicked">
{{ $ay.t("Attachments")
}}<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
}}<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn>
</div>
@@ -95,7 +95,7 @@
<v-btn depressed tile @click="revealedClicked" class="mt-8">
{{ $ay.t("Attachments")
}}<v-icon
v-text="reveal ? 'fa-eye-slash' : 'fa-eye'"
v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'"
right
></v-icon
></v-btn>

View File

@@ -11,7 +11,7 @@
<v-card elevation="24">
<v-card-title class="text-h6 text-sm-h5 grey lighten-4">
<template v-if="options.type == 'success'">
<v-icon large color="success">fa-check-circle</v-icon>
<v-icon large color="success">$ayiCheckCircle</v-icon>
</template>
<template v-if="options.type == 'info'">
<v-icon large color="info">$ayiInfoCircle</v-icon>

View File

@@ -2,7 +2,7 @@
<div class="mt-6">
<div>
<v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn>
</div>
<template v-if="reveal">
@@ -13,7 +13,7 @@
:outlined="currentView == view.WIKI_VIEW"
@click="currentView = view.WIKI_VIEW"
>
<v-icon>fa-eye</v-icon>
<v-icon>$ayiEye</v-icon>
</v-btn>
<v-btn
text
@@ -316,7 +316,7 @@
</v-col>
</v-row>
<v-btn depressed tile @click="toggleReveal">
Wiki<v-icon v-text="reveal ? 'fa-eye-slash' : 'fa-eye'" right></v-icon
Wiki<v-icon v-text="reveal ? '$ayiEyeSlash' : '$ayiEye'" right></v-icon
></v-btn>
</v-sheet>
</template>
@@ -551,22 +551,22 @@ export default {
if (this.readonly) {
if (this.currentView == this.view.HIDDEN_VIEW) {
return "fa-eye";
return "$ayiEye";
} else {
return "fa-eye-slash";
return "$ayiEyeSlash";
}
return;
}
switch (this.currentView) {
case this.view.HIDDEN_VIEW:
return "fa-eye";
return "$ayiEye";
case this.view.WIKI_VIEW:
return "fa-columns";
case this.view.SPLIT_VIEW:
return "fa-feather";
case this.view.DESIGN_VIEW:
return "fa-eye";
return "$ayiEye";
}
},
showWiki() {
@@ -610,7 +610,7 @@ export default {
}
},
visibleIcon() {
return this.wikiVisible ? "fa-eye-slash" : "fa-eye";
return this.wikiVisible ? "$ayiEyeSlash" : "$ayiEye";
},
//EDITING
editClick(editType, ex) {