aboutsummaryrefslogtreecommitdiff
path: root/src/components/actions/topic.svelte
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/actions/topic.svelte')
-rw-r--r--src/components/actions/topic.svelte24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/components/actions/topic.svelte b/src/components/actions/topic.svelte
new file mode 100644
index 0000000..e2f59c9
--- /dev/null
+++ b/src/components/actions/topic.svelte
@@ -0,0 +1,24 @@
+<script>
+ export let actions;
+
+ import { _ } from 'svelte-i18n';
+</script>
+
+<li>
+ <a href="/reply/{actions.id}" title={$_('header.action.reply.title')}>
+ {@html $_('header.action.reply.display')}
+ </a>
+</li>
+
+<style>
+ li {
+ display: inline;
+ margin: 5px;
+ }
+
+ a {
+ text-decoration: none;
+ line-height: 3em;
+ display: inline-block;
+ }
+</style>