summaryrefslogtreecommitdiffstats
path: root/templates/shared/user
diff options
context:
space:
mode:
Diffstat (limited to 'templates/shared/user')
-rw-r--r--templates/shared/user/authorlink.tmpl3
-rw-r--r--templates/shared/user/avatarlink.tmpl3
-rw-r--r--templates/shared/user/namelink.tmpl3
3 files changed, 9 insertions, 0 deletions
diff --git a/templates/shared/user/authorlink.tmpl b/templates/shared/user/authorlink.tmpl
new file mode 100644
index 0000000000..81c2a4ed5e
--- /dev/null
+++ b/templates/shared/user/authorlink.tmpl
@@ -0,0 +1,3 @@
+<a class="author"{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>
+ {{.GetDisplayName}}
+</a>
diff --git a/templates/shared/user/avatarlink.tmpl b/templates/shared/user/avatarlink.tmpl
new file mode 100644
index 0000000000..40f5ee7129
--- /dev/null
+++ b/templates/shared/user/avatarlink.tmpl
@@ -0,0 +1,3 @@
+<a class="avatar"{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>
+ {{avatar .}}
+</a>
diff --git a/templates/shared/user/namelink.tmpl b/templates/shared/user/namelink.tmpl
new file mode 100644
index 0000000000..25dff36a78
--- /dev/null
+++ b/templates/shared/user/namelink.tmpl
@@ -0,0 +1,3 @@
+<a{{if gt .ID 0}} href="{{.HomeLink}}"{{end}}>
+ {{.GetDisplayName}}
+</a>