* [PATCH gwmail 0/2] Small updates for the old "profile" page
@ 2025-02-28 23:04 Ammar Faizi
2025-02-28 23:07 ` [PATCH gwmail 1/2] old: profile: Fix not found error on 'Back to home' link Ammar Faizi
2025-02-28 23:07 ` [PATCH gwmail 2/2] old: profile: Allow social media fields to be empty Ammar Faizi
0 siblings, 2 replies; 3+ messages in thread
From: Ammar Faizi @ 2025-02-28 23:04 UTC (permalink / raw)
To: GNU/Weeb Mailing List
Cc: Ammar Faizi, Alviro Iskandar Setiawan, Muhammad Rizki,
M. Taufiq Hidayat Pohan
As the subject says: Small updates for the old "profile" page.
I was testing the API functionality with Taufiq and came across a few
minor issues.
These updates are not critical and shouldn't impact the new frontend
development or cause any git conflicts.
The following changes since commit 0f781e613d2bc0f05ff64b1233073ad51cfd939f:
old: Use relative path to redirect (2025-02-28 05:29:15 +0700)
are available in the Git repository at:
https://github.com/GNUWeeb/mail.gnuweeb.org.git master
for you to fetch changes up to 3c3c00ff4e261aaeab8d91323b99eebf22adc4dd:
old: profile: Allow social media fields to be empty (2025-03-01 05:53:42 +0700)
----------------------------------------------------------------
Ammar Faizi (2):
old: profile: Fix not found error on 'Back to home' link
old: profile: Allow social media fields to be empty
old/profile.html | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
base-commit: 0f781e613d2bc0f05ff64b1233073ad51cfd939f
--
Ammar Faizi
^ permalink raw reply [flat|nested] 3+ messages in thread
* [PATCH gwmail 1/2] old: profile: Fix not found error on 'Back to home' link
2025-02-28 23:04 [PATCH gwmail 0/2] Small updates for the old "profile" page Ammar Faizi
@ 2025-02-28 23:07 ` Ammar Faizi
2025-02-28 23:07 ` [PATCH gwmail 2/2] old: profile: Allow social media fields to be empty Ammar Faizi
1 sibling, 0 replies; 3+ messages in thread
From: Ammar Faizi @ 2025-02-28 23:07 UTC (permalink / raw)
To: GNU/Weeb Mailing List
Cc: Ammar Faizi, Alviro Iskandar Setiawan, Muhammad Rizki,
M. Taufiq Hidayat Pohan
We are now in a sub directory `/old`. Use relative path to keep up with
the correct path.
Signed-off-by: Ammar Faizi <[email protected]>
---
old/profile.html | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/old/profile.html b/old/profile.html
index c2a3c53618cf..d894bee7676c 100644
--- a/old/profile.html
+++ b/old/profile.html
@@ -7,7 +7,7 @@
<script type="text/javascript" src="assets/js/api.js"></script>
</head>
<body>
-<center><a href="/home.html"><h1>Back to Home</h1></a></center>
+<center><a href="home.html"><h1>Back to Home</h1></a></center>
<div id="frcg">
<form method="POST" id="uform" enctype="application/x-www-form-urlencoded">
<table>
--
Ammar Faizi
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH gwmail 2/2] old: profile: Allow social media fields to be empty
2025-02-28 23:04 [PATCH gwmail 0/2] Small updates for the old "profile" page Ammar Faizi
2025-02-28 23:07 ` [PATCH gwmail 1/2] old: profile: Fix not found error on 'Back to home' link Ammar Faizi
@ 2025-02-28 23:07 ` Ammar Faizi
1 sibling, 0 replies; 3+ messages in thread
From: Ammar Faizi @ 2025-02-28 23:07 UTC (permalink / raw)
To: GNU/Weeb Mailing List
Cc: Ammar Faizi, Alviro Iskandar Setiawan, Muhammad Rizki,
M. Taufiq Hidayat Pohan
They should be optional, not required.
Signed-off-by: Ammar Faizi <[email protected]>
---
old/profile.html | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/old/profile.html b/old/profile.html
index d894bee7676c..4f0200493f16 100644
--- a/old/profile.html
+++ b/old/profile.html
@@ -58,22 +58,22 @@
<tr>
<td>GitHub Username</td>
<td>:</td>
- <td><input type="text" name="socials[github_username]" id="uform_github_username" required/></td>
+ <td><input type="text" name="socials[github_username]" id="uform_github_username"/></td>
</tr>
<tr>
<td>Telegram Username</td>
<td>:</td>
- <td><input type="text" name="socials[telegram_username]" id="uform_telegram_username" required/></td>
+ <td><input type="text" name="socials[telegram_username]" id="uform_telegram_username"/></td>
</tr>
<tr>
<td>Twitter Username</td>
<td>:</td>
- <td><input type="text" name="socials[twitter_username]" id="uform_twitter_username" required/></td>
+ <td><input type="text" name="socials[twitter_username]" id="uform_twitter_username"/></td>
</tr>
<tr>
<td>Discord Username</td>
<td>:</td>
- <td><input type="text" name="socials[discord_username]" id="uform_discord_username" required/></td>
+ <td><input type="text" name="socials[discord_username]" id="uform_discord_username"/></td>
</tr>
</tbody>
<tfoot>
--
Ammar Faizi
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2025-02-28 23:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-02-28 23:04 [PATCH gwmail 0/2] Small updates for the old "profile" page Ammar Faizi
2025-02-28 23:07 ` [PATCH gwmail 1/2] old: profile: Fix not found error on 'Back to home' link Ammar Faizi
2025-02-28 23:07 ` [PATCH gwmail 2/2] old: profile: Allow social media fields to be empty Ammar Faizi
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox