Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 117418

Summary: Add thread creation date info to 'Author' column in forum view
Product: Gentoo Infrastructure Reporter: Peter Penkala <pjp>
Component: ForumsAssignee: Forum Moderators <forum-mods>
Status: RESOLVED FIXED    
Severity: normal    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: forums.gentoo.org/viewtopic-t-417957.html
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Adds date information to 'Author' column of forum view template
Adds code for date info in 'Author' column of forum view
Template changes only, new date location & "consistent" format
Updated to remove non-english unfriendly "by" word

Description Peter Penkala gentoo-dev 2006-01-01 22:30:59 UTC
Currently, only the thread author's name is given in the author column.  Adding some date information will help identify thread age.  I've chosen Month Year, which seems sufficient.

Example (centered in column):
pjp
Jan 2006
Comment 1 Peter Penkala gentoo-dev 2006-01-01 22:38:13 UTC
Created attachment 75977 [details, diff]
Adds date information to 'Author' column of forum view template

Would something other than the use of class="gensmall" be more appropriate?
Comment 2 Peter Penkala gentoo-dev 2006-01-01 22:40:58 UTC
Created attachment 75978 [details, diff]
Adds code for date info in 'Author' column of forum view
Comment 3 nixnut (RETIRED) gentoo-dev 2006-01-02 04:45:10 UTC
I like the idea. Just a question about the proposed layout.

>Example (centered in column):
>pjp
>Jan 2006

Why not just like in the "Last Post" column? More consisten layout imho 
example:
Mon Jan 06, 2003 4:40 am
         pjp 
Comment 4 Tom Knight (RETIRED) gentoo-dev 2006-01-02 08:25:38 UTC
I agree with nixnut, a more consistent layout would be better, also I'd go for class="postdetails" instead of gensmall.
Comment 5 Peter Penkala gentoo-dev 2006-01-03 10:28:15 UTC
Created attachment 76094 [details, diff]
Template changes only, new date location & "consistent" format

Since the standard date format is being used, only template changes are necessary.

Examples:
- For single page thread: http://dev.gentoo.org/~pjp/new-forumview.png
- For multi-page thread: http://dev.gentoo.org/~pjp/new-forumview2.png
Comment 6 George Prowse 2006-01-10 15:40:34 UTC
I like the idea, I wonder where you got it from? :p
Comment 7 Peter Penkala gentoo-dev 2006-01-10 15:57:28 UTC
(In reply to comment #6)
> I like the idea, I wonder where you got it from? :p
> 

Which part?  In general, I've wanted the date for quite a while.  My first submition was of my own design (month, year), since all I wanted was the relevant date info.

I didn't like the idea of adding the same date format as in the 'last post' column, which was preferred by others.

While browsing at bit-tech, I noticed the author under post title, and thought that made a good place to put the time too.
Comment 8 Peter Penkala gentoo-dev 2006-01-10 16:01:00 UTC
Created attachment 76787 [details, diff]
Updated to remove non-english unfriendly "by" word

submition/submission.  Really, I can spell.
Comment 9 Tom Knight (RETIRED) gentoo-dev 2006-01-14 12:49:59 UTC
Just checked this patch in, thanks. It'll go live after testing.
Comment 10 Peter Penkala gentoo-dev 2006-01-15 16:42:43 UTC
Closing.  Will reopen if any issues arise during testing.