use event name to re-download iCal file instead of action button
This commit is contained in:
parent
ca14709309
commit
98ad2cf25e
|
@ -134,12 +134,12 @@
|
||||||
new Date(startTime).toLocaleString() :
|
new Date(startTime).toLocaleString() :
|
||||||
'N/A\xa0\xa0\xa0\xa0\xa0'
|
'N/A\xa0\xa0\xa0\xa0\xa0'
|
||||||
|
|
||||||
const titleCol = document.createElement('td')
|
|
||||||
titleCol.innerText = title
|
|
||||||
|
|
||||||
const downloadEl = document.createElement('a')
|
const downloadEl = document.createElement('a')
|
||||||
downloadEl.setAttribute('href', link)
|
downloadEl.setAttribute('href', link)
|
||||||
downloadEl.innerText = '⬇︎'
|
downloadEl.innerText = title
|
||||||
|
|
||||||
|
const titleCol = document.createElement('td')
|
||||||
|
titleCol.appendChild(downloadEl)
|
||||||
|
|
||||||
const deleteEl = document.createElement('a')
|
const deleteEl = document.createElement('a')
|
||||||
deleteEl.setAttribute('href', 'javascript:void(0)')
|
deleteEl.setAttribute('href', 'javascript:void(0)')
|
||||||
|
@ -152,7 +152,6 @@
|
||||||
|
|
||||||
const actionCol = document.createElement('td')
|
const actionCol = document.createElement('td')
|
||||||
actionCol.classList.add('actions')
|
actionCol.classList.add('actions')
|
||||||
actionCol.appendChild(downloadEl)
|
|
||||||
actionCol.appendChild(deleteEl)
|
actionCol.appendChild(deleteEl)
|
||||||
|
|
||||||
newRow.appendChild(startTimeCol)
|
newRow.appendChild(startTimeCol)
|
||||||
|
|
|
@ -63,7 +63,7 @@
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
<td>Date</td>
|
<td>Date</td>
|
||||||
<td>Title</td>
|
<td>Name</td>
|
||||||
<td></td>
|
<td></td>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
|
Loading…
Reference in New Issue