File tree Expand file tree Collapse file tree
app/views/partners/requests Expand file tree Collapse file tree Original file line number Diff line number Diff line change 55 < thead >
66 < tr class ="border-bottom border-dark ">
77 < th scope ="col " class ="p-4 w-40 "> Request Date</ th >
8+ < th scope ="col " class ="p-4 "> Number of Items Requested</ th >
89 < th scope ="col " class ="p-4 "> Items Requested</ th >
10+ < th scope ="col " class ="p-4 "> Comment and Sender</ th >
911 </ tr >
1012 </ thead >
1113 < tbody >
2325 </ span >
2426 <% end %>
2527 </ td >
28+ < td class ="p-4 ">
29+ <% comment = partner_request . comments %>
30+ <% if comment . present? %>
31+ < div class ="mb-2 " data-bs-toggle ="tooltip " data-bs-title ="<%= comment %> ">
32+ <%= truncate ( comment , length : 20 ) %>
33+ </ div >
34+ <% end %>
35+ < a href ="mailto: <%= partner_request . requester . email %> "> <%= partner_request . requester . email %> </ a >
36+ </ td >
2637 </ tr >
2738 <% end %>
2839 </ tbody >
2940 </ table >
3041</ section >
42+
43+ < script type ="module ">
44+ $ ( document ) . ready ( function ( ) {
45+ const tooltipTriggerList = document . querySelectorAll ( '[data-bs-toggle="tooltip"]' )
46+ const tooltipList = [ ...tooltipTriggerList ] . map ( tooltipTriggerEl => new bootstrap . Tooltip ( tooltipTriggerEl ) )
47+ } )
48+ </ script >
You can’t perform that action at this time.
0 commit comments