List for cgit developers and users
 help / color / mirror / Atom feed
* repo.desc as raw html?
@ 2018-06-20  9:04 andy
  2018-06-20 13:17 ` [PATCH] noheader: place branch combo on tabs if no header andy
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: andy @ 2018-06-20  9:04 UTC (permalink / raw)


Hi -

I want to put a repo-specific link to my project mailing list in the 
header area.

But there doesn't seem to be a way to do it.

noheader=1 also removes functionality for branch switching UI, which is 
not desirable.

There's a "homepage" link concept but a) that's positioned in the wrong 
place logically, it's in the vertical context of the repo display area 
not the header, and b) just adding a few more inflexible individual 
settings doesn't sound a good way.

What's the feeling about just changing ui-shared.c where it prints it from

html_txt(ctx.repo->desc);

to

html(ctx.repo->desc);

?  As html I can put what I want in there... homepage and mailing list 
links, text, inline images etc, and because it's in the header, it 
doesn't need to know any detail about what's going on in the repo view.

-Andy


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-06-23 16:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-20  9:04 repo.desc as raw html? andy
2018-06-20 13:17 ` [PATCH] noheader: place branch combo on tabs if no header andy
2018-06-23 10:50   ` john
2018-06-21  6:46 ` [PATCH 1/2] config: add root-desc-html and repo.desc-html andy
2018-06-21  6:46 ` [PATCH 2/2] ui-shared: emit root-desc-html and repo.desc-html after their text counterparts andy
2018-06-23 10:28   ` john
2018-06-23 10:33     ` andy
2018-06-23 10:53       ` john
2018-06-23 11:08         ` andy
2018-06-23 16:33           ` john

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).