PPL

The Log should display date information

Bug #719032 reported by Christopher Adams
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
PPL
Confirmed
Low
Christopher Adams

Bug Description

Currently the Log on the Owner Dashboard displays a list of recent log entries.

Each list item should be modified to make the date of the log accessible. Need to discuss how. Simply adding the date on the same line will make the log entries too long. Perhaps hovering over the log brings up a tooltip.

Changed in ppl:
importance: Undecided → Low
milestone: none → 0.3
Revision history for this message
rejon (rejon) wrote :

chris is the log master.

Changed in ppl:
assignee: nobody → Christopher Adams (christopheradams)
status: New → Confirmed
Revision history for this message
Christopher Adams (christopheradams) wrote :

Useful code snippet:

<span class='' style="font-size:0.85em;font-style:oblique;">(sql(
        (SELECT FLOOR(TIMESTAMPDIFF(Day,'((created&#95;at))',NOW())) AS DiffDate
            ||[-[DiffDate]-])
      )sql) days ago</span>

Changed in ppl:
milestone: 0.3 → 0.4
Revision history for this message
Christopher Adams (christopheradams) wrote :

Here is a good trick:

Use the above select statement to call another widget:

(#(inherit:311|SELECT FLOOR(TIMESTAMPDIFF(Day,'((created_at))',NOW())) AS DiffDate)#)

And in that widget put the content as:

((DiffDate)) <php if ((DiffDate)) = 1 then day else days php> ago

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.