- commit
- 846bda4decfba492973c32834c1901c70a053b02
- parent
- a8d0f6f4c8a95d437ec47a032a99dda1aa9802ee
- author
- Dami <dami.etoile@gmail.com>
| M | web/ | 10 | +++++----- |
@@ -237,7 +237,7 @@ function siteRow(item, { onClick, from } = {}) {
237237 + (from ? ` <small>from @${esc(from)}</small>` : '');238238 239239 if (item.kind === 'link') {240- const note = item.visibility === 'public' ? '' : `${esc(item.visibility)} · `;240+ const note = item.visibility === 'public' ? '' : `${esc(item.visibility)} - `;241241 li.innerHTML =242242 `<a href="${esc(item.url)}" target="_blank" rel="ugc nofollow noopener noreferrer">${name}</a>` +243243 `<small class="state">${note}${linkHost(item)}</small>`;@@ -502,7 +502,7 @@ function resourceControl(resource) {
502502 item.innerHTML = `503503 <div>504504 <strong>${esc(resource.name)}</strong>505- <small>${esc(resource.kind)} · ${esc(resource.visibility)}</small>505+ <small>${esc(resource.kind)} - ${esc(resource.visibility)}</small>506506 </div>507507 <div class="dashboard-actions"></div>`;508508 const actions = item.querySelector('.dashboard-actions');@@ -510,7 +510,7 @@ function resourceControl(resource) {
510510 const button = document.createElement('button');511511 button.className = 'secondary outline revoke-share';512512 button.type = 'button';513- button.textContent = `Revoke @${share.handle} · ${share.status}`;513+ button.textContent = `Revoke @${share.handle} - ${share.status}`;514514 button.addEventListener('click', async () => {515515 button.setAttribute('aria-busy', 'true');516516 try {@@ -537,11 +537,11 @@ function resourceControl(resource) {
537537 538538 function incomingShareControl(share) {539539 const item = document.createElement('li');540- const destination = share.url ? ` · ${share.url}` : '';540+ const destination = share.url ? ` - ${share.url}` : '';541541 item.innerHTML = `542542 <div>543543 <strong>${esc(share.name)}</strong>544- <small>from @${esc(share.owner_handle)} · ${esc(share.kind)}${esc(destination)}</small>544+ <small>from @${esc(share.owner_handle)} - ${esc(share.kind)}${esc(destination)}</small>545545 </div>546546 <div class="dashboard-actions"></div>`;547547 const actions = item.querySelector('.dashboard-actions');