mirror of
https://github.com/onionshare/onionshare.git
synced 2025-05-02 06:26:10 -04:00
Show the custom title in all modes
This commit is contained in:
parent
024cc83943
commit
3d9ca3f1ec
7 changed files with 61 additions and 51 deletions
|
@ -64,7 +64,9 @@ class ReceiveModeWeb:
|
|||
self.web.add_request(self.web.REQUEST_LOAD, request.path)
|
||||
r = make_response(
|
||||
render_template(
|
||||
"receive.html", static_url_path=self.web.static_url_path
|
||||
"receive.html",
|
||||
static_url_path=self.web.static_url_path,
|
||||
title=self.web.settings.get("general", "title"),
|
||||
)
|
||||
)
|
||||
return self.web.add_security_headers(r)
|
||||
|
@ -168,6 +170,7 @@ class ReceiveModeWeb:
|
|||
"new_body": render_template(
|
||||
"thankyou.html",
|
||||
static_url_path=self.web.static_url_path,
|
||||
title=self.web.settings.get("general", "title"),
|
||||
)
|
||||
}
|
||||
)
|
||||
|
@ -176,6 +179,7 @@ class ReceiveModeWeb:
|
|||
r = make_response(
|
||||
render_template("thankyou.html"),
|
||||
static_url_path=self.web.static_url_path,
|
||||
title=self.web.settings.get("general", "title"),
|
||||
)
|
||||
return self.web.add_security_headers(r)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue