-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add Boolean column, add alert tooltip for isFlagged PBs
- Loading branch information
Showing
4 changed files
with
35 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<template> | ||
<div> | ||
<v-chip small :color="currentValue ? 'green' : 'red'" text-color="white"> | ||
{{ currentValue ? 'Yes' : 'No' }} | ||
</v-chip> | ||
</div> | ||
</template> | ||
|
||
<script> | ||
import columnMixin from '~/mixins/column' | ||
export default { | ||
mixins: [columnMixin], | ||
} | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,19 @@ | ||
<template> | ||
<div v-if="currentValue"> | ||
{{ renderedResult }} | ||
<v-tooltip v-if="currentValue.isFlagged" bottom> | ||
<template v-slot:activator="{ on, attrs }"> | ||
<v-icon small color="pink" v-bind="attrs" v-on="on">mdi-alert</v-icon> | ||
</template> | ||
<span | ||
>A moderator has flagged this PB as suspicious. | ||
<br /> | ||
For the PB creator: If it was mistakenly entered, please delete it and | ||
re-enter the correct time. | ||
<br />If you believe this was flagged in error, please contact us at | ||
[email protected] with supporting evidence.</span | ||
> | ||
</v-tooltip> | ||
</div> | ||
</template> | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters