admin: show gistype config

Signed-off-by: Varun Patil <varunpatil@ucla.edu>
pull/563/head
Varun Patil 2023-04-10 19:31:07 -07:00
parent 5852102eb7
commit 3ee8e07bd3
1 changed files with 13 additions and 0 deletions

View File

@ -55,6 +55,15 @@
: t("memories", "Geometry table has not been created") : t("memories", "Geometry table has not been created")
}} }}
</NcNoteCard> </NcNoteCard>
<NcNoteCard v-if="gisType < 0" type="warning">
{{
t(
"memories",
"Reverse geocoding has not been configured ({gisType}).",
{ gisType }
)
}}
</NcNoteCard>
</template> </template>
{{ {{
@ -371,6 +380,8 @@ const settings = {
exiftoolPath: "memories.exiftool", exiftoolPath: "memories.exiftool",
exiftoolPerl: "memories.exiftool_no_local", exiftoolPerl: "memories.exiftool_no_local",
gisType: "memories.gis_type",
enableTranscoding: "memories.vod.disable", enableTranscoding: "memories.vod.disable",
ffmpegPath: "memories.vod.ffmpeg", ffmpegPath: "memories.vod.ffmpeg",
ffprobePath: "memories.vod.ffprobe", ffprobePath: "memories.vod.ffprobe",
@ -420,6 +431,8 @@ export default defineComponent({
exiftoolPath: "", exiftoolPath: "",
exiftoolPerl: false, exiftoolPerl: false,
gisType: 0,
enableTranscoding: false, enableTranscoding: false,
ffmpegPath: "", ffmpegPath: "",
ffprobePath: "", ffprobePath: "",