Show version information in Web UI

Signed-off-by: Michael Mayer <michael@liquidbytes.net>
This commit is contained in:
Michael Mayer 2020-04-19 09:45:55 +02:00
parent 4dad4e6370
commit b97867ed25
2 changed files with 6 additions and 2 deletions

View File

@ -17,7 +17,7 @@ func main() {
app.Name = "PhotoPrism"
app.Usage = "Browse your life in pictures"
app.Version = version
app.Copyright = "(c) 2018-2020 The PhotoPrism contributors <hello@photoprism.org>"
app.Copyright = "(c) 2018-2020 PhotoPrism.org <hello@photoprism.org>"
app.EnableBashCompletion = true
app.Flags = config.GlobalFlags

View File

@ -261,7 +261,11 @@
</v-card-actions>
</v-card>
<div class="mt-5"></div>
<v-card flat tile class="mt-0 px-1 application">
<v-card-title primary-title class="pb-0">
<p class="body-1 mb-4">PhotoPrism {{$config.getValue("version")}}<br>{{$config.getValue("copyright")}}</p>
</v-card-title>
</v-card>
</v-form>
</div>
</template>