The member list states the account, it does not narrate it
Browse files at this commit4a0abe48fd6b536d8331b6fad58323f6964157cfParent: f91ac00- fix
- the member list states the account, it does not narrate it
2 changed files +6 -6
crates/izlek-web/src/pages.rsmodified+2 -2
| @@ -184,8 +184,8 @@ fn JoinCard(token: String, person: Invited) -> impl IntoView { | ||
| 184 | 184 | // one rather than naming the wrong person: the invitee's own name used to |
| 185 | 185 | // sit here, greeting them with themselves. |
| 186 | 186 | let made_by = match person.invited_by.clone() { |
| 187 | - Some(admin) => format!("{admin} made you an account. It has no password yet."), | |
| 188 | - None => "An admin made you an account. It has no password yet.".to_string(), | |
| 187 | + Some(admin) => format!("{admin} made you an account."), | |
| 188 | + None => "An admin made you an account.".to_string(), | |
| 189 | 189 | }; |
| 190 | 190 | |
| 191 | 191 | view! { |
crates/izlek-web/src/settings.rsmodified+4 -4
| @@ -1024,13 +1024,13 @@ fn MembersPanel( | ||
| 1024 | 1024 | .into_iter() |
| 1025 | 1025 | .map(|member| { |
| 1026 | 1026 | let account = if member.is_owner { |
| 1027 | - "the first account, administers the workspace".to_string() | |
| 1027 | + "owner".to_string() | |
| 1028 | 1028 | } else if !member.has_password { |
| 1029 | - "no password yet".to_string() | |
| 1029 | + "invited".to_string() | |
| 1030 | 1030 | } else if let Some(day) = member.last_signed_in.clone() { |
| 1031 | - format!("password set — last signed in {day}") | |
| 1031 | + format!("last seen {day}") | |
| 1032 | 1032 | } else { |
| 1033 | - "password set".to_string() | |
| 1033 | + "active".to_string() | |
| 1034 | 1034 | }; |
| 1035 | 1035 | let id = member.id.clone(); |
| 1036 | 1036 | view! { |