mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04:00
Adding ScoreAndDownvote display mode.
This commit is contained in:
parent
04faedd458
commit
2a60d913cc
@ -173,6 +173,8 @@ pub enum PostListingMode {
|
|||||||
pub enum VoteDisplayMode {
|
pub enum VoteDisplayMode {
|
||||||
/// Shows the score, upvotes, and downvotes.
|
/// Shows the score, upvotes, and downvotes.
|
||||||
Full,
|
Full,
|
||||||
|
/// Shows the score, and downvotes.
|
||||||
|
ScoreAndDownvote,
|
||||||
/// Shows the score, and upvote percentage. (the default setting)
|
/// Shows the score, and upvote percentage. (the default setting)
|
||||||
ScoreAndUpvotePercentage,
|
ScoreAndUpvotePercentage,
|
||||||
/// Shows the upvote percentage only.
|
/// Shows the upvote percentage only.
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
CREATE TYPE vote_display_mode_enum AS enum (
|
CREATE TYPE vote_display_mode_enum AS enum (
|
||||||
'Full',
|
'Full',
|
||||||
|
'ScoreAndDownvote',
|
||||||
'ScoreAndUpvotePercentage',
|
'ScoreAndUpvotePercentage',
|
||||||
'UpvotePercentage',
|
'UpvotePercentage',
|
||||||
'Score',
|
'Score',
|
||||||
|
Loading…
Reference in New Issue
Block a user