aboutsummaryrefslogtreecommitdiffhomepage
path: root/templates/actor_profile_reset_avatar.php
diff options
context:
space:
mode:
Diffstat (limited to 'templates/actor_profile_reset_avatar.php')
-rw-r--r--templates/actor_profile_reset_avatar.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/actor_profile_reset_avatar.php b/templates/actor_profile_reset_avatar.php
new file mode 100644
index 0000000..86a3507
--- /dev/null
+++ b/templates/actor_profile_reset_avatar.php
@@ -0,0 +1,3 @@
+<button type="button" class="secondary inline" hx-post="/fragment/profile/resetAvatar" <?= ($reset ?? false) ? 'disabled' : '' ?>>
+ <?= __(($reset ?? false) ? 'user.profile.avatarReset' : 'user.profile.resetAvatar') ?>
+</button> \ No newline at end of file