mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 22:13:26 +00:00
pm list: Remove obsolete user_circle_fraction class.
This commit is contained in:
@@ -93,7 +93,7 @@ test("build_private_messages_list", ({override}) => {
|
|||||||
is_zero: false,
|
is_zero: false,
|
||||||
is_active: false,
|
is_active: false,
|
||||||
url: "#narrow/pm-with/101,102-group",
|
url: "#narrow/pm-with/101,102-group",
|
||||||
user_circle_class: "user_circle_fraction",
|
user_circle_class: undefined,
|
||||||
is_group: true,
|
is_group: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
@@ -143,7 +143,7 @@ test("build_private_messages_list_bot", ({override}) => {
|
|||||||
is_zero: false,
|
is_zero: false,
|
||||||
is_active: false,
|
is_active: false,
|
||||||
url: "#narrow/pm-with/101,102-group",
|
url: "#narrow/pm-with/101,102-group",
|
||||||
user_circle_class: "user_circle_fraction",
|
user_circle_class: undefined,
|
||||||
is_group: true,
|
is_group: true,
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
@@ -76,9 +76,7 @@ export function _get_convos() {
|
|||||||
|
|
||||||
let user_circle_class;
|
let user_circle_class;
|
||||||
|
|
||||||
if (is_group) {
|
if (!is_group) {
|
||||||
user_circle_class = "user_circle_fraction";
|
|
||||||
} else {
|
|
||||||
const user_id = Number.parseInt(user_ids_string, 10);
|
const user_id = Number.parseInt(user_ids_string, 10);
|
||||||
user_circle_class = buddy_data.get_user_circle_class(user_id);
|
user_circle_class = buddy_data.get_user_circle_class(user_id);
|
||||||
const recipient_user_obj = people.get_by_user_id(user_id);
|
const recipient_user_obj = people.get_by_user_id(user_id);
|
||||||
|
|||||||
@@ -1,8 +1,7 @@
|
|||||||
.user_circle_green,
|
.user_circle_green,
|
||||||
.user_circle_orange,
|
.user_circle_orange,
|
||||||
.user_circle_empty,
|
.user_circle_empty,
|
||||||
.user_circle_empty_line,
|
.user_circle_empty_line {
|
||||||
.user_circle_fraction {
|
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
border: 1px solid;
|
border: 1px solid;
|
||||||
float: left;
|
float: left;
|
||||||
@@ -12,10 +11,6 @@
|
|||||||
|
|
||||||
.user_circle_green {
|
.user_circle_green {
|
||||||
background-color: hsl(106, 74%, 44%);
|
background-color: hsl(106, 74%, 44%);
|
||||||
}
|
|
||||||
|
|
||||||
.user_circle_green,
|
|
||||||
.user_circle_fraction {
|
|
||||||
border-color: hsl(106, 74%, 44%);
|
border-color: hsl(106, 74%, 44%);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user