List for cgit developers and users
 help / color / mirror / Atom feed
Subject: Use ellipsis in /log
Date: Sun, 05 May 2019 09:49:49 +0000
Message-ID: <348337884b4c2a3a2ce83e0f0909cdedc7766299.camel@aegee.org> (raw)

Hello,

I propose using ? instead of ... in the /repo/log output.

Regards
  ?????

diff --git a/ui-shared.c b/ui-shared.c
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -435,8 +435,8 @@ void cgit_commit_link(const char *name, const char *title, const char *class,
        html("'>");
        if (name[0] != '\0') {
                if (strlen(name) > ctx.cfg.max_msg_len && ctx.cfg.max_msg_len >= 15) {
-                       html_ntxt(name, ctx.cfg.max_msg_len - 3);
-                       html("...");
+                       html_ntxt(name, ctx.cfg.max_msg_len - 1);
+                       html("&hellip;");
                } else
                        html_txt(name);
        } else



             reply	other threads:[~2019-05-05  9:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-05  9:49  [this message]
2019-05-19 17:51 

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=348337884b4c2a3a2ce83e0f0909cdedc7766299.camel@aegee.org \
    --to= \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

List for cgit developers and users

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://inbox.vuxu.org/cgit

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V1 cgit cgit/ http://inbox.vuxu.org/cgit \
		cgit@lists.zx2c4.com
	public-inbox-index cgit

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://inbox.vuxu.org/vuxu.archive.cgit


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git