|
1 | | -<tr class="h-20" id="<%= dom_id(job_application) %>"> |
2 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 1 | +<tr class="h-20 border-b border-gray-200 bg-white text-sm" id="<%= dom_id(job_application) %>"> |
| 2 | + <td class="px-5 py-5"> |
3 | 3 | <%= job_application.date_applied.strftime('%m/%d/%Y') %> |
4 | 4 | </td> |
5 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 5 | + <td class="px-5 py-5"> |
6 | 6 | <%= job_application.company_name %> |
7 | 7 | </td> |
8 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 8 | + <td class="px-5 py-5"> |
9 | 9 | <%= job_application.position_title %> |
10 | 10 | </td> |
11 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
12 | | - <%= display_position_type(job_application.position_type) %> |
| 11 | + <td class="px-2 py-3 w-24"> |
| 12 | + <div class="<%= position_type_chip_classes(job_application.position_type) %>"> |
| 13 | + <%= display_position_type(job_application.position_type) %> |
| 14 | + </div> |
13 | 15 | </td> |
14 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
15 | | - <%= job_application.method_of_contact.humanize %> |
| 16 | + <td class="px-5 py-5 text-center"> |
| 17 | + <%= method_of_contact_emoji_with_tooltip(job_application.method_of_contact) %> |
16 | 18 | </td> |
17 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 19 | + <td class="px-5 py-5"> |
18 | 20 | <%= job_application.point_of_contact.present? ? job_application.point_of_contact : '-' %> |
19 | 21 | </td> |
20 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 22 | + <td class="px-5 py-5"> |
21 | 23 | <%= job_application.email_address.present? ? job_application.email_address : '-' %> |
22 | 24 | </td> |
23 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 25 | + <td class="px-5 py-5 "> |
24 | 26 | <%= job_application.claimed_for_unemployment ? '✔︎' : '-' %> |
25 | 27 | </td> |
26 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
27 | | - <%= job_application.status.humanize %> |
| 28 | + <td class="px-2 py-3 w-24"> |
| 29 | + <div class="<%= status_chip_classes(job_application.status) %>"> |
| 30 | + <%= job_application.status.humanize %> |
| 31 | + </div> |
28 | 32 | </td> |
29 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
30 | | - <%= job_application.location.humanize %> |
| 33 | + <td class="px-5 py-5 text-center"> |
| 34 | + <%= location_emoji_with_tooltip(job_application.location) %> |
31 | 35 | </td> |
32 | | - <td class="px-5 py-5 border-b border-gray-200 bg-white text-sm"> |
| 36 | + <td class="px-5 py-5 item"> |
33 | 37 | <% if job_application.website_link.present? %> |
34 | 38 | <%= link_to 'Visit', |
35 | 39 | safe_url(job_application.website_link), |
|
0 commit comments