From 53a57813a44be0924c81ed915e7b029d0b9da57a Mon Sep 17 00:00:00 2001 From: fen Date: Fri, 18 Sep 2026 08:30:51 -0500 Subject: [PATCH] Revert "#296: move URL column to position 2 (right after Paste) in history and mine tables" This reverts commit 6e85a7686d4ad1f12818fdecc105cf32a935e35d. --- internal/web/static/history.js | 2 +- internal/web/static/mine.js | 2 +- internal/web/templates/history.html | 4 ++-- internal/web/templates/mine.html | 4 ++-- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/internal/web/static/history.js b/internal/web/static/history.js index 29fcf52..2ad0f55 100644 --- a/internal/web/static/history.js +++ b/internal/web/static/history.js @@ -9,9 +9,9 @@ const t = PaletteTable.init({ ? `${t.esc(it.title)}${it.is_can ? ' can' : ''}` : `${t.esc(it.id)}${it.is_can ? ' can' : ''}`) + `` + - (it.custom_slug ? `/${t.esc(it.custom_slug)}` : `none`) + `${t.esc(it.type || it.language || 'text')}` + `${t.fmtSize(it.size)}${it.view_count}${t.ago(it.created_at)}` + + (it.custom_slug ? `/${t.esc(it.custom_slug)}` : `none`) + `${t.esc(it.id)}`, emptyFiltered: 'No pastes match your search.', emptyAll: 'No pastes yet. Create the first one.', diff --git a/internal/web/static/mine.js b/internal/web/static/mine.js index 0318e0f..ad1b25e 100644 --- a/internal/web/static/mine.js +++ b/internal/web/static/mine.js @@ -21,9 +21,9 @@ const t = PaletteTable.init({ ? `${t.esc(it.title)}${it.is_can ? ' can' : ''}` : `${t.esc(it.id)}${it.is_can ? ' can' : ''}`) + `` + - (it.custom_slug ? `/${t.esc(it.custom_slug)}` : `none`) + `${t.esc(it.type || it.language || 'text')}` + `${t.fmtSize(it.size)}${t.ago(it.created_at)}` + + (it.custom_slug ? `/${t.esc(it.custom_slug)}` : `none`) + `${t.esc(it.id)}` + ``, emptyFiltered: 'No pastes from this browser match your search.', diff --git a/internal/web/templates/history.html b/internal/web/templates/history.html index d997ac1..2896a62 100644 --- a/internal/web/templates/history.html +++ b/internal/web/templates/history.html @@ -8,14 +8,14 @@
- + - + diff --git a/internal/web/templates/mine.html b/internal/web/templates/mine.html index 35f0429..5ef7d9e 100644 --- a/internal/web/templates/mine.html +++ b/internal/web/templates/mine.html @@ -8,13 +8,13 @@
PasteURL Type Size Views CreatedURL ID
- + - +
PasteURL Type Size CreatedURL ID