From b36ee851d518a479a1c87c71bbc07f50b67c4c47 Mon Sep 17 00:00:00 2001

From: =?UTF-8?q?Jaakko=20Kera=CC=88nen?= jaakko.keranen@iki.fi

Date: Sun, 12 Nov 2023 12:41:03 +0200

Subject: [PATCH 1/1] Formatting tweaks on Subspaces page


subspace.py | 8 ++++----

1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/subspace.py b/subspace.py

index 85c2e17..d82140b 100644

--- a/subspace.py

+++ b/subspace.py

@@ -61,8 +61,8 @@ def make_subspaces_page(session):

     if user.role != User.LIMITED and (

             session.bubble.user_subspaces or user.role == User.ADMIN):

         page += f'=> /new-subspace ๐ŸŒ’ New subspace\n'

 # View mode is determined by the query string.

 if arg in LABELS:

@@ -109,10 +109,10 @@ def make_subspaces_page(session):

     # Basic alphabetical index.

     page += f'## {LABELS[view_mode]}\n'

     if view_mode == 'chrono':

         subs = sorted(subs, key=lambda s: s.ts_active, reverse=True)

     for sub in subs:

         if sub.num_posts > 0:

             kind = 'issue' if sub.flags & Subspace.ISSUE_TRACKER else 'post'

             page += f"{sub.num_posts} {kind}{plural_s(sub.num_posts)} ยท {ago_text(sub.ts_active, tz=session.tz)}\n"

--

2.25.1

Proxy Information
Original URL
gemini://git.skyjake.fi/bubble/main/patch/b36ee851d518a479a1c87c71bbc07f50b67c4c47.patch
Status Code
Success (20)
Meta
text/plain
Capsule Response Time
64.206537 milliseconds
Gemini-to-HTML Time
0.516846 milliseconds

This content has been proxied by September (3851b).