feat(webui): add link to changelog on version number

closes #691
This commit is contained in:
Gauthier Roebroeck 2021-09-24 10:33:46 +08:00
parent 8fa0ba6bc2
commit eb67356472
2 changed files with 13 additions and 2 deletions

View file

@ -2,6 +2,10 @@ html {
overflow-y: auto !important; overflow-y: auto !important;
} }
.link-none {
text-decoration: none;
}
.link-underline { .link-underline {
text-decoration: none; text-decoration: none;
} }

View file

@ -88,7 +88,8 @@
<v-list-item-subtitle <v-list-item-subtitle
v-if="l.unavailable" v-if="l.unavailable"
class="error--text caption" class="error--text caption"
>{{ $t('common.unavailable') }}</v-list-item-subtitle> >{{ $t('common.unavailable') }}
</v-list-item-subtitle>
</v-list-item-content> </v-list-item-content>
<v-list-item-action v-if="isAdmin"> <v-list-item-action v-if="isAdmin">
<library-actions-menu :library="l"/> <library-actions-menu :library="l"/>
@ -173,7 +174,13 @@
<div v-if="isAdmin && !$_.isEmpty(info)" <div v-if="isAdmin && !$_.isEmpty(info)"
class="pa-2 pb-6 text-caption" class="pa-2 pb-6 text-caption"
> >
<div>v{{ info.build.version }}-{{ info.git.branch }}</div> <a href="https://github.com/gotson/komga/blob/master/CHANGELOG.md"
target="_blank"
class="link-none"
>
v{{ info.build.version }}-{{ info.git.branch }}
</a>
<v-icon x-small color="grey">mdi-open-in-new</v-icon>
</div> </div>
</template> </template>
</v-navigation-drawer> </v-navigation-drawer>