Skip to content

Commit

Permalink
sse: 'started by'
Browse files Browse the repository at this point in the history
  • Loading branch information
alexAubin committed Jan 18, 2025
1 parent 1c23d5d commit b1bbcd4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions app/src/components/QueryHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -41,10 +41,12 @@ const caller = computed(() => {
/>

<!-- tabindex 0 on title for focus-trap when no tabable elements -->
<strong :tabindex="type === 'overlay' ? 0 : undefined">
{{ request.title }}
<template v-if="caller">({{ caller }})</template>
</strong>
<div>
<strong :tabindex="type === 'overlay' ? 0 : undefined">
{{ request.title }}
</strong>
<span v-if="caller"> ({{ $t('history.started_by', { caller }) }})</span>
</div>

<div v-if="errors || warnings">
<span v-if="errors" class="ms-2">
Expand Down
1 change: 1 addition & 0 deletions app/src/i18n/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -402,6 +402,7 @@
"PUT": "modify"
},
"no_logs": "No available logs.",
"started_by": "started by {caller}",
"title": "History"
},
"home": "Home",
Expand Down

0 comments on commit b1bbcd4

Please sign in to comment.