Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add count for matches worked on to player matches page #90

Merged
merged 2 commits into from
Jan 9, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
adding flex to header for matches bar
Oldenmw committed Jan 8, 2022
commit 53fdaf7fcc837e235e6fb3040af12ef662f21f15
7 changes: 6 additions & 1 deletion website/src/views/sub-views/PlayerMatches.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<template>
<div>
<div class="container">
<div>
<h6 class="d-flex matches-bar">Games: <a v-for="rel in mainPlayerRelationships" v-bind:key="rel.meta.singular_name" :href="'#' + convertToSlug(rel.meta.singular_name)">{{ rel.items.length }} as {{ rel.meta.singular_name }}</a></h6>
</div>
<div class="role-group" v-for="rel in mainPlayerRelationships" v-bind:key="rel.meta.singular_name">
<h1>as {{ rel.meta.singular_name }} ({{ rel.items.length }})</h1>
<div class="row">
@@ -77,5 +80,7 @@ export default {
</script>
<style scoped>
.matches-bar {
gap: 2rem;
}
</style>