Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Show added/run date and connectivity on hover #133

Merged
merged 1 commit into from
Feb 4, 2025
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion server/views/search.pug
Original file line number Diff line number Diff line change
Expand Up @@ -147,8 +147,9 @@ block content
td
span.icon-text
span
- const extras = `Go to test result.\n${test.connectivity?'Connectivity:' + test.connectivity + '\n':''}Added date:${dayjs(test.added_date).format(nconf.get('dateformat'))} ${test.run_date?'\nRun date:' + dayjs(test.run_date).format(nconf.get('dateformat')):''}`
if test.result_url
a(href=test.result_url title='Go to test result.') #{test.url ? shortURL(test.url, true) : test.scripting_name}
a(href=test.result_url title=extras) #{test.url ? shortURL(test.url, true) : test.scripting_name}
else
span #{test.url ? shortURL(test.url, true) : test.scripting_name}
td
Expand Down