Skip to content

Commit

Permalink
Set a background
Browse files Browse the repository at this point in the history
  • Loading branch information
matthiask committed Jul 4, 2024
1 parent ca6efc0 commit b250c1a
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
3 changes: 1 addition & 2 deletions frontend/styles/login.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
.login {
display: grid;
background: var(--petrol-lighter);
box-shadow: var(--box-shadow-2);
background: var(--lightgray);
border-radius: 8px;
padding: 5rem 2rem;
max-width: 59rem;
Expand Down
1 change: 1 addition & 0 deletions frontend/styles/vars.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
--white: #fdfdfd;
--darkgray: #777;
--gray: #aaa;
--lightgray: #eee;

--fg: var(--black);
--bg: var(--white);
Expand Down
16 changes: 8 additions & 8 deletions projects/views.py
Original file line number Diff line number Diff line change
Expand Up @@ -137,15 +137,15 @@ def update(self, po, *, request):
updates += 1
break

po.metadata["Last-Translator"] = "{} {} <{}>".format(
getattr(request.user, "first_name", "Anonymous"),
getattr(request.user, "last_name", "User"),
getattr(request.user, "email", "[email protected]"),
)
po.metadata["X-Translated-Using"] = "traduire 0.0.1"
po.metadata["PO-Revision-Date"] = localtime().strftime("%Y-%m-%d %H:%M%z")

if updates:
po.metadata["Last-Translator"] = "{} {} <{}>".format(
getattr(request.user, "first_name", "Anonymous"),
getattr(request.user, "last_name", "User"),
getattr(request.user, "email", "[email protected]"),
)
po.metadata["X-Translated-Using"] = "traduire 0.0.1"
po.metadata["PO-Revision-Date"] = localtime().strftime("%Y-%m-%d %H:%M%z")

messages.success(
request,
ngettext(
Expand Down

0 comments on commit b250c1a

Please sign in to comment.