##// END OF EJS Templates
ssh-keys: expose last access time on admin summary page for SSH keys.
marcink -
r2134:5a024fcf default
parent child Browse files
Show More
@@ -443,6 +443,7 b' class AdminPermissionsView(BaseAppView, '
443 "fingerprint": ssh_key.ssh_key_fingerprint,
443 "fingerprint": ssh_key.ssh_key_fingerprint,
444 "description": ssh_key.description,
444 "description": ssh_key.description,
445 "created_on": h.format_date(ssh_key.created_on),
445 "created_on": h.format_date(ssh_key.created_on),
446 "accessed_on": h.format_date(ssh_key.accessed_on),
446 "action": h.link_to(
447 "action": h.link_to(
447 _('Edit'), h.route_path('edit_user_ssh_keys',
448 _('Edit'), h.route_path('edit_user_ssh_keys',
448 user_id=ssh_key.user.user_id))
449 user_id=ssh_key.user.user_id))
@@ -49,6 +49,8 b''
49 "sort": "description"}, title: "${_('Description')}", className: "td-type" },
49 "sort": "description"}, title: "${_('Description')}", className: "td-type" },
50 { data: {"_": "created_on",
50 { data: {"_": "created_on",
51 "sort": "created_on"}, title: "${_('Created on')}", className: "td-time" },
51 "sort": "created_on"}, title: "${_('Created on')}", className: "td-time" },
52 { data: {"_": "accessed_on",
53 "sort": "accessed_on"}, title: "${_('Accessed on')}", className: "td-time" },
52 { data: {"_": "action",
54 { data: {"_": "action",
53 "sort": "action"}, title: "${_('Action')}", className: "td-action", orderable: false }
55 "sort": "action"}, title: "${_('Action')}", className: "td-action", orderable: false }
54 ],
56 ],
General Comments 0
You need to be logged in to leave comments. Login now