Client texts name Lanna Desk, not B4L
Lanna Desk is the legal side of buildfor.life (B4L), and the client link, its agreements, the demo agreement and the messages now name Lanna Desk: "Lanna Desk looks after your visa ...", "Send to Lanna Desk", "Lanna Desk keeps the signed copy". B4L stays where it is the company itself: the employer in the Non-B pack and its BOI application. README and PLAN say the same. Checks: fmt, clippy, 109 unit and 57 integration tests.
This commit is contained in:
1 parent
3d2d8fa30b
commit
424f212b23
15 files changed
+44
-43
No files matched your search
+8
-8
@@ -86,7 +86,7 @@ fn closed_page(st: &AppState, link: Option<&Link>) -> Response {
|
||||
None => (
|
||||
StatusCode::NOT_FOUND,
|
||||
"This link does not work",
|
||||
"There is no link at this address. Check that you opened the whole link, or ask B4L \
|
||||
"There is no link at this address. Check that you opened the whole link, or ask Lanna Desk \
|
||||
for a new one."
|
||||
.to_string(),
|
||||
),
|
||||
@@ -94,8 +94,8 @@ fn closed_page(st: &AppState, link: Option<&Link>) -> Response {
|
||||
StatusCode::GONE,
|
||||
"Thank you",
|
||||
format!(
|
||||
"You sent your details on {}. B4L checks them and gets in touch. To change \
|
||||
something now, ask B4L for a new link.",
|
||||
"You sent your details on {}. Lanna Desk checks them and gets in touch. To change \
|
||||
something now, ask Lanna Desk for a new link.",
|
||||
l.sent_at.map(links::day).unwrap_or_default()
|
||||
),
|
||||
),
|
||||
@@ -103,14 +103,14 @@ fn closed_page(st: &AppState, link: Option<&Link>) -> Response {
|
||||
StatusCode::GONE,
|
||||
"This link has expired",
|
||||
format!(
|
||||
"It worked until {}. Ask B4L for a new one; what you saved through it is kept.",
|
||||
"It worked until {}. Ask Lanna Desk for a new one; what you saved through it is kept.",
|
||||
links::day(l.expires_at)
|
||||
),
|
||||
),
|
||||
Some(_) => (
|
||||
StatusCode::GONE,
|
||||
"This link is closed",
|
||||
"B4L closed it. Ask them for a new one if you still need to send something; what you \
|
||||
"Lanna Desk closed it. Ask for a new one if you still need to send something; what you \
|
||||
saved through it is kept."
|
||||
.to_string(),
|
||||
),
|
||||
@@ -267,7 +267,7 @@ async fn parts(st: &AppState, c: &Client) -> anyhow::Result<Vec<Part>> {
|
||||
let has = |k: &str| docs.iter().any(|d| d.kind == k);
|
||||
let papers = has("passport-photo-page") && has("photo");
|
||||
let state = |done: bool, yes: &str, no: &str| if done { yes } else { no }.to_string();
|
||||
// the agreements first: they say what B4L does with the rest
|
||||
// the agreements first: they say what Lanna Desk does with the rest
|
||||
let mut out: Vec<Part> = agreements::for_person(&st.db, c.id())
|
||||
.await?
|
||||
.into_iter()
|
||||
@@ -627,7 +627,7 @@ pub async fn passport_save(
|
||||
err(
|
||||
&mut errors,
|
||||
"number",
|
||||
"This passport cannot be saved here. If it is yours, tell B4L.",
|
||||
"This passport cannot be saved here. If it is yours, tell Lanna Desk.",
|
||||
);
|
||||
return Ok(passport_page(&st, &c, &pf, &errors, None));
|
||||
}
|
||||
@@ -1133,7 +1133,7 @@ pub async fn sign(
|
||||
err(
|
||||
&mut errors,
|
||||
"accept",
|
||||
"B4L changed the text while you read it. Read this version and sign again.",
|
||||
"Lanna Desk changed the text while you read it. Read this version and sign again.",
|
||||
);
|
||||
}
|
||||
if form.name.is_empty() {
|
||||
|
||||
Reference in new issue
Block a user