Fossil

Check-in [2fe385e4]
Login

Many hyperlinks are disabled.
Use anonymous login to enable hyperlinks.

Overview
Comment:Prevent line breaks in the "Last Login" column of the user list.
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 2fe385e4c32d28c478eb87b902730641ff72975e05a4f1506ec990ebb31c6ba2
User & Date: drh 2017-07-01 16:41:50
Context
2017-07-01
17:23
When computing the "Last Login" on the user list page, take the RCVFROM sync log into account. check-in: 46d5d638 user: drh tags: trunk
16:41
Prevent line breaks in the "Last Login" column of the user list. check-in: 2fe385e4 user: drh tags: trunk
16:34
Add the "Last Login" column to the setup_ulist page. check-in: 5832d2fc user: drh tags: trunk
Changes
Hide Diffs Unified Diffs Ignore Whitespace Patch

Changes to src/setup.c.

239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
    @ <tr>
    @ <td><a href='setup_uedit?id=%d(uid)'>%d(uid)</a>
    @ <td data-sortkey='%h(zSortKey)'><a href='setup_uedit?id=%d(uid)'>%h(zLogin)</a>
    @ <td>%h(zCap)
    @ <td>%h(zInfo)
    @ <td>%h(zDate?zDate:"")
    @ <td>%h(zExp?zExp:"")
    @ <td data-sortkey='%f(rATime)'>%s(zAge?zAge:"")
    @ </tr>
  }
  @ </tbody></table>
  db_finalize(&s);
  output_table_sorting_javascript("userlist","nktxTTK",2);
  style_footer();
}







|







239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
    @ <tr>
    @ <td><a href='setup_uedit?id=%d(uid)'>%d(uid)</a>
    @ <td data-sortkey='%h(zSortKey)'><a href='setup_uedit?id=%d(uid)'>%h(zLogin)</a>
    @ <td>%h(zCap)
    @ <td>%h(zInfo)
    @ <td>%h(zDate?zDate:"")
    @ <td>%h(zExp?zExp:"")
    @ <td data-sortkey='%f(rATime)' style='white-space:nowrap'>%s(zAge?zAge:"")
    @ </tr>
  }
  @ </tbody></table>
  db_finalize(&s);
  output_table_sorting_javascript("userlist","nktxTTK",2);
  style_footer();
}