Opened 16 years ago
Last modified 10 years ago
#5640 new enhancement
Better readability for 'How long ago' column
| Reported by: | Ryan J Ollos | Owned by: | |
|---|---|---|---|
| Priority: | high | Component: | UserStatsMacro |
| Severity: | normal | Keywords: | table content alignment |
| Cc: | Trac Release: | 0.11 |
Description
The How long ago column currently looks like this,
| joela | 2009/04/03 16:18:09 | 126 day(s) |
| kangy | 2009/08/07 00:06:26 | <24h |
| kendrickw | 2009/08/07 11:07:35 | <24h |
| kenl | 2009/08/04 13:36:44 | 3 day(s) |
The layout of the How long ago column is pretty messy. I think the following looks much better:
joela | 2009/04/03 16:18:09 | 126 day(s)
|
kangy | 2009/08/07 00:06:26 | < 1 day(s)
|
kendrickw | 2009/08/07 11:07:35 | < 1 day(s)
|
kenl | 2009/08/04 13:36:44 | 3 day(s)
|
One of the changes is the use of a fixed width font. It doesn't necessarily have to be the font I used, but a fixed width font would be preferable.
Attachments (0)
Change History (6)
comment:1 Changed 16 years ago by
| Owner: | changed from Pedro Paixao to Ryan J Ollos |
|---|---|
| Type: | task → enhancement |
comment:2 Changed 15 years ago by
| Priority: | normal → high |
|---|---|
| Status: | new → assigned |
comment:3 Changed 15 years ago by
comment:4 Changed 14 years ago by
| Status: | assigned → new |
|---|
comment:5 Changed 14 years ago by
| Keywords: | table content alignment added |
|---|
An alternative presentation has been developed for the UserQuery wiki macro provided by AccountManagerPlugin (see #9852 for details).
This is available since acct_mgr-0.4dev-r11345 in trunk development branch. We overcome wiki markup limitations by only using Genshi templates in that plugin, as suggested by hieroglyph's comment above. You can even opt for two additional columns 'email' and 'user full name'.
Testers beware, that you'll need to grant USER_VIEW permission to show this to some/all of your users. Comments welcome.
comment:6 Changed 10 years ago by
| Owner: | Ryan J Ollos deleted |
|---|



Unfortunately, simply using a back tick for
monospacefont works but Trac 0.11 does not provide for right-aligning text (but the new table wiki markup in 0.12 does) and leading spaces are stripped (probably by the browser?)The only option I can think of for 0.11+ would be to generate proper html instead of wiki text...